4 Mar 2008 10:06
Re: no INQUIRY from userspace please
Hannes Reinecke <hare <at> suse.de>
2008-03-04 09:06:30 GMT
2008-03-04 09:06:30 GMT
Hi Doug, Douglas Gilbert wrote: > Stefan Richter wrote: >>> James Bottomley wrote: >>>> It's all very well to say this, but I think if you look at what udev >>>> does, you'll find that it uses scsi_id to send a VPD inquiry to the >>>> device so it can populate /dev/disk/by-id, so the point is already >>>> conceded >> >> PS: Alas we don't have a practicable way to know how many of the >> - doesn't work with Linux but works to some degree with Windows, >> - doesn't work with a 2.6 based Linux distro but did work with a >> 2.4 based distro >> kinds of devices are those with this INQUIRY bug or similar bugs. >> >> While non-udev distros slowly went out of fashion on the desktop, there >> was a certain frequency of reports of the latter kind of FireWire >> devices, but this was before I became aware of that kind of firmware >> bug, therefore I don't have any data whether it played a role for these >> cases. > > Just a small point here. To my knowledge all devices > that understand the SCSI command set will accept a > 36 byte INQUIRY (i.e. an INQUIRY with an "allocation length" > of 36). That is a practical consideration since they would > crash on Windows otherwise. > > Now scsi_id (and probably other programs of that ilk > (including some of mine)) get excited when they get a(Continue reading)
RSS Feed