Corrected the check for IS_PC_SLICE_TYPE_MINIX; minix was only working
if slice type was wrong! Reported by Ralf Medow <ralf.medow@t-online.de>.
This commit is contained in:
parent
8eff936f97
commit
8fe3b6de83
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2000-12-05 Jochen Hoenicke <jochen@gnu.org>
|
||||
|
||||
* 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 <ralf.medow@t-online.de>.
|
||||
|
||||
2000-11-27 Jochen Hoenicke <jochen@gnu.org>
|
||||
|
||||
* stage2/fsys_reiserfs.c: Handle items with old version key on
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue