samedi 9 février 2008

Ubuntu set the label of a partition or a disk

I created a new partition with linux and wanted to give it a name, but not the one the partition get from it's mount point, the "label of the partition.

After a little googling, I found out that the "label" of a partition is part of what's called the UUID and this post (in french) explains all about it.
That's where I found the command to set the label of a partition:

sudo e2label /dev/sda5 data
and how to check the UUID:
sudo vol_id /dev/sda5

Aucun commentaire: