Please, how to make a new label for usb flashdisc? In device notifier (KDE4) is always only Volume (vfat) and it is not very comfortable for me. Thanks for suggestions.
Martin
Please, how to make a new label for usb flashdisc? In device notifier (KDE4) is always only Volume (vfat) and it is not very comfortable for me. Thanks for suggestions.
Martin
If you have vfat file system, you may use mlabel to change the volume label.
Make sure that you unmount the drive before changing the label.
Example of changing volume label of /dev/sdb1 to “MYDISK”.
sudo umount /dev/sdb1
sudo mlabel -i /dev/sdb1 ::MYDISK
If you face with any problems with the above command, first map the device to a DOS-like drive and execute mlabel on that.
Edit /etc/mtools.conf and insert the following line:
drive p: file="/dev/sdb1"
Then, execute the following:
sudo mlabel p: MYDISK