From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 16 Apr 2009 22:54:28 +0000 Subject: Re: [PATCH] support identification of Xen virtual block devices Message-Id: List-Id: References: <1239907047.15147.95.camel@localhost.localdomain> In-Reply-To: <1239907047.15147.95.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Apr 16, 2009 at 23:33, Ian Campbell wrote: > On Thu, 2009-04-16 at 22:17 +0200, Kay Sievers wrote: >> On Thu, Apr 16, 2009 at 20:37, Ian Campbell wrote: >> > >> > * Add xenvb_id utility to identify Xen disk and CD-ROM devices. >> >> What's the reason xen optical drives don't behave like real drives, >> and need a xen specific tool? That sounds rather odd, > > They aren't proper SCSI devices so you can't do SCSI inquiry like > cdrom_id wants, the properties you can query from a Xen vbd are very > basic, basically just TYPE=disk|cd. > > I suppose I could make the SCSI INQ stuff in cdrom_id optional, since > the CDROM_GET_CAPABILITY ioctl is implemented. Would that be preferred? Please check the stuff I put in the git tree: http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;hUd8f5e208396589476583dad8f2a7f2db3e2ef5 Kay