mount by uuid

at my desktop at home i frequently add/remove devices. this causes the order of /dev/hdx and /dev/sdx to change, and /etc/fstab is no longer valid. to avoid having to fdisk -l and repair /etc/fstab everytime, i looked for a solution. the result is:

ls -l /dev/disk/by-uuid

and replace the devices (/etc/fstab’s 1st column) by UUID=___

Powered by ScribeFire.

~ by azimout on November 26, 2007.

Leave a Reply