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
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to