Lines Matching refs:FAT32

64  * Notes on FAT32 support
66 * The basic difference between FAT32 and FAT16 is that cluster numbers are now
75 * Most of the FAT32 changes to pcfs are under 'if it's FAT32' to minimize the
76 * effect on non-FAT32 filesystems (and still share the code), except for the
82 * 1. FAT32 partitions are indicated by partition types 0xB and 0xC.
83 * 2. The boot sector is now 2 sectors, to make room for FAT32 extensions.
91 * 5. FAT32 can use the alternate FAT. But we don't.
93 * FAT32 also exposed a latent bug: we bread() each copy of the FAT in one
94 * big chunk. This is not good on a large FAT32 drive, such as a 1 Gig
129 * FAT32 volumes have a bigger boot sector. They include the normal
218 * FAT32 extended BPB fields
266 #define VALID_FSTYPSTR32(typ) (bcmp((typ), "FAT32", 5) == 0)
285 #define BPB_ROOTENTCNT_OK (1 << 6) /* 0 on FAT32, != 0 else */
287 #define BPB_TOTSEC16_OK (1 << 8) /* 0 on FAT32, != 0 on FAT12 */
288 #define BPB_TOTSEC32_OK (1 << 9) /* 0 on FAT12, != 0 on FAT32 */
291 #define BPB_FATSZ16_OK (1 << 12) /* 0 on FAT32, != 0 else */
292 #define BPB_FATSZ32_OK (1 << 13) /* non-zero on FAT32 */
297 #define BPB_FSTYPSTR32_OK (1 << 18) /* "FAT32" */
322 * A note on FAT32: According to the FAT spec, FAT32 _must_ have a valid
323 * extended BPB and therefore, as a proof of its existance, the FAT32
328 * there that are valid FAT32 structurally but don't have a valid sig.
330 * are installed on a media with a FAT32 on it. SYSLINUX 2.x and lower
333 * All structurally relevant fields of the FAT32 BPB are within the first
346 * FAT32 BPB allows 'versioning' via FSVer32. We follow the 'NULL' spec.
352 * Filesystem summary information (introduced originally for FAT32 volumes).
363 * On-disk FSI. All values in little endian. Only FAT32 has this.
385 typedef enum { FAT12, FAT16, FAT32, FAT_UNKNOWN, FAT_QUESTIONABLE } fattype_t;
447 #define PCFS_FSINFO_OK 0x10000 /* valid FAT32 fsinfo sector */
454 #define IS_FAT32(PCFS) ((PCFS)->pcfs_fattype == FAT32)