summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/init.c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-05-13 08:34:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-05-13 08:34:50 +0000
commite79950d93af06b735b86548120dc60b2c5be6ee0 (patch)
treecd0d96ad02a9febbbf7b00071c84d89adf81fdc0 /mdk-stage1/init.c
parent29a2a329574efc2b945de3d9f2dc08803c6dafd9 (diff)
downloaddrakx-e79950d93af06b735b86548120dc60b2c5be6ee0.tar
drakx-e79950d93af06b735b86548120dc60b2c5be6ee0.tar.gz
drakx-e79950d93af06b735b86548120dc60b2c5be6ee0.tar.bz2
drakx-e79950d93af06b735b86548120dc60b2c5be6ee0.tar.xz
drakx-e79950d93af06b735b86548120dc60b2c5be6ee0.zip
instead of keeping stage1 (mostly as temporary space but with a fixed size, and for the background init),
exit the stage1 giving hand to stage2 in a tmpfs (same as what was done for Mandrakemove)
Diffstat (limited to 'mdk-stage1/init.c')
-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 1125d2113..8d9035b33 100644
--- a/mdk-stage1/init.c
+++ b/mdk-stage1/init.c
@@ -322,6 +322,7 @@ void unmount_filesystems(void)
if (!strcmp(fs[numfs].fs, "nfs"))
disallow_eject = 1;
if (strcmp(fs[numfs].name, "/")
+ && !strstr(fs[numfs].dev, "ram")
&& strcmp(fs[numfs].name, "/dev")
&& strcmp(fs[numfs].name, "/sys")
&& strncmp(fs[numfs].name, "/proc", 5))