BusyBox - ArchWiki

# BusyBox

From ArchWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Related articles

- mkinitcpio
- init

BusyBox provides many common UNIX utilities in a single small executable for embedded systems. The community package includes runit, see runit for more information.

Note: Do not expect full drop-in replacement and compatibility. Certain utilities may not exist and for those that do, there may be missing options.

## Installation

Install the busybox package.

Busybox commands are symbolic links to `/usr/bin/busybox` and thus take very little space. This is especially interesting for low-footprint systems.

## Usage

### init

Init scripts can be used together with busybox-init, for example minirc-gitAUR. See init for details.

### getty

The gettys are defined in the file `/etc/inittab`, By default getty is started on ttys 1 through 4.

In order to enable/disable gettys, you just put this line in `/etc/inittab`.

    tty2::respawn:/sbin/agetty -8 -s 38400 tty2 linux

Just replace tty2 with the tty, you want getty to start on. If you want init to ask you before starting the gettty, then replace `respawn` with `askfirst`.

### mdev

See Gentoo:mdev.

### runit

See runit.

## See also

- Wikipedia:ToyBox

Category:

- Init