diff --git a/ChangeLog b/ChangeLog index c45c18b8a..7690ef0cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2000-12-20 Jochen Hoenicke + + From Cedric Ware : + * stage2/fsys_ext2.c (ext2fs_mount): Detect ext2 partitions in + a OpenBSD/NetBSD FS_EXT2FS slice. + * stage2/pc_slice.h (FS_ADOS): New Macro from OpenBSD/NetBSD. + (FS_HFS): Likewise. + (FS_FILECORE): Likewise. + (FS_EXT2FS): Likewise. + 2000-12-17 Jochen Hoenicke * stage2/disk_io.c (rawread): Check if there is a EZD partition diff --git a/THANKS b/THANKS index 0c3eb45d8..d38817ee2 100644 --- a/THANKS +++ b/THANKS @@ -12,6 +12,7 @@ Andrew Clausen Bradford Hovinen Brian Brunswick Bryan Ford +Cedric Ware Chip Salzenberg Christoph Plattner Dan J. Walters @@ -24,6 +25,7 @@ Erik Schoenfelder Frank Mehnert Goran Koruga Hal Snyder +Heikki Vatiainen Heiko Schroeder Herbert Nachtnebel Hisazumi Kenji @@ -51,6 +53,7 @@ OKUJI Yoshinori Pavel Roskin Per Lundberg Peter Astrand +Ralf Medow Ramon van Handel Roderich Schupp Stefan Ondrejicka diff --git a/stage2/fsys_ext2fs.c b/stage2/fsys_ext2fs.c index 5c39532d9..d06f94128 100644 --- a/stage2/fsys_ext2fs.c +++ b/stage2/fsys_ext2fs.c @@ -257,6 +257,7 @@ ext2fs_mount (void) if ((((current_drive & 0x80) || (current_slice != 0)) && (current_slice != PC_SLICE_TYPE_EXT2FS) + && (! IS_PC_SLICE_TYPE_BSD_WITH_FS (current_slice, FS_EXT2FS)) && (! IS_PC_SLICE_TYPE_BSD_WITH_FS (current_slice, FS_OTHER))) || part_length < (SBLOCK + (sizeof (struct ext2_super_block) / DEV_BSIZE)) || !devread (SBLOCK, 0, sizeof (struct ext2_super_block), diff --git a/stage2/pc_slice.h b/stage2/pc_slice.h index e09104705..73cfb5eba 100644 --- a/stage2/pc_slice.h +++ b/stage2/pc_slice.h @@ -238,6 +238,10 @@ #define FS_HPFS 11 /* OS/2 high-performance file system */ #define FS_ISO9660 12 /* ISO 9660, normally CD-ROM */ #define FS_BOOT 13 /* partition contains bootstrap */ +#define FS_ADOS 14 /* AmigaDOS fast file system */ +#define FS_HFS 15 /* Macintosh HFS */ +#define FS_FILECORE 16 /* Acorn Filecore Filing System */ +#define FS_EXT2FS 17 /* Linux Extended 2 file system */ #endif /* _PC_SLICE_H */