Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 402245

Summary: sys-fs/dosfstools-3.0.12 dosfslabel does not work if long file names are used in partition
Product: Gentoo Linux Reporter: Sergey Gusarov <laborer2008>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED OBSOLETE    
Severity: normal CC: krinpaus
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: My fix for described problem

Description Sergey Gusarov 2012-02-05 10:16:35 UTC
Created attachment 300939 [details, diff]
My fix for described problem

I ran into a problem using dosfslabel. The applying of the new label
is broken for not fresh formatted partitions.
In this case dosfslabel creates a second file in root directory with VOLUME attribute.
In addition, the file has other attributes.
Because of this, neither Windows nor Linux does not recognize this new
file and continue to use the old one.
I researched the problem and discovered that the dosfslabel code does
not took into consideration long file name case.
Bug reproduced always with any linux distro.
Patch here.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-01-23 19:12:35 UTC
Has this been reported upstream? I don't see this in the new .14 release. :-/
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-09-28 12:16:53 UTC
seems obsolete