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 char dotsOK; 26 char showexec; /* 1 = only set x bit for com/exe/bat */ 27 char sys_immutable; /* system files are immutable */ 28 int umsdos; /* 1 if mounted by umsdos, 0 if not */ 29 30 /* vfat specific flags follow */ 31 int vfat; /* 0=no vfat long filename support, 1=vfat support */ 32 char unicode_xlate; /* create escape sequences for unhandled Unicode */ 33 char posix; /* Allow names like makefile and Makefile to coexist */ 34 char numtail; /* Does first alias have a numeric '~1' type tail? */ 35 }; 36 37 #endif