Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#32747 - [dosfstools] dosfslabel breaks on FAT32

Attached to Project: Arch Linux
Opened by Steven Noonan (neunon) - Sunday, 18 November 2012, 10:45 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 19 December 2012, 14:56 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I encountered a problem where 'dosfslabel' doesn't function correctly on FAT32 (this is after a fresh mkfs.vfat -F32 on this device):

$ sudo dosfslabel /dev/sdb1 ARCH_201211
Seek to 1240508383232:Invalid argument
$

After searching Google for a solution, I discovered that several other vendors (RedHat, Canonical) have a patch in their dosfstools trees:

https://bugs.launchpad.net/ubuntu/+source/dosfstools/+bug/794943
https://bugzilla.redhat.com/show_bug.cgi?id=693662

Can we get the patch included in the Arch dosfstools package? It resolved the issue for me:

$ sudo pacman -U dosfstools-3.0.12-2-x86_64.pkg.tar.xz
$ sudo dosfslabel /dev/sdb1 ARCH_201211
$ sudo blkid | grep sdb
/dev/sdb1: LABEL="ARCH_201211" UUID="1050-71B6" TYPE="vfat"
$

Attached is a version of the patch which applies cleanly (without fuzz) on dosfstools 3.0.12.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 19 December 2012, 14:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.0.13
Comment by Greg (dolby) - Monday, 17 December 2012, 23:29 GMT
I think this should be fixed in 3.0.13 which has been available for a while but site seems down. FWIW you can get the source from elsewhere to check, eg debian: http://ftp.de.debian.org/debian/pool/main/d/dosfstools/dosfstools_3.0.13.orig.tar.xz md5sum: c1d851e3fc065a935c7cf919545d239f

Loading...