chiark / gitweb /
volume_id: make FAT32 recognition more robust
authorKay Sievers <kay@pim>
Sun, 23 Oct 2005 17:15:07 +0000 (19:15 +0200)
committerKay Sievers <kay@pim>
Sun, 23 Oct 2005 17:15:07 +0000 (19:15 +0200)
commit04b222b4b0369f3f0861f3911bacc928d18c0b00
treee6d3c9638abaeaf52ebb73dcb600315525c3ad92
parent1305b47167388297b33b073989ae3b70a26ca71a
volume_id: make FAT32 recognition more robust

FAT32 volumes should never have a cluster count, that fits
into a 16 bit value, but mkdosfs can create such volumes.
No sane formatter or Windows will ever do this, but the
Linux kernel as Windows can read/write it.

Thanks to Ted Ts'o <tytso@mit.edu> for convincing me.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
extras/volume_id/volume_id/fat.c