Re: Just a question...

becka@rz.uni-duesseldorf.de
Tue, 6 Oct 1998 16:50:03 +0200 (MET DST)

Hi !

> 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.

CU,ANdy

-- 
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 majordomo@mostang.com