1 #ifndef _MSDOS_FS_SB 2 #define _MSDOS_FS_SB 3 4 struct msdos_sb_info { 5 unsigned short cluster_size; /* sectors/cluster */ 6 unsigned char fats,fat_bits; /* number of FATs, FAT bits (12 or 16) */ 7 unsigned short fat_start,fat_length; /* FAT start & length (sec.) */ 8 unsigned short dir_start,dir_entries; /* root dir start & entries */ 9 unsigned short data_start; /* first data sector */ 10 unsigned long clusters; /* number of clusters */ 11 uid_t fs_uid; 12 gid_t fs_gid; 13 unsigned short fs_umask; 14 unsigned char name_check; /* r = relaxed, n = normal, s = strict */ 15 unsigned char conversion; /* b = binary, t = text, a = auto */ 16 struct wait_queue *fat_wait; 17 int fat_lock; 18 int free_clusters; /* -1 if undefined */ 19 }; 20 21 #endif