Package: hurd
Version: 20040508-4 UNRELEASED
Tags: sid patch

The fsck is called with options -C -R -A. But -R option is for not fsck:ing the root filesystem. The attached patch fixes this, and also correctly remounts the root filesystem.

Regards,
ogi
--- rc	2004-09-26 19:58:38.000000000 +0300
+++ /libexec/rc	2004-09-26 20:24:38.000000000 +0300
@@ -19,9 +19,12 @@
 	echo Automatic boot in progress...
 	date
 
-	# taken from Debian GNU/Linux's /etc/init.d/checkfs.sh
-	/sbin/fsck -C -R -A
+	fsysopts / --readonly
+	/sbin/fsck -C -A
+	fsysopts / --update --writable
 
+	# XXX: All these cases should be revised, as we don't use Hurd's
+	# fsck anymore, but e2fsprogs's.
 	case $? in
 	# Successful completion
 	0)
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to