set partition label

To set/change an ext2/3 partition’s label, type sudo e2label <device> <label>

Instead, for a vfat partition, do sudo mlabel <drive letter>:<label>

in fact, for vfat partitions, the mtools package used is kinda counter-intuitive:
you have to manually edit /etc/mtools.conf and tell it which letter to assign to which device

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*