Azitech

Azimout's Linux weblog

mount by uuid

leave a comment »

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.

Advertisements

Written by azimout

26/11/2007 at 15:34

Posted in Howto

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: