Welcome
 

Making volume labels

Monday, May 12th, 2008 Comments Off

I always forget how to make a volume label. Here is a page that rounds up various methods for different filesystems:

www.debuntu.org/device-partition-labeling

The part on labeling FAT filesystems is not quite right. It works, but there is a better way. First make sure you have the debian package “mtools” installed:

To see if there is a label already there:
sudo mlabel -i /dev/device -s ::

To write a new label:
sudo mlabel -i /dev/device ::newlabel

In the place of “/dev/device” you should use something like “/dev/sdd1″.