[SLL] /dev/sd names not in motherboard order

Bryan McLellan btm at loftninjas.org
Mon Mar 2 08:03:44 PST 2009


On Mon, Mar 2, 2009 at 7:22 AM, Mathew D. Watson
<watson at visiongate3d.com> wrote:
> I am confused by the ordering. The only correlation I found is the physical
> ordering, but that sounds dubious.  Searching the internet turned up
> /etc/udev/rules.d/*, but the rules use commands like ata_id, which seem to
> assume the /dev/sd names have already been assigned (i.e. they take a block
> device name as an argument).

This is the right place to look at. As hardware detection has become
my dynamic, it has been harder to guarantee that the order hardware is
discovered in will always be consistent. This is also one of the
reasons that Ubuntu uses UUIDs in /etc/fstab instead of block device
names.

See /etc/udev/rules.d/60-persistent-storage.rules, take a look at the
manpage for udev, then use the links in /dev/disk/* instead.


More information about the linux-list mailing list