Re: Two SCSI bus question...

Matto Marjanovic (maddog@mir.com)
Wed, 10 Dec 1997 09:49:55 -0500

> > All detected devices are assigned a raw-device in the order in which they
> > are detected. Scanning the busses goes dev-id first, then bus-id.
> >
> > Thus you first get all devices on the first bus, then all on the second,
> > each in order of the SCSI IDs.
> >
> > Thus your scanner wanders whenever a device that is below it in that ordering
> > scheme is there or not.
> >

Alright, out of curiousity then:

Is there any particular reason why SCSI devices are assigned this way, rather
than having the X in /dev/sgX be a direct function of device id and bus id?
(e.g. /dev/sgA4 = device with ID=4 on the first bus)

The way it is now, suppose one of 5 scsi disks blows out when you power up,
then the rest all get their device assignments shifted and your server is
*totally* screwed...

-matt m.

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com