fdisk also gives some disk id. 

You can also use boot script like this to static numerize your drives:

rm /dev/myhdd-0 /dev/myhdd-1
m=`cat /sys/block/sda/device/model`
if test "$m" = "HDD0MODEL"; then
    ln -s sda /dev/myhdd-0
    ln -s sdb /dev/myhdd-1
else
    ln -s sdb /dev/myhdd-0
    ln -s sda /dev/myhdd-1
fi

Then enter /dev/myhdd-0 /dev/myhdd-1 in your fstab.
-- 
Get literate, get enlighted - read Orwell's very exciting, interesting, 
beautiful novel "1984" and Fromm's anti-fascist book "Escape from Freedom".

Reply via email to