I am removing the attached patch from libata-dev.git, as it does not justify the maintenance burden at the present time. The reasons it sat in libata-dev rather than go upstream are discussed at the top of the patch. If anyone feels strongly about this ioctl, take it upon yourself to research the patch fully, address the concerns, and present an updated solution. The patch will be archived forever at http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/archive/2.6.12-rc5-git8-ioctl-get-identity.patch.bz2