Categories
Archives
- March 2010 (1)
- January 2009 (1)
- November 2008 (4)
- October 2008 (4)
- September 2008 (1)
- August 2008 (4)
- July 2008 (4)
- June 2008 (1)
- May 2008 (1)
- April 2008 (2)
- February 2008 (2)
- January 2008 (4)
- December 2007 (1)
- September 2007 (1)
- July 2007 (4)
- June 2007 (7)
- May 2007 (5)
- April 2007 (2)
- March 2007 (1)
- January 2007 (1)
- August 2006 (5)
Tags
- accident aging amanda animals art backup bald benchmark birds bizarre blood cake caligola car clothes debian dell dof dog bite dogs filesystems fotozondagavond garden hair holiday house injury insects italy leak linux luxury metal multimedia music nature nvidia perl pets presidents privacy programming pusa running sofia sound source spelling spiders sports spring surgery suspend sysadmin test thailand unix vampires vijntje water xml youth sentiment
Links
Fatlabel - modify DOS volume labels on Linux/UNIX
June 6th, 2007
When inserting USB keys and memory cards on my Linux laptop they are automatically mounted and labeled with whatever name is on the (v)fat volume. I sometimes like to change that. Strangely enough, there is no standard utility for Linux/UNIX to change the volume name of a (v)fat partition.
Not that it’s difficult… I found a good explanation of how the (V)FAT boot sector is structured and managed to write a little perl script around it to manipulate the volume label.
Links:
- Download area, containing CPAN-ish source, Debian and RPM packages.
- Subversion repository
- Man page
Documentation is included. After installing, ”man fatlabel” should give you the dirt.
