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