From d7635f540b77d89d1e0f98b438445b60a78b38fd Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 5 Dec 2003 14:07:34 +0000 Subject: hide fail to umount /image_always and /cdrom --- mdk-stage1/init.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mdk-stage1/init.c') 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 */ } -- cgit v1.2.1