[patch] hdparm: -q not supported

Denys Vlasenko vda.linux at googlemail.com
Thu Mar 20 06:47:06 PDT 2008


On Thursday 06 March 2008 16:49, Christoph Gysin wrote:
> The -q flag is not supported by busybox, even though it is mentioned
> in the usage.
> 
> $ busybox hdparm 2>&1 | grep -- '-q\W'
> 	-q	Change next setting quietly
> 
> $ busybox hdparm -q -c1 /dev/sdb
> hdparm: invalid option -- q
> 
> /dev/sdb:
>  setting 32-bit IO_support flag to 1
> 
> I tried to write a patch, but it doesn't make much sense. Theres over
> 200 places where printf() is used throughout miscutils/hdparm.c.
> 
> The easier way is to remove the line from the usage, and me
> redirecting output to /dev/null...
> 
> Patch attached.

Applied, thanks!
--
vda


More information about the busybox mailing list