956 lines
34 KiB
Plaintext
Raw Normal View History

2017-09-06 19:19:45 +08:00
# DO NOT EDIT. This file is generated from Config.src
#
# For a description of the syntax of this configuration file,
2020-07-02 23:30:56 +08:00
# see docs/Kconfig-language.txt.
2017-09-06 19:19:45 +08:00
#
menu "Linux System Utilities"
config BUSYBOX_CONFIG_ACPID
2020-07-02 23:30:56 +08:00
bool "acpid (9 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_ACPID
help
2020-07-02 23:30:56 +08:00
acpid listens to ACPI events coming either in textual form from
/proc/acpi/event (though it is marked deprecated it is still widely
used and _is_ a standard) or in binary form from specified evdevs
(just use /dev/input/event*).
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
It parses the event to retrieve ACTION and a possible PARAMETER.
It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts
(if the resulting path is a directory) or directly as an executable.
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
N.B. acpid relies on run-parts so have the latter installed.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_ACPID_COMPAT
bool "Accept and ignore redundant options"
default BUSYBOX_DEFAULT_FEATURE_ACPID_COMPAT
depends on BUSYBOX_CONFIG_ACPID
help
2020-07-02 23:30:56 +08:00
Accept and ignore compatibility options -g -m -s -S -v.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_BLKDISCARD
2020-07-02 23:30:56 +08:00
bool "blkdiscard (4.3 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_BLKDISCARD
help
2020-07-02 23:30:56 +08:00
blkdiscard discards sectors on a given device.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_BLKID
2020-07-02 23:30:56 +08:00
bool "blkid (12 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_BLKID
select BUSYBOX_CONFIG_VOLUMEID
help
2020-07-02 23:30:56 +08:00
Lists labels and UUIDs of all filesystems.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_BLKID_TYPE
bool "Print filesystem type"
default BUSYBOX_DEFAULT_FEATURE_BLKID_TYPE
depends on BUSYBOX_CONFIG_BLKID
help
2020-07-02 23:30:56 +08:00
Show TYPE="filesystem type"
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_BLOCKDEV
2020-07-02 23:30:56 +08:00
bool "blockdev (2.3 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_BLOCKDEV
help
2020-07-02 23:30:56 +08:00
Performs some ioctls with block devices.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_CAL
2020-07-02 23:30:56 +08:00
bool "cal (5.8 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_CAL
help
2020-07-02 23:30:56 +08:00
cal is used to display a monthly calendar.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_CHRT
2020-07-02 23:30:56 +08:00
bool "chrt (4.7 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_CHRT
help
2020-07-02 23:30:56 +08:00
Manipulate real-time attributes of a process.
This requires sched_{g,s}etparam support in your libc.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_DMESG
2020-07-02 23:30:56 +08:00
bool "dmesg (3.7 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_DMESG
help
2020-07-02 23:30:56 +08:00
dmesg is used to examine or control the kernel ring buffer. When the
Linux kernel prints messages to the system log, they are stored in
the kernel ring buffer. You can use dmesg to print the kernel's ring
buffer, clear the kernel ring buffer, change the size of the kernel
ring buffer, and change the priority level at which kernel messages
are also logged to the system console. Enable this option if you
wish to enable the 'dmesg' utility.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_DMESG_PRETTY
bool "Pretty output"
default BUSYBOX_DEFAULT_FEATURE_DMESG_PRETTY
depends on BUSYBOX_CONFIG_DMESG
help
2020-07-02 23:30:56 +08:00
If you wish to scrub the syslog level from the output, say 'Y' here.
The syslog level is a string prefixed to every line with the form
"<#>".
With this option you will see:
# dmesg
Linux version 2.6.17.4 .....
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
Without this option you will see:
# dmesg
<5>Linux version 2.6.17.4 .....
<6>BIOS-provided physical RAM map:
<6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_EJECT
2020-07-02 23:30:56 +08:00
bool "eject (4 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_EJECT
help
2020-07-02 23:30:56 +08:00
Used to eject cdroms. (defaults to /dev/cdrom)
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_EJECT_SCSI
bool "SCSI support"
default BUSYBOX_DEFAULT_FEATURE_EJECT_SCSI
depends on BUSYBOX_CONFIG_EJECT
help
2020-07-02 23:30:56 +08:00
Add the -s option to eject, this allows to eject SCSI-Devices and
usb-storage devices.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FALLOCATE
2020-07-02 23:30:56 +08:00
bool "fallocate (4.1 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FALLOCATE
help
2020-07-02 23:30:56 +08:00
Preallocate space for files.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FATATTR
2020-07-02 23:30:56 +08:00
bool "fatattr (1.9 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FATATTR
help
2020-07-02 23:30:56 +08:00
fatattr lists or changes the file attributes on a fat file system.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FBSET
2020-07-02 23:30:56 +08:00
bool "fbset (5.9 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FBSET
help
2020-07-02 23:30:56 +08:00
fbset is used to show or change the settings of a Linux frame buffer
device. The frame buffer device provides a simple and unique
interface to access a graphics display. Enable this option
if you wish to enable the 'fbset' utility.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_FBSET_FANCY
bool "Enable extra options"
default BUSYBOX_DEFAULT_FEATURE_FBSET_FANCY
depends on BUSYBOX_CONFIG_FBSET
help
2020-07-02 23:30:56 +08:00
This option enables extended fbset options, allowing one to set the
framebuffer size, color depth, etc. interface to access a graphics
display. Enable this option if you wish to enable extended fbset
options.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_FBSET_READMODE
bool "Enable readmode support"
default BUSYBOX_DEFAULT_FEATURE_FBSET_READMODE
depends on BUSYBOX_CONFIG_FBSET
help
2020-07-02 23:30:56 +08:00
This option allows fbset to read the video mode database stored by
default BUSYBOX_DEFAULT_FEATURE_FBSET_READMODE /etc/fb.modes, which can be used to set frame buffer
device to pre-defined video modes.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FDFORMAT
2020-07-02 23:30:56 +08:00
bool "fdformat (4.4 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FDFORMAT
help
2020-07-02 23:30:56 +08:00
fdformat is used to low-level format a floppy disk.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FDISK
2020-07-02 23:30:56 +08:00
bool "fdisk (37 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FDISK
help
2020-07-02 23:30:56 +08:00
The fdisk utility is used to divide hard disks into one or more
logical disks, which are generally called partitions. This utility
can be used to list and edit the set of partitions or BSD style
'disk slices' that are defined on a hard drive.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FDISK_SUPPORT_LARGE_DISKS
bool "Support over 4GB disks"
default BUSYBOX_DEFAULT_FDISK_SUPPORT_LARGE_DISKS
depends on BUSYBOX_CONFIG_FDISK
depends on !BUSYBOX_CONFIG_LFS # with LFS no special code is needed
config BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
bool "Write support"
default BUSYBOX_DEFAULT_FEATURE_FDISK_WRITABLE
depends on BUSYBOX_CONFIG_FDISK
help
2020-07-02 23:30:56 +08:00
Enabling this option allows you to create or change a partition table
and write those changes out to disk. If you leave this option
disabled, you will only be able to view the partition table.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_AIX_LABEL
bool "Support AIX disklabels"
default BUSYBOX_DEFAULT_FEATURE_AIX_LABEL
depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
help
2020-07-02 23:30:56 +08:00
Enabling this option allows you to create or change AIX disklabels.
Most people can safely leave this option disabled.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_SGI_LABEL
bool "Support SGI disklabels"
default BUSYBOX_DEFAULT_FEATURE_SGI_LABEL
depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
help
2020-07-02 23:30:56 +08:00
Enabling this option allows you to create or change SGI disklabels.
Most people can safely leave this option disabled.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_SUN_LABEL
bool "Support SUN disklabels"
default BUSYBOX_DEFAULT_FEATURE_SUN_LABEL
depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
help
2020-07-02 23:30:56 +08:00
Enabling this option allows you to create or change SUN disklabels.
Most people can safely leave this option disabled.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_OSF_LABEL
bool "Support BSD disklabels"
default BUSYBOX_DEFAULT_FEATURE_OSF_LABEL
depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
help
2020-07-02 23:30:56 +08:00
Enabling this option allows you to create or change BSD disklabels
and define and edit BSD disk slices.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_GPT_LABEL
bool "Support GPT disklabels"
default BUSYBOX_DEFAULT_FEATURE_GPT_LABEL
depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
help
2020-07-02 23:30:56 +08:00
Enabling this option allows you to view GUID Partition Table
disklabels.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_FDISK_ADVANCED
bool "Support expert mode"
default BUSYBOX_DEFAULT_FEATURE_FDISK_ADVANCED
depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
help
2020-07-02 23:30:56 +08:00
Enabling this option allows you to do terribly unsafe things like
define arbitrary drive geometry, move the beginning of data in a
partition, and similarly evil things. Unless you have a very good
reason you would be wise to leave this disabled.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FINDFS
2020-07-02 23:30:56 +08:00
bool "findfs (12 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FINDFS
select BUSYBOX_CONFIG_VOLUMEID
help
2020-07-02 23:30:56 +08:00
Prints the name of a filesystem with given label or UUID.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FLOCK
2020-07-02 23:30:56 +08:00
bool "flock (6.3 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FLOCK
help
2020-07-02 23:30:56 +08:00
Manage locks from shell scripts
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FDFLUSH
2020-07-02 23:30:56 +08:00
bool "fdflush (1.3 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FDFLUSH
help
2020-07-02 23:30:56 +08:00
fdflush is only needed when changing media on slightly-broken
removable media drives. It is used to make Linux believe that a
hardware disk-change switch has been actuated, which causes Linux to
forget anything it has cached from the previous media. If you have
such a slightly-broken drive, you will need to run fdflush every time
you change a disk. Most people have working hardware and can safely
leave this disabled.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FREERAMDISK
2020-07-02 23:30:56 +08:00
bool "freeramdisk (1.3 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FREERAMDISK
help
2020-07-02 23:30:56 +08:00
Linux allows you to create ramdisks. This utility allows you to
delete them and completely free all memory that was used for the
ramdisk. For example, if you boot Linux into a ramdisk and later
pivot_root, you may want to free the memory that is allocated to the
ramdisk. If you have no use for freeing memory from a ramdisk, leave
this disabled.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FSCK_MINIX
2020-07-02 23:30:56 +08:00
bool "fsck.minix (13 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FSCK_MINIX
help
2020-07-02 23:30:56 +08:00
The minix filesystem is a nice, small, compact, read-write filesystem
with little overhead. It is not a journaling filesystem however and
can experience corruption if it is not properly unmounted or if the
power goes off in the middle of a write. This utility allows you to
check for and attempt to repair any corruption that occurs to a minix
filesystem.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FSFREEZE
2020-07-02 23:30:56 +08:00
bool "fsfreeze (3.5 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FSFREEZE
select BUSYBOX_CONFIG_LONG_OPTS
help
2020-07-02 23:30:56 +08:00
Halt new accesses and flush writes on a mounted filesystem.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FSTRIM
2020-07-02 23:30:56 +08:00
bool "fstrim (4.4 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FSTRIM
help
2020-07-02 23:30:56 +08:00
Discard unused blocks on a mounted filesystem.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_GETOPT
2020-07-02 23:30:56 +08:00
bool "getopt (5.8 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_GETOPT
help
2020-07-02 23:30:56 +08:00
The getopt utility is used to break up (parse) options in command
lines to make it easy to write complex shell scripts that also check
for legal (and illegal) options. If you want to write horribly
complex shell scripts, or use some horribly complex shell script
written by others, this utility may be for you. Most people will
wisely leave this disabled.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_GETOPT_LONG
2020-07-02 23:30:56 +08:00
bool "Support -l LONGOPTs"
default BUSYBOX_DEFAULT_FEATURE_GETOPT_LONG
depends on BUSYBOX_CONFIG_GETOPT && BUSYBOX_CONFIG_LONG_OPTS
2017-09-06 19:19:45 +08:00
help
2020-07-02 23:30:56 +08:00
Enable support for long options (option -l).
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_HEXDUMP
2020-07-02 23:30:56 +08:00
bool "hexdump (8.6 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_HEXDUMP
help
2020-07-02 23:30:56 +08:00
The hexdump utility is used to display binary data in a readable
way that is comparable to the output from most hex editors.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_HD
2020-07-02 23:30:56 +08:00
bool "hd (7.8 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_HD
help
2020-07-02 23:30:56 +08:00
hd is an alias to hexdump -C.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_XXD
2020-07-02 23:30:56 +08:00
bool "xxd (8.9 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_XXD
help
2020-07-02 23:30:56 +08:00
The xxd utility is used to display binary data in a readable
way that is comparable to the output from most hex editors.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_HWCLOCK
2020-07-02 23:30:56 +08:00
bool "hwclock (5.8 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_HWCLOCK
help
2020-07-02 23:30:56 +08:00
The hwclock utility is used to read and set the hardware clock
on a system. This is primarily used to set the current time on
shutdown in the hardware clock, so the hardware will keep the
correct time when Linux is _not_ running.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS
bool "Use FHS /var/lib/hwclock/adjtime"
default BUSYBOX_DEFAULT_FEATURE_HWCLOCK_ADJTIME_FHS # util-linux-ng in Fedora 13 still uses /etc/adjtime
depends on BUSYBOX_CONFIG_HWCLOCK
help
2020-07-02 23:30:56 +08:00
Starting with FHS 2.3, the adjtime state file is supposed to exist
at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
to use the FHS behavior, answer Y here, otherwise answer N for the
classic /etc/adjtime path.
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_IONICE
2020-07-02 23:30:56 +08:00
bool "ionice (3.8 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_IONICE
help
2020-07-02 23:30:56 +08:00
Set/set program io scheduling class and priority
Requires kernel >= 2.6.13
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_IPCRM
2020-07-02 23:30:56 +08:00
bool "ipcrm (3.2 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_IPCRM
help
2020-07-02 23:30:56 +08:00
The ipcrm utility allows the removal of System V interprocess
communication (IPC) objects and the associated data structures
from the system.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_IPCS
2020-07-02 23:30:56 +08:00
bool "ipcs (11 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_IPCS
help
2020-07-02 23:30:56 +08:00
The ipcs utility is used to provide information on the currently
allocated System V interprocess (IPC) objects in the system.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_LAST
2020-07-02 23:30:56 +08:00
bool "last (6.1 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_LAST
depends on BUSYBOX_CONFIG_FEATURE_WTMP
help
2020-07-02 23:30:56 +08:00
'last' displays a list of the last users that logged into the system.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_LAST_FANCY
bool "Output extra information"
default BUSYBOX_DEFAULT_FEATURE_LAST_FANCY
depends on BUSYBOX_CONFIG_LAST
help
2020-07-02 23:30:56 +08:00
'last' displays detailed information about the last users that
logged into the system (mimics sysvinit last). +900 bytes.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_LOSETUP
2020-07-02 23:30:56 +08:00
bool "losetup (5.5 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_LOSETUP
help
2020-07-02 23:30:56 +08:00
losetup is used to associate or detach a loop device with a regular
file or block device, and to query the status of a loop device. This
version does not currently support enabling data encryption.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_LSPCI
2020-07-02 23:30:56 +08:00
bool "lspci (6.3 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_LSPCI
help
2020-07-02 23:30:56 +08:00
lspci is a utility for displaying information about PCI buses in the
system and devices connected to them.
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
This version uses sysfs (/sys/bus/pci/devices) only.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_LSUSB
2020-07-02 23:30:56 +08:00
bool "lsusb (4.2 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_LSUSB
help
2020-07-02 23:30:56 +08:00
lsusb is a utility for displaying information about USB buses in the
system and devices connected to them.
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
This version uses sysfs (/sys/bus/usb/devices) only.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_MDEV
2020-07-02 23:30:56 +08:00
bool "mdev (17 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_MDEV
help
2020-07-02 23:30:56 +08:00
mdev is a mini-udev implementation for dynamically creating device
nodes in the /dev directory.
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
For more information, please see docs/mdev.txt
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MDEV_CONF
bool "Support /etc/mdev.conf"
default BUSYBOX_DEFAULT_FEATURE_MDEV_CONF
depends on BUSYBOX_CONFIG_MDEV
help
2020-07-02 23:30:56 +08:00
Add support for the mdev config file to control ownership and
permissions of the device nodes.
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
For more information, please see docs/mdev.txt
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MDEV_RENAME
bool "Support subdirs/symlinks"
default BUSYBOX_DEFAULT_FEATURE_MDEV_RENAME
depends on BUSYBOX_CONFIG_FEATURE_MDEV_CONF
help
2020-07-02 23:30:56 +08:00
Add support for renaming devices and creating symlinks.
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
For more information, please see docs/mdev.txt
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MDEV_RENAME_REGEXP
bool "Support regular expressions substitutions when renaming device"
default BUSYBOX_DEFAULT_FEATURE_MDEV_RENAME_REGEXP
depends on BUSYBOX_CONFIG_FEATURE_MDEV_RENAME
help
2020-07-02 23:30:56 +08:00
Add support for regular expressions substitutions when renaming
device.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MDEV_EXEC
bool "Support command execution at device addition/removal"
default BUSYBOX_DEFAULT_FEATURE_MDEV_EXEC
depends on BUSYBOX_CONFIG_FEATURE_MDEV_CONF
help
2020-07-02 23:30:56 +08:00
This adds support for an optional field to /etc/mdev.conf for
executing commands when devices are created/removed.
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
For more information, please see docs/mdev.txt
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MDEV_LOAD_FIRMWARE
2020-07-02 23:30:56 +08:00
bool "Support loading of firmware"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FEATURE_MDEV_LOAD_FIRMWARE
depends on BUSYBOX_CONFIG_MDEV
help
2020-07-02 23:30:56 +08:00
Some devices need to load firmware before they can be usable.
These devices will request userspace look up the files in
/lib/firmware/ and if it exists, send it to the kernel for
loading into the hardware.
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
config BUSYBOX_CONFIG_FEATURE_MDEV_DAEMON
bool "Support daemon mode"
default BUSYBOX_DEFAULT_FEATURE_MDEV_DAEMON
depends on BUSYBOX_CONFIG_MDEV
help
Adds the -d option to run mdev in daemon mode handling hotplug
events from the kernel like udev. If the system generates many
hotplug events this mode of operation will consume less
resources than registering mdev as hotplug helper or using the
uevent applet.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_MESG
2020-07-02 23:30:56 +08:00
bool "mesg (1.4 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_MESG
help
2020-07-02 23:30:56 +08:00
Mesg controls access to your terminal by others. It is typically
used to allow or disallow other users to write to your terminal
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP
bool "Enable writing to tty only by group, not by everybody"
default BUSYBOX_DEFAULT_FEATURE_MESG_ENABLE_ONLY_GROUP
depends on BUSYBOX_CONFIG_MESG
help
2020-07-02 23:30:56 +08:00
Usually, ttys are owned by group "tty", and "write" tool is
setgid to this group. This way, "mesg y" only needs to enable
"write by owning group" bit in tty mode.
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
If you set this option to N, "mesg y" will enable writing
by anybody at all. This is not recommended.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_MKE2FS
2020-07-02 23:30:56 +08:00
bool "mke2fs (10 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_MKE2FS
help
2020-07-02 23:30:56 +08:00
Utility to create EXT2 filesystems.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_MKFS_EXT2
2020-07-02 23:30:56 +08:00
bool "mkfs.ext2 (10 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_MKFS_EXT2
help
2020-07-02 23:30:56 +08:00
Alias to "mke2fs".
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_MKFS_MINIX
2020-07-02 23:30:56 +08:00
bool "mkfs.minix (10 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_MKFS_MINIX
help
2020-07-02 23:30:56 +08:00
The minix filesystem is a nice, small, compact, read-write filesystem
with little overhead. If you wish to be able to create minix
filesystems this utility will do the job for you.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MINIX2
bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
default BUSYBOX_DEFAULT_FEATURE_MINIX2
depends on BUSYBOX_CONFIG_FSCK_MINIX || BUSYBOX_CONFIG_MKFS_MINIX
help
2020-07-02 23:30:56 +08:00
If you wish to be able to create version 2 minix filesystems, enable
this. If you enabled 'mkfs_minix' then you almost certainly want to
be using the version 2 filesystem support.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_MKFS_REISER
bool "mkfs_reiser"
default BUSYBOX_DEFAULT_MKFS_REISER
help
2020-07-02 23:30:56 +08:00
Utility to create ReiserFS filesystems.
Note: this applet needs a lot of testing and polishing.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_MKDOSFS
2020-07-02 23:30:56 +08:00
bool "mkdosfs (7.2 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_MKDOSFS
help
2020-07-02 23:30:56 +08:00
Utility to create FAT32 filesystems.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_MKFS_VFAT
2020-07-02 23:30:56 +08:00
bool "mkfs.vfat (7.2 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_MKFS_VFAT
help
2020-07-02 23:30:56 +08:00
Alias to "mkdosfs".
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_MKSWAP
2020-07-02 23:30:56 +08:00
bool "mkswap (6.3 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_MKSWAP
help
2020-07-02 23:30:56 +08:00
The mkswap utility is used to configure a file or disk partition as
Linux swap space. This allows Linux to use the entire file or
partition as if it were additional RAM, which can greatly increase
the capability of low-memory machines. This additional memory is
much slower than real RAM, but can be very helpful at preventing your
applications being killed by the Linux out of memory (OOM) killer.
Once you have created swap space using 'mkswap' you need to enable
the swap space using the 'swapon' utility.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MKSWAP_UUID
bool "UUID support"
default BUSYBOX_DEFAULT_FEATURE_MKSWAP_UUID
depends on BUSYBOX_CONFIG_MKSWAP
help
2020-07-02 23:30:56 +08:00
Generate swap spaces with universally unique identifiers.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_MORE
2020-07-02 23:30:56 +08:00
bool "more (7 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_MORE
help
2020-07-02 23:30:56 +08:00
more is a simple utility which allows you to read text one screen
sized page at a time. If you want to read text that is larger than
the screen, and you are using anything faster than a 300 baud modem,
you will probably find this utility very helpful. If you don't have
any need to reading text files, you can leave this disabled.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_MOUNT
2020-07-02 23:30:56 +08:00
bool "mount (23 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_MOUNT
help
2020-07-02 23:30:56 +08:00
All files and filesystems in Unix are arranged into one big directory
tree. The 'mount' utility is used to graft a filesystem onto a
particular part of the tree. A filesystem can either live on a block
device, or it can be accessible over the network, as is the case with
NFS filesystems.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MOUNT_FAKE
2020-07-02 23:30:56 +08:00
bool "Support -f (fake mount)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FEATURE_MOUNT_FAKE
depends on BUSYBOX_CONFIG_MOUNT
help
2020-07-02 23:30:56 +08:00
Enable support for faking a file system mount.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MOUNT_VERBOSE
2020-07-02 23:30:56 +08:00
bool "Support -v (verbose)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FEATURE_MOUNT_VERBOSE
depends on BUSYBOX_CONFIG_MOUNT
help
2020-07-02 23:30:56 +08:00
Enable multi-level -v[vv...] verbose messages. Useful if you
debug mount problems and want to see what is exactly passed
to the kernel.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MOUNT_HELPERS
bool "Support mount helpers"
default BUSYBOX_DEFAULT_FEATURE_MOUNT_HELPERS
depends on BUSYBOX_CONFIG_MOUNT
help
2020-07-02 23:30:56 +08:00
Enable mounting of virtual file systems via external helpers.
E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call
"obexfs -b00.11.22.33.44.55 /mnt"
Also "mount -t sometype [-o opts] fs /mnt" will try
"sometype [-o opts] fs /mnt" if simple mount syscall fails.
The idea is to use such virtual filesystems in /etc/fstab.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MOUNT_LABEL
bool "Support specifying devices by label or UUID"
default BUSYBOX_DEFAULT_FEATURE_MOUNT_LABEL
depends on BUSYBOX_CONFIG_MOUNT
select BUSYBOX_CONFIG_VOLUMEID
help
2020-07-02 23:30:56 +08:00
This allows for specifying a device by label or uuid, rather than by
name. This feature utilizes the same functionality as blkid/findfs.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MOUNT_NFS
bool "Support mounting NFS file systems on Linux < 2.6.23"
default BUSYBOX_DEFAULT_FEATURE_MOUNT_NFS
depends on BUSYBOX_CONFIG_MOUNT
select BUSYBOX_CONFIG_FEATURE_SYSLOG
help
2020-07-02 23:30:56 +08:00
Enable mounting of NFS file systems on Linux kernels prior
to version 2.6.23. Note that in this case mounting of NFS
over IPv6 will not be possible.
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
Note that this option links in RPC support from libc,
which is rather large (~10 kbytes on uclibc).
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MOUNT_CIFS
bool "Support mounting CIFS/SMB file systems"
default BUSYBOX_DEFAULT_FEATURE_MOUNT_CIFS
depends on BUSYBOX_CONFIG_MOUNT
help
2020-07-02 23:30:56 +08:00
Enable support for samba mounts.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MOUNT_FLAGS
depends on BUSYBOX_CONFIG_MOUNT
bool "Support lots of -o flags"
default BUSYBOX_DEFAULT_FEATURE_MOUNT_FLAGS
help
2020-07-02 23:30:56 +08:00
Without this, mount only supports ro/rw/remount. With this, it
supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
noatime, diratime, nodiratime, loud, bind, move, shared, slave,
private, unbindable, rshared, rslave, rprivate, and runbindable.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MOUNT_FSTAB
depends on BUSYBOX_CONFIG_MOUNT
2020-07-02 23:30:56 +08:00
bool "Support /etc/fstab and -a (mount all)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FEATURE_MOUNT_FSTAB
help
2020-07-02 23:30:56 +08:00
Support mount all and looking for files in /etc/fstab.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MOUNT_OTHERTAB
depends on BUSYBOX_CONFIG_FEATURE_MOUNT_FSTAB
bool "Support -T <alt_fstab>"
default BUSYBOX_DEFAULT_FEATURE_MOUNT_OTHERTAB
help
2020-07-02 23:30:56 +08:00
Support mount -T (specifying an alternate fstab)
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_MOUNTPOINT
2020-07-02 23:30:56 +08:00
bool "mountpoint (4.9 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_MOUNTPOINT
help
2020-07-02 23:30:56 +08:00
mountpoint checks if the directory is a mountpoint.
config BUSYBOX_CONFIG_NOLOGIN
bool "nologin"
default BUSYBOX_DEFAULT_NOLOGIN
depends on BUSYBOX_CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS
help
Politely refuse a login
config BUSYBOX_CONFIG_NOLOGIN_DEPENDENCIES
bool "Enable dependencies for nologin"
default BUSYBOX_DEFAULT_NOLOGIN_DEPENDENCIES # Y default makes it harder to select single-applet test
2020-07-02 23:30:56 +08:00
depends on BUSYBOX_CONFIG_NOLOGIN
select BUSYBOX_CONFIG_CAT
select BUSYBOX_CONFIG_ECHO
select BUSYBOX_CONFIG_SLEEP
help
nologin is implemented as a shell script. It requires the
following in the runtime environment:
cat echo sleep
If you know these will be available externally you can
disable this option.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_NSENTER
2020-07-02 23:30:56 +08:00
bool "nsenter (6.5 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_NSENTER
help
2020-07-02 23:30:56 +08:00
Run program with namespaces of other processes.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_PIVOT_ROOT
2020-07-02 23:30:56 +08:00
bool "pivot_root (1.1 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_PIVOT_ROOT
help
2020-07-02 23:30:56 +08:00
The pivot_root utility swaps the mount points for the root filesystem
with some other mounted filesystem. This allows you to do all sorts
of wild and crazy things with your Linux system and is far more
powerful than 'chroot'.
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
Note: This is for initrd in linux 2.4. Under initramfs (introduced
in linux 2.6) use switch_root instead.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_RDATE
2020-07-02 23:30:56 +08:00
bool "rdate (5.6 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_RDATE
help
2020-07-02 23:30:56 +08:00
The rdate utility allows you to synchronize the date and time of your
system clock with the date and time of a remote networked system using
the RFC868 protocol, which is built into the inetd daemon on most
systems.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_RDEV
2020-07-02 23:30:56 +08:00
bool "rdev (1.8 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_RDEV
help
2020-07-02 23:30:56 +08:00
Print the device node associated with the filesystem mounted at '/'.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_READPROFILE
2020-07-02 23:30:56 +08:00
bool "readprofile (7.1 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_READPROFILE
help
2020-07-02 23:30:56 +08:00
This allows you to parse /proc/profile for basic profiling.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_RENICE
2020-07-02 23:30:56 +08:00
bool "renice (4.2 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_RENICE
help
2020-07-02 23:30:56 +08:00
Renice alters the scheduling priority of one or more running
processes.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_REV
2020-07-02 23:30:56 +08:00
bool "rev (4.4 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_REV
help
2020-07-02 23:30:56 +08:00
Reverse lines of a file or files.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_RTCWAKE
2020-07-02 23:30:56 +08:00
bool "rtcwake (6.8 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_RTCWAKE
help
2020-07-02 23:30:56 +08:00
Enter a system sleep state until specified wakeup time.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_SCRIPT
2020-07-02 23:30:56 +08:00
bool "script (8.6 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_SCRIPT
help
2020-07-02 23:30:56 +08:00
The script makes typescript of terminal session.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_SCRIPTREPLAY
2020-07-02 23:30:56 +08:00
bool "scriptreplay (2.4 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_SCRIPTREPLAY
help
2020-07-02 23:30:56 +08:00
This program replays a typescript, using timing information
given by script -t.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_SETARCH
2020-07-02 23:30:56 +08:00
bool "setarch (3.6 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_SETARCH
help
2020-07-02 23:30:56 +08:00
The linux32 utility is used to create a 32bit environment for the
specified program (usually a shell). It only makes sense to have
this util on a system that supports both 64bit and 32bit userland
(like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_LINUX32
2020-07-02 23:30:56 +08:00
bool "linux32 (3.3 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_LINUX32
help
2020-07-02 23:30:56 +08:00
Alias to "setarch linux32".
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_LINUX64
2020-07-02 23:30:56 +08:00
bool "linux64 (3.3 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_LINUX64
help
2020-07-02 23:30:56 +08:00
Alias to "setarch linux64".
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_SETPRIV
2020-07-02 23:30:56 +08:00
bool "setpriv (6.6 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_SETPRIV
select BUSYBOX_CONFIG_LONG_OPTS
help
2020-07-02 23:30:56 +08:00
Run a program with different Linux privilege settings.
Requires kernel >= 3.5
config BUSYBOX_CONFIG_FEATURE_SETPRIV_DUMP
bool "Support dumping current privilege state"
default BUSYBOX_DEFAULT_FEATURE_SETPRIV_DUMP
depends on BUSYBOX_CONFIG_SETPRIV
help
Enables the "--dump" switch to print out the current privilege
state. This is helpful for diagnosing problems.
config BUSYBOX_CONFIG_FEATURE_SETPRIV_CAPABILITIES
bool "Support capabilities"
default BUSYBOX_DEFAULT_FEATURE_SETPRIV_CAPABILITIES
depends on BUSYBOX_CONFIG_SETPRIV
help
Capabilities can be used to grant processes additional rights
without the necessity to always execute as the root user.
Enabling this option enables "--dump" to show information on
capabilities.
config BUSYBOX_CONFIG_FEATURE_SETPRIV_CAPABILITY_NAMES
bool "Support capability names"
default BUSYBOX_DEFAULT_FEATURE_SETPRIV_CAPABILITY_NAMES
depends on BUSYBOX_CONFIG_SETPRIV && BUSYBOX_CONFIG_FEATURE_SETPRIV_CAPABILITIES
help
Capabilities can be either referenced via a human-readble name,
e.g. "net_admin", or using their index, e.g. "cap_12". Enabling
this option allows using the human-readable names in addition to
the index-based names.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_SETSID
2020-07-02 23:30:56 +08:00
bool "setsid (3.6 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_SETSID
help
2020-07-02 23:30:56 +08:00
setsid runs a program in a new session
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_SWAPON
2020-07-02 23:30:56 +08:00
bool "swapon (15 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_SWAPON
help
2020-07-02 23:30:56 +08:00
Once you have created some swap space using 'mkswap', you also need
to enable your swap space with the 'swapon' utility. The 'swapoff'
utility is used, typically at system shutdown, to disable any swap
space. If you are not using any swap space, you can leave this
option disabled.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_SWAPON_DISCARD
bool "Support discard option -d"
default BUSYBOX_DEFAULT_FEATURE_SWAPON_DISCARD
depends on BUSYBOX_CONFIG_SWAPON
help
2020-07-02 23:30:56 +08:00
Enable support for discarding swap area blocks at swapon and/or as
the kernel frees them. This option enables both the -d option on
'swapon' and the 'discard' option for swap entries in /etc/fstab.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_SWAPON_PRI
bool "Support priority option -p"
default BUSYBOX_DEFAULT_FEATURE_SWAPON_PRI
depends on BUSYBOX_CONFIG_SWAPON
help
2020-07-02 23:30:56 +08:00
Enable support for setting swap device priority in swapon.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_SWAPOFF
2020-07-02 23:30:56 +08:00
bool "swapoff (14 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_SWAPOFF
2020-07-02 23:30:56 +08:00
config BUSYBOX_CONFIG_FEATURE_SWAPONOFF_LABEL
bool "Support specifying devices by label or UUID"
default BUSYBOX_DEFAULT_FEATURE_SWAPONOFF_LABEL
depends on BUSYBOX_CONFIG_SWAPON || BUSYBOX_CONFIG_SWAPOFF
select BUSYBOX_CONFIG_VOLUMEID
2017-09-06 19:19:45 +08:00
help
2020-07-02 23:30:56 +08:00
This allows for specifying a device by label or uuid, rather than by
name. This feature utilizes the same functionality as blkid/findfs.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_SWITCH_ROOT
2020-07-02 23:30:56 +08:00
bool "switch_root (5.5 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_SWITCH_ROOT
help
2020-07-02 23:30:56 +08:00
The switch_root utility is used from initramfs to select a new
root device. Under initramfs, you have to use this instead of
pivot_root. (Stop reading here if you don't care why.)
Booting with initramfs extracts a gzipped cpio archive into rootfs
(which is a variant of ramfs/tmpfs). Because rootfs can't be moved
or unmounted*, pivot_root will not work from initramfs. Instead,
switch_root deletes everything out of rootfs (including itself),
does a mount --move that overmounts rootfs with the new root, and
then execs the specified init program.
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
* Because the Linux kernel uses rootfs internally as the starting
and ending point for searching through the kernel's doubly linked
list of active mount points. That's why.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_TASKSET
2020-07-02 23:30:56 +08:00
bool "taskset (4.2 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_TASKSET
help
2020-07-02 23:30:56 +08:00
Retrieve or set a processes's CPU affinity.
This requires sched_{g,s}etaffinity support in your libc.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_TASKSET_FANCY
bool "Fancy output"
default BUSYBOX_DEFAULT_FEATURE_TASKSET_FANCY
depends on BUSYBOX_CONFIG_TASKSET
help
2020-07-02 23:30:56 +08:00
Needed for machines with more than 32-64 CPUs:
affinity parameter 0xHHHHHHHHHHHHHHHHHHHH can be arbitrarily long
in this case. Otherwise, it is limited to sizeof(long).
config BUSYBOX_CONFIG_FEATURE_TASKSET_CPULIST
bool "CPU list support (-c option)"
default BUSYBOX_DEFAULT_FEATURE_TASKSET_CPULIST
depends on BUSYBOX_CONFIG_FEATURE_TASKSET_FANCY
help
Add support for taking/printing affinity as CPU list when '-c'
option is used. For example, it prints '0-3,7' instead of mask '8f'.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_UEVENT
2020-07-02 23:30:56 +08:00
bool "uevent (3.1 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_UEVENT
help
2020-07-02 23:30:56 +08:00
uevent is a netlink listener for kernel uevent notifications
sent via netlink. It is usually used for dynamic device creation.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_UMOUNT
2020-07-02 23:30:56 +08:00
bool "umount (5.1 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_UMOUNT
help
2020-07-02 23:30:56 +08:00
When you want to remove a mounted filesystem from its current mount
point, for example when you are shutting down the system, the
'umount' utility is the tool to use. If you enabled the 'mount'
utility, you almost certainly also want to enable 'umount'.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_UMOUNT_ALL
2020-07-02 23:30:56 +08:00
bool "Support -a (unmount all)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_FEATURE_UMOUNT_ALL
depends on BUSYBOX_CONFIG_UMOUNT
help
2020-07-02 23:30:56 +08:00
Support -a option to unmount all currently mounted filesystems.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_UNSHARE
2020-07-02 23:30:56 +08:00
bool "unshare (7.2 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_UNSHARE
depends on !BUSYBOX_CONFIG_NOMMU
select BUSYBOX_CONFIG_LONG_OPTS
help
2020-07-02 23:30:56 +08:00
Run program with some namespaces unshared from parent.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_WALL
2020-07-02 23:30:56 +08:00
bool "wall (2.6 kb)"
2017-09-06 19:19:45 +08:00
default BUSYBOX_DEFAULT_WALL
depends on BUSYBOX_CONFIG_FEATURE_UTMP
help
2020-07-02 23:30:56 +08:00
Write a message to all users that are logged in.
2017-09-06 19:19:45 +08:00
comment "Common options for mount/umount"
depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP
bool "Support loopback mounts"
default BUSYBOX_DEFAULT_FEATURE_MOUNT_LOOP
depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
help
2020-07-02 23:30:56 +08:00
Enabling this feature allows automatic mounting of files (containing
filesystem images) via the linux kernel's loopback devices.
The mount command will detect you are trying to mount a file instead
of a block device, and transparently associate the file with a
loopback device. The umount command will also free that loopback
device.
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
You can still use the 'losetup' utility (to manually associate files
with loop devices) if you need to do something advanced, such as
specify an offset or cryptographic options to the loopback device.
(If you don't want umount to free the loop device, use "umount -D".)
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP_CREATE
bool "Create new loopback devices if needed"
default BUSYBOX_DEFAULT_FEATURE_MOUNT_LOOP_CREATE
depends on BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP
help
2020-07-02 23:30:56 +08:00
Linux kernels >= 2.6.24 support unlimited loopback devices. They are
allocated for use when trying to use a loop device. The loop device
must however exist.
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
This feature lets mount to try to create next /dev/loopN device
if it does not find a free one.
2017-09-06 19:19:45 +08:00
config BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT
bool "Support old /etc/mtab file"
default BUSYBOX_DEFAULT_FEATURE_MTAB_SUPPORT
depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
select BUSYBOX_CONFIG_FEATURE_MOUNT_FAKE
help
2020-07-02 23:30:56 +08:00
Historically, Unix systems kept track of the currently mounted
partitions in the file "/etc/mtab". These days, the kernel exports
the list of currently mounted partitions in "/proc/mounts", rendering
the old mtab file obsolete. (In modern systems, /etc/mtab should be
a symlink to /proc/mounts.)
The only reason to have mount maintain an /etc/mtab file itself is if
your stripped-down embedded system does not have a /proc directory.
If you must use this, keep in mind it's inherently brittle (for
example a mount under chroot won't update it), can't handle modern
features like separate per-process filesystem namespaces, requires
that your /etc directory be writable, tends to get easily confused
by --bind or --move mounts, won't update if you rename a directory
that contains a mount point, and so on. (In brief: avoid.)
About the only reason to use this is if you've removed /proc from
your kernel.
source "volume_id/Config.in"
2017-09-06 19:19:45 +08:00
endmenu