Grant Edwards wrote:
Just recently I've run in to problems because my hard drives are not
detected in a predictable order, so my fstab that mount /dev/sdb1 and
/dev/sdc1 sometimes result in directory trees in the wrong places
(/dev/sda seems consistent, but I don't know why).

What's the recommended way to fix this?


I went the LABEL direction too.  Here is a example fstab, mine actually.

LABEL=boot        /boot        ext2        defaults    1 2
LABEL=root        /        reiserfs    defaults    0 1
LABEL=swap        none        swap        sw        0 0
LABEL=var        /var        ext3        defaults    0 2
LABEL=portage        /usr/portage    ext3        defaults    0 2
LABEL=home        /home        reiserfs    defaults    0 2
LABEL=data        /data        ext4        defaults    0 2

You can set that when your put the file system on or use the file system tools to set it without formating the partition. It is usually -L <label> and whatever other options you use. Since you already have a install on there, I strongly recommend the later, otherwise you lose your data.

Hope that helps.

Dale

:-)  :-)

Reply via email to