> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to