3/03/2007

Adding new partition in /etc/fstab with UUID

If you want to add a new partition in /etc/fstab under file system you no longer have /dev/xxx but an UUID (Unique unit ID).

To find out the UUID of your partition just use the following command:
sudo vol_id -u <device>

for example, if you want to find the UUID of /dev/sda6, using the command:
sudo vol_id -u /dev/sda6

The rest is then as in the past.

I found the solution here: http://ralph.n3rds.net/index.php?/archives/175-Adding-a-new-partition-in-fstab-with-UUID.html

没有评论: