> Sorry if I'm not up-to-date with SANE development, but we just had a very
> nasty problem in our workstation pool having to do with Linux'
> a-bit-too dynamic management of /dev/sgX.
> Is it possible to have SANE do some sanity checks before it sends out
> SCSI commands so it doesn't cause harddisks to go mad when you plug in an
> extra SCSI HD, thus shifting /dev/sgX devices. :-}
Most backends AFAIK _do_ some sanity checks before sending device specific
commands. I.e. they usually do an inquiry and check if the HW strings match
what they expect.
For additional protection, you might be able to wrap up the applications
in scripts, that do checks with /proc/scsi/scsi.
-- Andreas Beck | Email : <Andreas.Beck@ggi-project.org>
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail firstname.lastname@example.org