summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */
}