summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-17 17:45:36 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-17 17:45:36 +0000
commitecbb3f3486376b5e5fe941f0d92aec19b22e8d88 (patch)
treea7af765ffbbee06fa3430df60bd829777a97c242 /daemons
parent278df35b2935ee5301f5811474ba81a94a5540c1 (diff)
autoboot: Make root readonly before fscking it.
Diffstat (limited to 'daemons')
-rw-r--r--daemons/rc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemons/rc.sh b/daemons/rc.sh
index 7ae9d7ae..d6554b46 100644
--- a/daemons/rc.sh
+++ b/daemons/rc.sh
@@ -15,6 +15,7 @@ then
dev=`echo $fsargs | sed 's/^.* \([^ ]*\)$/\1/' `
type=`echo $fsargs | sed 's/^\/hurd\/\(.*\)\.static.*$/\1/' `
+ fsysopts / -r
fsck.$type -p /dev/r$dev
case $? in