> But, let's say I have disk 1 (id=0), disk 2 (id=1), tape drive (id=2) and disk
> 3 (id =3). Isn't disk 3 always /dev/sdc regardless if the tape drive powered
Yes, because the type is no disk. sd=Scsi Disk.
> Shouldn't the scanner device behave the same way???? :-(
/dev/sg* are sg=Scsi Generic.
All devices get one. Thus all devices are important for the order.
For disks only disks are important, for tapes only tapes, for cdrom only
cdroms, but generic counts them all.
> Maybe I'll just revert to the old ways of compiling device entries into the
How about a small script and /proc/scsi/scsi ?
-- Andreas Beck | Email : <email@example.com>
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail firstname.lastname@example.org