On Wed, Dec 22, 2010 at 2:19 PM, David Henderson <[email protected]> wrote: > Denys Vlasenko wrote: > > On Tuesday 21 December 2010 21:02, David Henderson wrote: > > Is there anyway for busybox to look for proc somewhere else other than > root (e.g. /mnt/proc)? I looked through the configuration for busybox > again and the only option I can see (in 'make menuconfig') is: General > Configuration -> Path to BusyBox executable. However, this isn't for > the proc fs. Are there any patches that allow this option (or can one > be made) to be in the configuration for BusyBox? > > Are you going to patch all other programs too? > This is unrealistic. > Just mount proc on /proc. > > Shouldn't this be just as easy as defining a variable for that location (set > via the config menu) and just search and replace through the program code?
There are about two thousand instances of literal "/proc" in many different packages: http://www.google.com/codesearch?as_q=\%22%2Fproc\%22 If you want to mount proc elsewhere, you will need to patch all or them (in the packages you use). -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
