[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110201175608.GA28913@infradead.org>
Date: Tue, 1 Feb 2011 12:56:08 -0500
From: Christoph Hellwig <hch@...radead.org>
To: "Michael S. Tsirkin" <mst@...hat.com>
Cc: Christoph Hellwig <hch@...radead.org>,
Amerigo Wang <amwang@...hat.com>, linux-kernel@...r.kernel.org,
Stephen Hemminger <shemminger@...tta.com>,
Rusty Russell <rusty@...tcorp.com.au>,
Anthony Liguori <aliguori@...ibm.com>,
Jamie Lokier <jamie@...reable.org>,
Thomas Weber <swirl@....li>,
Ben Hutchings <ben@...adent.org.uk>,
David Woodhouse <David.Woodhouse@...el.com>,
Andy Fleming <afleming@...escale.com>,
"David S. Miller" <davem@...emloft.net>
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists