Bug 54974

Summary: fsck.vfat doesn't appear to like volume labels
Product: [Retired] Red Hat Linux Reporter: Ben Levenson <benl>
Component: dosfstoolsAssignee: Matt Wilson <msw>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: low    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-10-30 04:37:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ben Levenson 2001-10-23 21:16:27 UTC
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):
dosfstools-2.7-1

How Reproducible:
100%

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 
seconds.

Comment 1 Ben Levenson 2003-10-30 04:37:53 UTC
fixed in dosfstools-2.8-1 (ftp.redhat.com:/pub/redhat/linux/7.3)