From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Lord Subject: Re: new tool: blktool Date: Sun, 15 Aug 2004 19:34:18 -0400 Sender: linux-ide-owner@vger.kernel.org Message-ID: <411FF2FA.4000602@rtr.ca> References: <411FD744.2090308@pobox.com> <411FF170.9070700@rtr.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from cpu1185.adsl.bellglobal.com ([207.236.110.166]:42932 "EHLO mail.rtr.ca") by vger.kernel.org with ESMTP id S267232AbUHOXfe (ORCPT ); Sun, 15 Aug 2004 19:35:34 -0400 In-Reply-To: <411FF170.9070700@rtr.ca> List-Id: linux-ide@vger.kernel.org To: Jeff Garzik Cc: Linux Kernel , "linux-ide@vger.kernel.org" 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