Description of Problem: It is possible to have a the filesystem type of a diskette be detected as vfat when the last filesystem put on the diskette was ext2. Version-Release number of selected component (if applicable): mount-2.11n-12.7.3, kernel-2.4.18-5 How Reproducible: every time. Steps to Reproduce: 1. mformat a: 2. mke2fs /dev/fd0 3. mount /mnt/floppy Actual Results: floppy mounted as vfat. Expected Results: floppy mounted as ext2. Additional Information:
The problem is that e2fsprogs doesn't zero out the first block of the device in mke2fs, leaving the FAT info there, and mount happens to check for FAT before ext2. It seems that the right place to fix it is in e2fsprogs, because leaving the magic stuff there can cause problems for other filesystems as well.
I think this block is kept as it on purpose to leave bootup support in place. greetings, Florian La Roche