[Qemu-devel] Config file support

Bernhard Fischer rep.nop at aon.at
Wed Oct 25 08:35:04 PDT 2006


On Wed, Oct 25, 2006 at 03:18:31AM +0300, Paul Sokolovsky wrote:

>  Oh, and while we still talking (and to add even more confusion),
>how'd you guys managed to kill "ps ax" to work in busybox 1.2.1? I
>really miss it here, when loading my embedded images into QEMU...

Just unset PS_FEATURE_WIDE.

In principle, i agree that we should enhance it to allow for
disregarding any non-options.

Something like
Index: libbb/getopt32.c
===================================================================
--- libbb/getopt32.c	(revision 16432)
+++ libbb/getopt32.c	(working copy)
@@ -72,6 +72,9 @@
         env -i ls -d /
         Here we want env to process just the '-i', not the '-d'.
 
+ "_"    If the first character in the applet_opts string is an underscore,
+		ignore all non-option arguments.
+
 const struct option *applet_long_options
 
         This struct allows you to define long options.  The syntax for



Alternatively you can rewrite ps to match the procps' big ps better.
I need to be able to see the full commandline if i do `ps ww´, not only
the first 25 chars of them.

HTH,


More information about the busybox mailing list