Hide Forgot
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative.
It seems to be broken for a while on FAT32. Cloned to all Fedoras and sent patch upstream. Reproducer: # dd if=/dev/zero of=/tmp/img bs=512 count=200k # mkdosfs -F 32 /tmp/img # dosfslabel /tmp/img test
Created attachment 489943 [details] Proposed patch
Bugfix was verified on dosfstools-3.0.9-4.el6 package on all supported architectures. dosfslabel is able to label dos filesystem.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The dosfslabel utility displayed an error message when labeling the FAT32 file system due to some of its internal structures being initialized incorrectly. The dosfslabel utility now reads the FAT file system first, which fixes the problem.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1552.html