Just to confirm -- Alan is right here. The usb-storage driver is
implemented (from the point of view of the SCSI system) as a virtual Host
Bus Adapter. The SCSI midlayers take care of all the devfs interaction.
Matt Dharm
On Sat, 6 May 2000, Alan Cox wrote:
> > I was reading it yesterday. devfs has separate
> > directories for cdrom, tape, disc, cd-rw (?),
> > toaster, floppy, etc. But the non-USB drivers are
> > only for specific devices, so they know what
> > media type they are talking to and can create
> > devfs-compartments for them easily.
>
> Yes. This isnt going to be right for all devices anyway.
>
> > Where does a CD-RW device fit into this?
> > And can usb-storage work in this devfs scenario?
>
> Assuming the USB scsi subset stuff includes the conventional scsi inquiry
> stuff then the return block from an inquiry has a type in bits 0-31 of
> byte 0 of the return.
>
> They dont totally define it but help a lot and I assume its how scsi devs
> is hacked together
>
> 0 - direct access (read disk)
> 1 - sequential access (read tape)
> 2 - printer
> 3 - processor (crypto etc)
> 4 - worm
> 5 - cdrom
> 6 - scanner
> 7 - optical device (Magneto Opticals and stuff)
> 8 - medium changer (multi-cd etc)
> 9 - communications
> 13 - enclosure
>
>
> Alan
>
--
Matthew Dharm Home: [EMAIL PROTECTED]
Senior Engineer, QCP Inc. Work: [EMAIL PROTECTED]
What, are you one of those Microsoft-bashing Linux freaks?
-- Customer to Greg
User Friendly, 2/10/1999
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]