Re: [PATCH v7] fs: FAT: Add support for DOS 1.x formatted volumes

2014-04-21 Thread OGAWA Hirofumi
Conrad Meyer writes: > +/* > + * A deserialized copy of the on-disk structure laid out in struct > + * fat_boot_sector. > + */ > +struct fat_bios_param_block { > + u16 fat_sector_size; > + u8 fat_sec_per_clus; > + u16 fat_reserved; > + u8 fat_fats; > + u16

Re: [PATCH v7] fs: FAT: Add support for DOS 1.x formatted volumes

2014-04-21 Thread OGAWA Hirofumi
Conrad Meyer cse@gmail.com writes: +/* + * A deserialized copy of the on-disk structure laid out in struct + * fat_boot_sector. + */ +struct fat_bios_param_block { + u16 fat_sector_size; + u8 fat_sec_per_clus; + u16 fat_reserved; + u8 fat_fats; +

[PATCH v7] fs: FAT: Add support for DOS 1.x formatted volumes

2014-04-14 Thread Conrad Meyer
Add structure for parsed BPB information, struct fat_bios_param_block, and move all of the deserialization and validation logic from fat_fill_super() into fat_read_bpb(). Add a 'dos1xfloppy' mount option to infer DOS 2.x BIOS Parameter Block defaults from block device geometry for ancient

[PATCH v7] fs: FAT: Add support for DOS 1.x formatted volumes

2014-04-14 Thread Conrad Meyer
Add structure for parsed BPB information, struct fat_bios_param_block, and move all of the deserialization and validation logic from fat_fill_super() into fat_read_bpb(). Add a 'dos1xfloppy' mount option to infer DOS 2.x BIOS Parameter Block defaults from block device geometry for ancient