summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-12-05 14:07:34 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-12-05 14:07:34 +0000
commitd7635f540b77d89d1e0f98b438445b60a78b38fd (patch)
tree5673d4e17b9a96564c9ef357a698820eac05e479 /mdk-stage1
parent103bd01b806de899a006b689ae648c3b33e45649 (diff)
downloaddrakx-d7635f540b77d89d1e0f98b438445b60a78b38fd.tar
drakx-d7635f540b77d89d1e0f98b438445b60a78b38fd.tar.gz
drakx-d7635f540b77d89d1e0f98b438445b60a78b38fd.tar.bz2
drakx-d7635f540b77d89d1e0f98b438445b60a78b38fd.tar.xz
drakx-d7635f540b77d89d1e0f98b438445b60a78b38fd.zip
hide fail to umount /image_always and /cdrom
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c
index 454433179..27311c98d 100644
--- a/mdk-stage1/init.c
+++ b/mdk-stage1/init.c
@@ -344,6 +344,10 @@ void unmount_filesystems(void)
for (i = nb = 0; i < numfs; i++)
if (fs[i].mounted) {
+#ifdef MANDRAKE_MOVE
+ if (!strcmp(fs[i].name, "/cdrom") || !strcmp(fs[i].name, "/image_always"))
+ continue;
+#endif
printf("\tumount failed: %s\n", fs[i].name);
if (strcmp(fs[i].fs, "ext2") == 0) nb++; /* don't count not-ext2 umount failed */
}