From b589b7a68a1fa27c1f0932b98f48c9076b441e55 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sun, 10 Jan 2010 20:07:51 +0100 Subject: [PATCH] nrelease: fsck the root filesystem on our USB images. / is mounted r/w for USB images, hence we need to fsck to prevent accidental foot shooting in case some doesn't shutdown cleanly. Reported-by: Emmanuel De Paepe Dragonfly-bug: --- nrelease/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/nrelease/Makefile b/nrelease/Makefile index 8ceb2d4..24819b6 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,noatime 0 0" > ${IMGMNT}/etc/fstab + echo "/dev/${IMGUSBDEV}s1a / ufs rw,noatime 0 1" > ${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 -- 1.7.7.2