[BusyBox] hdparm cmdline parsing

XuNiL xunil at mail2me.com
Thu Mar 18 23:22:32 UTC 2004


Package: busybox
 Version: 1.00 pre8

  When I execute busybox 'hdparm' with certain options it produces 
unexpected results.
 With hdparm version 5.5 I get the following:

 # hdparm -B 128 /dev/hda

 /dev/hda:
 setting Advanced Power Management level to 0x80 (128)

 OR

 # hdparm -B128 /dev/hda

 /dev/hda:
 setting Advanced Power Management level to 0x80 (128)

 But when I use busybox hdparm I get this instead:

 # busybox hdparm -B 128 /dev/hda
 hdparm: 128: No such file or directory

 OR

 # busybox hdparm -B128 /dev/hda

 /dev/hda:
 setting APM level to 0x08 (8)

  I am using Gentoo x86, XFS kernel version 2.4.24 with GNU libc6 2.3.2 
and gcc 3.3.2 merged from portage. Thanks for a wonderful program!

 - XuNiL

----------------------------------------------
Mailblocks - A Better Way to Do Email
http://about.mailblocks.com/info




More information about the busybox mailing list