Re: new tool: blktool

From: Mark Lord
Date: Sun Aug 15 2004 - 18:36:36 EST


Supplementary or Alternatively, all of the ATA device commands issued by hdparm
can be supported in a driver by simply implementing the HDIO_DRIVE_CMD
ioctl -- This is only a few lines of code in a typical SATA/SCSI driver,
and I could easily supply a patch to implement it in libata.

Sure it's old, looks clunky, but it is simple code that works
and is used by many more tools than just hdparm today.

Cheers
--
Mark Lord
(hdparm keeper & the original "Linux IDE Guy")

Mark Lord wrote:
hdparm works for some SCSI devices already, and support for
more is already on the way. I imagine I can have it handle
whatever new ioctls() are being provided from libata as well.

Care to point me at them?

Thanks

-
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/