Config option for /proc as well as /dev/pts?

Rob Landley rob at landley.net
Thu Oct 27 04:20:42 UTC 2005


Right now we have a config option that says whether or not to use /dev/pts.  
In effect, the config option to add mtab support to mount is another way of 
saying "we haven't got /proc".

There are a number of other things that depend on proc:

find . -name "*.?" | xargs grep -l "/proc/"
./networking/libiproute/iptunnel.c
./networking/libiproute/utils.c
./networking/libiproute/iproute.c
./networking/route.c
./networking/traceroute.c
./networking/netstat.c
./networking/vconfig.c
./modutils/lsmod.c
./modutils/modprobe.c
./modutils/insmod.c
./debianutils/start_stop_daemon.c
./shell/hush.c
./shell/msh.c
./shell/ash.c
./libbb/interface.c
./libbb/procps.c
./libbb/mtab_file.c
./libbb/mtab.c
./e2fsprogs/blkid/blkidP.h
./e2fsprogs/blkid/devname.c
./e2fsprogs/ext2fs/ismounted.c
./e2fsprogs/e2fsck.c
./e2fsprogs/fsck.c
./miscutils/hdparm.c
./miscutils/devfsd.c
./include/usage.h
./procps/sysctl.c
./procps/top.c
./applets/busybox.c
./util-linux/fdisk.c
./util-linux/mount.c
./util-linux/readprofile.c

Should we have a big "there is no spoon" config option for /proc, and then go 
through those and either #ifdef out chunks or make the applet have a config 
dependency on !CONFIG_NO_PROC?

Sound like an idea for the TODO list?

Rob



More information about the busybox mailing list