Skip to content

Commit

Permalink
nrelease - USB image - use a noatime mount.
Browse files Browse the repository at this point in the history
* Mount the root for a USB disk key boot noatime to avoid unnecessary writes
  to the USB disk key.
  • Loading branch information
Matthew Dillon committed Sep 15, 2009
1 parent 63d9024 commit 787aef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nrelease/Makefile
Expand Up @@ -454,7 +454,7 @@ mkimg:
mount /dev/`cat ${ISODIR}/vn.which`s1a ${IMGMNT}
cpdup ${ISOROOT} ${IMGMNT}
@echo "STEP: fixup ${IMGMNT}/etc/fstab"
echo "/dev/${IMGUSBDEV}s1a / ufs rw 0 0" > ${IMGMNT}/etc/fstab
echo "/dev/${IMGUSBDEV}s1a / ufs rw,noatime 0 0" > ${IMGMNT}/etc/fstab
echo "proc /proc procfs rw 0 0" >> ${IMGMNT}/etc/fstab
@echo "STEP: fixup ${IMGMNT}/boot/loader.conf"
-fgrep -v kernel_options ${IMGMNT}/boot/loader.conf > ${IMGMNT}/boot/loader.conf.new
Expand Down

0 comments on commit 787aef3

Please sign in to comment.