From: gert@greenie.gold.sub.org (Gert Doering) Subject: SCSI Autodetect? Static table? (Was: ST01/02 and Syquest 5110) Date: 15 Jan 1993 14:19:51 GMT
eric@tantalus.nrl.navy.mil (Eric Youngdale) writes:
>>[Question, if static SCSI device table would be possible]
>[Eric answers, it would be possible, but you'd have to recompile the
>kernel]
Well. This is the way it works for most other 386 unixes anyway - I have
a SCO Unix machine, and when I change anything on the SCSI Bus I have to
change the Kernel configuration and relink it - nasty, but not impossible.
One could do a combination of a static table (you CAN have some not-
autodetected devices, if you want them) and the autodetect code.
BTW, there is one detail I do not like at all in the numbering of the scsi
hard disks.
Why are the SCSI disks numbered
/dev/sda* for the first disk (lowest SCSI ID)
/dev/sdb* for the second disk (second lowest SCSI ID)
/dev/sdc* ...
and so on, regardless of the exact SCSI numbers? Imagine a system with
three SCSI HDs, ID 0, 1 and 2, and HD 1 crashes. The Disk with ID 2,
former /dev/sdc, is now /dev/sdb and the result is big confusion, mis-
mounting, ...
Why not naming them /dev/sd[i]* with "i" equal to the SCSI ID of the
drive?
gert
-- Gert Doering | SubNet : gert@greenie.gold.sub.org | mailbox / uucp: Munich / FRG | InterNet: gdoering@physik.tu-muenchen.de | call (089)3243328 (089)3243228 | FidoNet : gert.doering@2:246/55.4 | login bbs / nuucp