From 8fe3b6de8398183da99a0cb87026a64c20784f7a Mon Sep 17 00:00:00 2001 From: jochen Date: Tue, 5 Dec 2000 15:02:10 +0000 Subject: [PATCH] Corrected the check for IS_PC_SLICE_TYPE_MINIX; minix was only working if slice type was wrong! Reported by Ralf Medow . --- ChangeLog | 6 ++++++ stage2/fsys_minix.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 00219587e..f9dd4562b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-12-05 Jochen Hoenicke + + * stage2/fsys_minix.c (minix_mount): Corrected the check for + IS_PC_SLICE_TYPE_MINIX; minix was only working if slice type was + wrong! Reported by Ralf Medow . + 2000-11-27 Jochen Hoenicke * stage2/fsys_reiserfs.c: Handle items with old version key on diff --git a/stage2/fsys_minix.c b/stage2/fsys_minix.c index a7a7de9e6..6b5c6cf5e 100644 --- a/stage2/fsys_minix.c +++ b/stage2/fsys_minix.c @@ -160,8 +160,8 @@ struct minix_dir_entry { int minix_mount (void) { - if (((current_drive & 0x80 || current_slice != 0)) - && IS_PC_SLICE_TYPE_MINIX (current_slice) + if (((current_drive & 0x80) || current_slice != 0) + && ! IS_PC_SLICE_TYPE_MINIX (current_slice) && ! IS_PC_SLICE_TYPE_BSD_WITH_FS (current_slice, FS_OTHER)) return 0; /* The partition is not of MINIX type */