Wednesday, October 6, 2010

Changing a Partition Label on Linux

If you need to re-label a partition, you can use the command e2label

Firstly to display the label of a partition
# e2label /dev/sda1

To change the label of a partition
# e2label /dev/sda1 data

Remember to update the partition label at /etc/fstab file

No comments: