On 1/28/2010 4:05 PM, Stephen Harris wrote:
As can be seen, different parts of detection appear to be interleaved (floppy detection message, sdb detection message - disk in a USB disk enclosure!) so I can't seem to rely on ordering of messages in dmesg to accurately determine which device has been assigned what ID.
dmesg really gets messy when you have lots of disks!
Not to mention what happens if you hot-swap them and re-connect in a different order. I've sometimes made raid-1 devices on the disks even if I don't intend to add the partner just so auto-detect will always connect them up to the right place even if some are disconnected or moved.