SCSI disk naming

Patrick St. Jean (
Wed, 9 Jul 1997 16:38:19 -0500 (CDT)

I'm sure that this has been batted around before, but I just ran into
the WORST part of it. I've got a system here with 2 scsi disks (sda and
sdb) and an IDE disk (hda). hda has the root partition on it. sda died
an undignified death earlier and was removed. Now the system is mildly
fsckd up because sdb is now sda, and the partition layout is different,
etc, etc, etc. YEEEEEEAAAARRRRGGGGHHHHH! Why is it that the disks are
named on a "first come first server" basis? I looked at the SCSI code to
see if it would be easily changable, and a couple of aspirins later am
writing this. It seems to me that it would be a Good Thing to have
something like /dev/sd0a (scsi disk, id 0, first partition). Then if a
disk gets removed for whatever reason, there are no worries.


| Patrick St. Jean                                 |
| Programmer & Systems Administrator                     +1 713-977-4177 x106 |
| Larson Software Technology                |