Re: Question about the installation directory of programs

2013-11-21 Thread Denys Vlasenko
On Thu, Nov 7, 2013 at 8:43 PM, Laurent Bercot wrote: > It doesn't really matter where you place your binaries. Executing a binary > should > be done with PATH search anyway, and PATH will always contain /usr/bin and > /bin at > least. If it bothers you, there's a busybox configuration option to

Re: Question about the installation directory of programs

2013-11-12 Thread Laurent Bercot
Install busybox at /bin and /sbin, and install all applets (either symlinks or hardlinks) in those dirs. Create /usr mountpoint. Make /usr/bin symlink to ../bin Make /usr/sbin symlink to ../sbin In your "usr" partition which gets mounted at /usr, make symlinks for each busybox applet to ../../

Re: Question about the installation directory of programs

2013-11-12 Thread Michael Conrad
On 11/8/2013 9:57 PM, ChenQi wrote: I'm asking this because our project may also need a separation of / and /usr. In other words, we need to make sure the system can still boot up for recovery and repair even if /usr is missing. As busybox is an important part of our system, I want to know you

Re: Question about the installation directory of programs

2013-11-08 Thread Tito
On Saturday 09 November 2013 03:57:00 ChenQi wrote: > On 11/08/2013 04:13 AM, Joshua Judson Rosen wrote: > > On 2013-11-07 01:56, ChenQi wrote: > >> Hi all, > >> > >> Forgive me if this is a dummy question. > >> I see the installation directories of programs are controlled by the > >> applets.src.h

Re: Question about the installation directory of programs

2013-11-08 Thread ChenQi
On 11/08/2013 04:13 AM, Joshua Judson Rosen wrote: On 2013-11-07 01:56, ChenQi wrote: Hi all, Forgive me if this is a dummy question. I see the installation directories of programs are controlled by the applets.src.h file. Some of them are installed into /usr while some of them are not. Is ther

Re: Question about the installation directory of programs

2013-11-07 Thread John Spencer
Laurent Bercot wrote: Nowadays, the only systems that actually make a real distinction between / and /usr are, ironically, the BSDs, where /bin binaries are statically linked to provide a failsafe recovery system. GNU certainly can't do that. Alternative libc Linux users could, but AFAIK nobo

Re: Question about the installation directory of programs

2013-11-07 Thread Joshua Judson Rosen
On 2013-11-07 01:56, ChenQi wrote: Hi all, Forgive me if this is a dummy question. I see the installation directories of programs are controlled by the applets.src.h file. Some of them are installed into /usr while some of them are not. Is there a criteria to determine whether a program goes int

Re: Question about the installation directory of programs

2013-11-07 Thread Laurent Bercot
Yeah. That's why I'm somewhat confused, as busybox is installing more programs into /bin and /sbin directories than what are specified in FHS. Take /bin as an example, the FHS only specifies a few commands to be there. http://www.pathname.com/fhs/pub/fhs-2.3.html#BINESSENTIALUSERCOMMANDBINARIE

Re: Question about the installation directory of programs

2013-11-07 Thread ChenQi
On 11/07/2013 08:56 PM, Tito wrote: Hi, see http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard Ciao, Tito Yeah. That's why I'm somewhat confused, as busybox is installing more programs into /bin and /sbin directories than what are specified in FHS. Take /bin as an example, the FHS

Re: Question about the installation directory of programs

2013-11-07 Thread Tito
Hi, see http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard Ciao, Tito On Thursday 07 November 2013 07:56:01 ChenQi wrote: > Hi all, > > Forgive me if this is a dummy question. > I see the installation directories of programs are controlled by the > applets.src.h file. > Some of them ar

Question about the installation directory of programs

2013-11-06 Thread ChenQi
Hi all, Forgive me if this is a dummy question. I see the installation directories of programs are controlled by the applets.src.h file. Some of them are installed into /usr while some of them are not. Is there a criteria to determine whether a program goes into /usr or not. For example, why is