lkml.org 
[lkml]   [2004]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: new tool: blktool
Alan Cox wrote:
> On Sul, 2004-08-15 at 22:36, Jeff Garzik wrote:
>
>> $ hdparm -c1 /dev/hda
>> becomes
>> $ blktool /dev/hda pio-data 32-bit
>
>
> So you've replaced hdparm's weird but unixish command line with an
> even more demented non linuxish one that doesn't handle regexps for
> drive names ?
>
> Whatever happened to
>
> blktool /dev/hda --pio-data=32


Yep, it's more like ethtool(8) or cvs(1) in its syntax. There is big
difference in usability (for me anyway) between "command [options]..."
and an unordered list of --args. Especially as the list of commands
grows longer. It provides more structure.

Each command can have options, --foo-bar=baz if you like, I suppose.

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/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.059 / U:2.160 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site