[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: location of /proc
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2010-12-25 5:27:01
Message-ID: 201012250627.01992.vda.linux () googlemail ! com
[Download RAW message or body]
On Wednesday 22 December 2010 16:42, David Henderson wrote:
> Denys Vlasenko wrote:
> > On Wed, Dec 22, 2010 at 2:19 PM, David Henderson
> > <dhenderson@digital-pipe.com> 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).
> >
> Oh I was referring the busybox only. At this point, that's all we're
> using that interacts with /proc. The other binaries don't have a need to.
I think the usefulness of such option will be too limited
and added complexity outweights the usefulness.
Why do you not mount proc on /proc?
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic