Messages in this thread | | | Date | Mon, 06 Jun 2005 12:24:30 -0400 | From | Jeff Garzik <> | Subject | Re: [PATCH] libata: shelved ioctl-get-identity patch |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |