using udev to consistently name the /dev/ node for a sata drive

Tim Richardson te.richardson at gmail.com
Tue Jul 10 04:34:49 UTC 2007


I have two SATA disks in my machine. One is the boot disk which also has the
ext3 partitions. The other is my original Win XP disk.

fstab uses UUID and Feisty works fine.
But from time to time, the drive names in /dev/sd* are swapped. /dev/sda is
not always my boot disk. Sometimes it is the Win XP disk.

This causes chaos for vmware server, because I like to add my WinXP drive as
a physical drive, and vmware server lets me address drives only by the /dev/
name.

can I make a rule for udev that identifies sata disks (or scsi disks) using
UUID as the kernel name, and then making sure the /dev/ name will always be
the same?

regards

Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070710/f3d2f992/attachment.html>


More information about the ubuntu-users mailing list