[BusyBox] Config.h patches (mostly documentation oriented)
David Douthitt
ssrat at mailbag.com
Thu Aug 9 15:39:17 MDT 2001
Here's a patch to help those that are using busybox ash or NFS mount...
Note the first part; did I miss anything? It would appear that Debian
ash supports more internal programs (echo, test, getopts) than does
busybox ash. Is there a list of what these are?
I see that getopts code is still in ash.c; however, I get this:
# ./busybox ash
BusyBox v0.60.0 (2001.08.09-20:15+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
# type getopts
getopts: No such file or directory
#
-------------- next part --------------
--- busybox/Config.h Thu Aug 2 04:21:17 2001
+++ busybox2/Config.h Thu Aug 9 15:33:02 2001
@@ -156,6 +156,14 @@
//#define BB_FEATURE_SH_IS_LASH
#define BB_FEATURE_SH_IS_MSH
//
+// If you defined ash, and expect it to act like standalone ash,
+// you will need to add test and echo; getopt may help to replace
+// getopts.
+//
+//#define BB_TEST
+//#define BB_ECHO
+//#define BB_GETOPT
+//
// BusyBox will, by default, malloc space for its buffers. This costs code
// size for the call to xmalloc. You can use the following feature to have
// them put on the stack. For some very small machines with limited stack
@@ -239,6 +247,9 @@
// Enable support for mounting remote NFS volumes.
// You may need to mount with "-o nolock" if you are
// not running a local portmapper daemon...
+//
+// If you are using uClibc, be sure that you've already compiled
+// uClibc with INCLUDE_RPC=true (contained in the Config file)
//#define BB_FEATURE_NFSMOUNT
//
// Enable support forced filesystem unmounting
More information about the busybox
mailing list