summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-03-04 12:55:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-03-04 12:55:42 +0000
commit4457a2607c6a9fc0a1d2935a3febee7f85e1a415 (patch)
tree4c216f26598246827353bdd4402ed7192804cdc0
parent2f7fc2eca5134161d2741dc42d192a4fdc5940d2 (diff)
downloaddrakx-4457a2607c6a9fc0a1d2935a3febee7f85e1a415.tar
drakx-4457a2607c6a9fc0a1d2935a3febee7f85e1a415.tar.gz
drakx-4457a2607c6a9fc0a1d2935a3febee7f85e1a415.tar.bz2
drakx-4457a2607c6a9fc0a1d2935a3febee7f85e1a415.tar.xz
drakx-4457a2607c6a9fc0a1d2935a3febee7f85e1a415.zip
unmounting /sys is not needed (useful to have one less line displayed after "unmounting filesystems...")
-rw-r--r--mdk-stage1/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c
index ca2ce2c81..1125d2113 100644
--- a/mdk-stage1/init.c
+++ b/mdk-stage1/init.c
@@ -323,6 +323,7 @@ void unmount_filesystems(void)
disallow_eject = 1;
if (strcmp(fs[numfs].name, "/")
&& strcmp(fs[numfs].name, "/dev")
+ && strcmp(fs[numfs].name, "/sys")
&& strncmp(fs[numfs].name, "/proc", 5))
numfs++;
}