[paranoia] No generic SCSI device found

Dale E Martin dmartin at cliftonlabs.com
Mon Feb 5 06:35:02 PST 2001



> If this is a concern, devfs in lk 2.4 might be considered.
> The "primary" scsi device nodes look like this:
> $ cd /dev/scsi/host3/bus0/target4/lun0/
> $ ls -l *
> brw-------    1 dougg    disk      11,   0 Dec 31  1969 cd
> crw-rw-rw-    1 root     root      21,   2 Dec 31  1969 generic
> 
> >From this we know that on scsi host number 3, bus 0,
> target 4, lun 0 there is a cdrom. Permissions can
> then be set on these primary device nodes.
> The /dev/sr0 and /dev/sg2 names are still there if the
> default configuration of the devfs daemon (devfsd) is
> used. However they are symbolic links to the "primary" 
> device nodes. Something like cdparanoia can do a
> different type of device scan now, based on a directory
> scan below /dev/scsi (or perhaps /dev/ide).

Interesting that this comes up now.  Over the weekend I wrote a patch for
cdparanoia to scan the /devfs filesystem looking for drives (it's at
"http://www.cliftonlabs.com/~dmartin/debian" - there's a diff in there
along with a Debian source and binary package.)

Anyways, I had it scanning for "generic" but you're saying it should scan
for "cd", correct?  That makes more sense now that I think about it.

Later,
        Dale

-- 
Dale E. Martin, Clifton Labs, Inc.
Senior Computer Engineer
dmartin at cliftonlabs.com
http://www.cliftonlabs.com
pgp key available

--- >8 ----
List archives:  http://www.xiph.org/archives/
Paranoia homepage: http://www.xiph.org/paranoia/
To unsubscribe from this list, send a message to 'paranoia-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Paranoia mailing list