Bug 688128

Summary: dosfslabel shows problem when try to label it Seek to 114116076544:Invalid argument
Product: Red Hat Enterprise Linux 6 Reporter: Jan Ščotka <jscotka>
Component: dosfstoolsAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: high    
Version: 6.1CC: bnater, jskarvad, rvokal
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dosfstools-3.0.9-4.el6 Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of:
: 693662 (view as bug list) Environment:
Last Closed: 2011-12-06 09:56:34 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:
Attachments:
Description Flags
Proposed patch none

Comment 2 RHEL Program Management 2011-03-16 12:48:30 UTC
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.

Comment 3 Jaroslav Škarvada 2011-04-05 09:07:20 UTC
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

Comment 4 Jaroslav Škarvada 2011-04-05 09:08:21 UTC
Created attachment 489943 [details]
Proposed patch

Comment 5 Branislav Náter 2011-07-13 08:00:53 UTC
Bugfix was verified on dosfstools-3.0.9-4.el6 package on all supported
architectures.

dosfslabel is able to label dos filesystem.

Comment 6 Eliska Slobodova 2011-07-18 14:50:25 UTC
    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.

Comment 7 errata-xmlrpc 2011-12-06 09:56:34 UTC
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