Red Hat Bugzilla – Bug 54974
fsck.vfat doesn't appear to like volume labels
Last modified: 2005-10-31 17:00:50 EST
Description of Problem:
fsck.msdos appears to hang while checking images/devices that are created
w/ the volume-name option of mkdosfs (-n).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. dd if=/dev/zero of=/tmp/dos.img count=10 bs=1M
2. /sbin/mkdosfs -n test /tmp/dos.img
3. /sbin/fsck.vfat /tmp/dos.img
4. watch the process consume 90% of your cpu resources for 5+ minutes
before killing it.
I also reproduced this behavior w/ a floppy disk on my i686 workstation.
The floppy created w/ "mkdosfs -n test /dev/fd0" never completed the
fsck, but a different floppy created w/out "-n test" fsck'd in a few
fixed in dosfstools-2.8-1 (ftp.redhat.com:/pub/redhat/linux/7.3)