Changes between Version 41 and Version 42 of FreeBSDOnEmbeddedDevice
- Timestamp:
- Feb 2, 2012, 1:48:01 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FreeBSDOnEmbeddedDevice
v41 v42 251 251 252 252 === Flash disk protection === 253 I hate the details like package management details getting lost, when using the system as a development board. Flash cards these days are cheap anyways, mine lived for 1 year after extensive use. Of course with read-only this will be _much_ longer, so we use that as default. 254 253 255 chroot# echo "update_motd=NO" >> /etc/rc.conf 254 256 chroot# echo "tmpmfs=YES" >> /etc/rc.conf 255 257 chroot# echo "varmfs=YES" >> /etc/rc.conf 256 258 257 Tip: I hate the details like package management details getting lost. Flash cards these days are cheap anyways, mine lived for 1 year after extensive use. Of course with read-only this will be _much_ longer. 258 259 260 chroot# sed '/1a/ s/rw/ro/' /etc/fstab > /etc/fstab.new; mv /etc/fstab.new /etc/fstab 259 chroot# sed -I '' '/1a/ s/rw/ro/' /etc/fstab 261 260 262 261