DOS partition layout. More...
![]() |
Data Structures | |
struct | _DOSPART |
Partition table entry. More... | |
Defines | |
#define | DOSPART_TYPEPOS 54 |
Position of the type specifier in the partition boot record. | |
#define | DOSPART_SECTORPOS 446 |
Position of the partition table in the master boot record. | |
#define | DOSPART_MAGICPOS 510 |
Position of the cookie in the boot sector. | |
Typedefs | |
typedef struct _DOSPART | DOSPART |
Partition table entry. | |
Known partition types. | |
#define | PTYPE_EMPTY 0x00 |
#define | PTYPE_FAT12 0x01 |
#define | PTYPE_FAT16 0x04 |
#define | PTYPE_DOS_EXT 0x05 |
#define | PTYPE_FAT16_BIG 0x06 |
#define | PTYPE_IFS 0x07 |
#define | PTYPE_OS2V1 0x08 |
#define | PTYPE_AIXDATA 0x09 |
#define | PTYPE_OS2BM 0x0A |
#define | PTYPE_FAT32 0x0B |
#define | PTYPE_FAT32_LBA 0x0C |
#define | PTYPE_FAT16_LBA 0x0E |
#define | PTYPE_EXT_LBA 0x0F |
#define | PTYPE_OPUS 0x10 |
#define | PTYPE_FAT12_HIDDEN 0x11 |
#define | PTYPE_OEM 0x12 |
#define | PTYPE_FAT16_HIDDEN 0x14 |
#define | PTYPE_FAT16_BIGH 0x16 |
#define | PTYPE_IFS_HIDDEN 0x17 |
#define | PTYPE_AST_SLEEP 0x18 |
#define | PTYPE_FAT32_HIDDEN 0x1B |
#define | PTYPE_FAT32_LBAH 0x1C |
#define | PTYPE_FAT16_LBAH 0x1E |
#define | PTYPE_DOS33_NEC 0x24 |
#define | PTYPE_JFS 0x35 |
#define | PTYPE_MINIX 0x41 |
#define | PTYPE_DYN 0x42 |
#define | PTYPE_UNIX_SYSV 0x63 |
#define | PTYPE_LINUX_SWAP 0x82 |
#define | PTYPE_LINUX 0x83 |
#define | PTYPE_PM_HIBERNATE 0x84 |
#define | PTYPE_LINUX_EXT 0x85 |
#define | PTYPE_FAT16_MULTI 0x86 |
#define | PTYPE_NTFS_MULTI 0x87 |
#define | PTYPE_LT_HIBERNATE 0xA0 |
#define | PTYPE_BSD 0xA5 |
#define | PTYPE_OPENBSD 0xA6 |
#define | PTYPE_MACOSX 0xA8 |
#define | PTYPE_NETBSD 0xA9 |
#define | PTYPE_MACOSX_BOOT 0xAB |
#define | PTYPE_BSD_SWAP 0xB8 |
#define | PTYPE_CPM86 0xD8 |
#define | PTYPE_DATA 0xDA |
#define | PTYPE_DRCPM 0xDB |
#define | PTYPE_OEM_DELL 0xDE |
#define | PTYPE_GPT 0xEE |
#define | PTYPE_EFI 0xEF |
#define | PTYPE_OEM_IBM 0xFE |
DOS partition layout.
#define PTYPE_EMPTY 0x00 |
Definition at line 69 of file dospart.h.
Referenced by MmCardMount(), and SpiMmcMount().
#define PTYPE_FAT12 0x01 |
Definition at line 70 of file dospart.h.
Referenced by MmCardMount(), PhatVolMount(), and SpiMmcMount().
#define PTYPE_FAT16 0x04 |
Definition at line 71 of file dospart.h.
Referenced by PhatVolMount().
#define PTYPE_FAT16_BIG 0x06 |
Definition at line 73 of file dospart.h.
Referenced by PhatVolMount().
#define PTYPE_FAT32 0x0B |
Definition at line 78 of file dospart.h.
Referenced by PhatVolMount().
#define PTYPE_FAT32_LBA 0x0C |
Definition at line 79 of file dospart.h.
Referenced by PhatVolMount().
#define PTYPE_FAT16_LBA 0x0E |
Definition at line 80 of file dospart.h.
Referenced by PhatVolMount().
#define DOSPART_TYPEPOS 54 |
Position of the type specifier in the partition boot record.
We expect the letters 'F', 'A' and 'T' at this position.
Definition at line 125 of file dospart.h.
Referenced by MmCardMount(), and SpiMmcMount().
#define DOSPART_SECTORPOS 446 |
Position of the partition table in the master boot record.
Definition at line 130 of file dospart.h.
Referenced by MmCardMount(), and SpiMmcMount().
#define DOSPART_MAGICPOS 510 |
Position of the cookie in the boot sector.
We expect the byte values 0x55 and 0xAA at this position.
Definition at line 137 of file dospart.h.
Referenced by MmCardMount(), and SpiMmcMount().