[arch-projects] [initscripts][PATCH] rc.sysinit: look for correct root fsck marker

Dave Reisner dreisner at archlinux.org
Tue Jun 12 20:07:50 EDT 2012


This has been broken since its was added back in 3dbbd1e2.

Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
oops.

 rc.sysinit |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rc.sysinit b/rc.sysinit
index 906135c..71eea91 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -26,7 +26,7 @@ mountpoint -q /dev/shm || mount /dev/shm &>/dev/null ||
 mountpoint -q /proc/sys/fs/binfmt_misc || mount /proc/sys/fs/binfmt_misc &>/dev/null ||
 	mount -t binfmt_misc binfmt /proc/sys/fs/binfmt_misc
 
-if [[ ! -e /run/initramfs/fsck-root ]]; then
+if [[ ! -e /run/initramfs/root-fsck ]]; then
 	# remount root ro to allow for fsck later on, we remount now to
 	# make sure nothing can open files rw on root which would block a remount
 	findmnt / --options ro &>/dev/null ||
-- 
1.7.10.4



More information about the arch-projects mailing list