diff options
author | Niels Provos <provos@cvs.openbsd.org> | 1998-01-11 20:42:10 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 1998-01-11 20:42:10 +0000 |
commit | db22aed106ec8d06ec690eeeb424ea356ca12c5d (patch) | |
tree | 43eb87c5174abfa98a9fdf8bfc4a586beba98adf /sys/arch/alpha | |
parent | 28d8359f8470d4f9956b9ce108964c4b005dfd35 (diff) |
disklabel spoofing for FAT32.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/disksubr.c | 3 | ||||
-rw-r--r-- | sys/arch/alpha/include/disklabel.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/alpha/alpha/disksubr.c b/sys/arch/alpha/alpha/disksubr.c index ea65784fb44..15dc951cb30 100644 --- a/sys/arch/alpha/alpha/disksubr.c +++ b/sys/arch/alpha/alpha/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.16 1997/11/09 23:10:01 niklas Exp $ */ +/* $OpenBSD: disksubr.c,v 1.17 1998/01/11 20:42:03 provos Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -441,6 +441,7 @@ donot: case DOSPTYP_FAT16S: case DOSPTYP_FAT16B: case DOSPTYP_FAT16C: + case DOSPTYP_FAT32: pp->p_fstype = FS_MSDOS; n++; break; diff --git a/sys/arch/alpha/include/disklabel.h b/sys/arch/alpha/include/disklabel.h index a17f99e175a..fc1a492db42 100644 --- a/sys/arch/alpha/include/disklabel.h +++ b/sys/arch/alpha/include/disklabel.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.h,v 1.7 1997/09/29 18:55:04 deraadt Exp $ */ +/* $OpenBSD: disklabel.h,v 1.8 1998/01/11 20:41:57 provos Exp $ */ /* $NetBSD: disklabel.h,v 1.1 1995/02/13 23:07:34 cgd Exp $ */ /* @@ -82,6 +82,7 @@ struct dos_partition { #define DOSPTYP_FAT16S 0x04 /* 16-bit FAT, less than 32M */ #define DOSPTYP_EXTEND 0x05 /* Extended; contains sub-partitions */ #define DOSPTYP_FAT16B 0x06 /* 16-bit FAT, more than 32M */ +#define DOSPTYP_FAT32 0x0b /* 32-bit FAT */ #define DOSPTYP_FAT16C 0x0e /* 16-bit FAT, CHS-mapped */ #define DOSPTYP_ONTRACK 0x54 #define DOSPTYP_LINUX 0x83 /* That other thing */ |