Changes between Version 41 and Version 42 of FreeBSDOnEmbeddedDevice


Ignore:
Timestamp:
Feb 2, 2012, 1:48:01 PM (13 years ago)
Author:
Rick van der Zwet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FreeBSDOnEmbeddedDevice

    v41 v42  
    251251
    252252=== Flash disk protection ===
     253I 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
    253255chroot# echo "update_motd=NO" >> /etc/rc.conf
    254256chroot# echo "tmpmfs=YES" >> /etc/rc.conf
    255257chroot# echo "varmfs=YES" >> /etc/rc.conf
    256258
    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
     259chroot# sed -I '' '/1a/ s/rw/ro/' /etc/fstab
    261260
    262261