From 787aef3a08603ab4f129f45293f80adb4894c51a Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Mon, 14 Sep 2009 17:57:40 -0700 Subject: [PATCH] nrelease - USB image - use a noatime mount. * Mount the root for a USB disk key boot noatime to avoid unnecessary writes to the USB disk key. --- nrelease/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nrelease/Makefile b/nrelease/Makefile index 534d19ac1e..a0ef2bbac9 100644 --- a/nrelease/Makefile +++ b/nrelease/Makefile @@ -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 -- 2.41.0