Linux and vfat: mtools

When it’s not enough to just read and write files on a VFAT file system there’s a good change mtools can help. The only problem is that mtools work with drive letters. To assign a letter to your device you need to edit /etc/mtools.conf. This is the line I use to access the VFAT partition on my USB stick:

drive d: file="/dev/sdb1"

After this I can use mlabel to set the label of the partition:

mlabel d:MyLabel
Share

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>