BusyBox - ArchWiki

Jump to content

# BusyBox

From ArchWiki

Related articles

- mkinitcpio
- init

BusyBox provides many common UNIX utilities in a single small executable for embedded systems. The 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

### 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:

    /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 getty, then replace `respawn` with `askfirst`.

### mdev

See Gentoo:mdev.

### runit

See runit.

## See also

- Wikipedia:ToyBox

Category:

- Init

BusyBox
Add topic