Skip to Content.
Sympa Menu

baslinux - Re: [BL] More Busyboxen

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] More Busyboxen
  • Date: Tue, 20 Dec 2005 19:00:25 +0000 (UTC)

On Mon, 19 Dec 2005, David Moberg wrote:

sindi keesan wrote:

Pine won't let me view the script as text, says it is in 'SH' format.

Can you set it to treat certain file types as text?
Don't know. I could save it to home directory and read it there.


You will probably want to modify this script to put some links in
/sbin instead.

I notice some of the links to busybox programs are already in /sbin, which
is before busybox on the path. Which other ones should be moved there?

/sbin is supposed to be for anything that is useless for a normal user but
is useful for root in single user mode. This includes basic configuration
tools which are not usable by users, such as insmod, rmmod, e2fsck,
ifconfig, etc. Also, basic utilities used to go into multiuser mode, such
as init, getty.

If an applet is usable by an ordinary user, such as ping, ls, cp, etc.
and is needed in single user mode, it goes in /bin. /usr/bin and
/usr/sbin are essentially the same, but they contain programs that
are useful only after you have logged in as a user (or root).

If all of this is making your head spin, just find a copy of
busybox.links, such as this one:

http://svn.gnumonks.org/trunk/a780/src/busybox/busybox.links

It contains a list of most of the links and where they go.

Will it hurt, if I operate only as /root, to leave everything where it is?
This seems to be the setup of BL2 (/bin/busybox/busybox). I have full init in /sbin, which comes first on the path, and don't want to overwrite it with a link.

I think your script requires the full tail and expr. Have you actually run it from BL3 or BL2? I also cannot install bison.tgz with the busybox expr.


David




Archive powered by MHonArc 2.6.24.

Top of Page