Messages in this thread | | | Date | Tue, 1 Feb 2011 12:56:08 -0500 | From | Christoph Hellwig <> | Subject | Re: [RFC Patch] virtio: export model and type in /sys |
| |
On Tue, Feb 01, 2011 at 07:46:07PM +0200, Michael S. Tsirkin wrote: > ide seems to export these too. > > $ cat /sys/class/block/sr0/device/model > DVDRAM GSA-U20N > > and I am pretty sure my dvd isn't scsi ...
And I'm pretty sure it is, not just in one but two different ways. For one all ATA attached CDROMS are ATAPI, which just means a SCSI command set (MMC in this case) tunneled over an ATA transport. Second libata always is a scsi low level driver, even when talking to ATA disk, it just responds to the SCSI commands by translating them to equivalent ATA commands or faking them up.
| |