Re: [PATCH] libata: shelved ioctl-get-identity patch
From: Jeff Garzik
Date: Mon Jun 06 2005 - 11:26:58 EST
Mark Lord wrote:
For now, "hdparm -I" works just fine using HDIO_DRIVE_CMD,
but if somebody could show me how to use ATA PASSTHRU,
then I'll port it over to that.
Use the SG_IO ioctl to send ATA passthru CDBs. Passthru CDBs are
defined in the T10 "SAT" specification.
blktool should have example code ;-)
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/