bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug#273508: Fix for invocation of e2fsprogs's fsck


From: Ognyan Kulev
Subject: Bug#273508: Fix for invocation of e2fsprogs's fsck
Date: Sun, 26 Sep 2004 20:59:38 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040918 Thunderbird/0.8 Mnenhy/0.6.0.104

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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]