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 system | Assignee: | 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 |
Has this been reported upstream? I don't see this in the new .14 release. :-/ seems obsolete |
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.