lkml.org 
[lkml]   [2011]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.



\
 
 \ /
  Last update: 2011-02-01 18:59    [W:0.127 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site