From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267232AbUHOXfh (ORCPT ); Sun, 15 Aug 2004 19:35:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267249AbUHOXfh (ORCPT ); Sun, 15 Aug 2004 19:35:37 -0400 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 Message-ID: <411FF2FA.4000602@rtr.ca> Date: Sun, 15 Aug 2004 19:34:18 -0400 From: Mark Lord User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en, en-us MIME-Version: 1.0 To: Jeff Garzik Cc: Linux Kernel , "linux-ide@vger.kernel.org" Subject: Re: new tool: blktool References: <411FD744.2090308@pobox.com> <411FF170.9070700@rtr.ca> In-Reply-To: <411FF170.9070700@rtr.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@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