summaryrefslogtreecommitdiff
path: root/package/busybox/config/util-linux/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/config/util-linux/Config.in')
-rw-r--r--package/busybox/config/util-linux/Config.in75
1 files changed, 70 insertions, 5 deletions
diff --git a/package/busybox/config/util-linux/Config.in b/package/busybox/config/util-linux/Config.in
index 8e78e2e27..e560a7b53 100644
--- a/package/busybox/config/util-linux/Config.in
+++ b/package/busybox/config/util-linux/Config.in
@@ -8,6 +8,7 @@ menu "Linux System Utilities"
config BUSYBOX_ACPID
bool "acpid"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
acpid listens to ACPI events coming either in textual form from
/proc/acpi/event (though it is marked deprecated it is still widely
@@ -27,9 +28,16 @@ config BUSYBOX_FEATURE_ACPID_COMPAT
help
Accept and ignore compatibility options -g -m -s -S -v.
+config BUSYBOX_BLOCKDEV
+ bool "blockdev"
+ default n
+ help
+ Performs some ioctls with block devices.
+
config BUSYBOX_BLKID
bool "blkid"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
select BUSYBOX_VOLUMEID
help
Lists labels and UUIDs of all filesystems.
@@ -39,6 +47,7 @@ config BUSYBOX_BLKID
config BUSYBOX_DMESG
bool "dmesg"
default y
+ depends on BUSYBOX_PLATFORM_LINUX
help
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
@@ -72,6 +81,7 @@ config BUSYBOX_FEATURE_DMESG_PRETTY
config BUSYBOX_FBSET
bool "fbset"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
fbset is used to show or change the settings of a Linux frame buffer
device. The frame buffer device provides a simple and unique
@@ -100,6 +110,7 @@ config BUSYBOX_FEATURE_FBSET_READMODE
config BUSYBOX_FDFLUSH
bool "fdflush"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
fdflush is only needed when changing media on slightly-broken
removable media drives. It is used to make Linux believe that a
@@ -112,12 +123,14 @@ config BUSYBOX_FDFLUSH
config BUSYBOX_FDFORMAT
bool "fdformat"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
fdformat is used to low-level format a floppy disk.
config BUSYBOX_FDISK
bool "fdisk"
default y
+ depends on BUSYBOX_PLATFORM_LINUX
help
The fdisk utility is used to divide hard disks into one or more
logical disks, which are generally called partitions. This utility
@@ -172,6 +185,14 @@ config BUSYBOX_FEATURE_OSF_LABEL
Enabling this option allows you to create or change BSD disklabels
and define and edit BSD disk slices.
+config BUSYBOX_FEATURE_GPT_LABEL
+ bool "Support GPT disklabels"
+ default n
+ depends on BUSYBOX_FDISK && BUSYBOX_FEATURE_FDISK_WRITABLE
+ help
+ Enabling this option allows you to view GUID Partition Table
+ disklabels.
+
config BUSYBOX_FEATURE_FDISK_ADVANCED
bool "Support expert mode"
default n
@@ -185,6 +206,7 @@ config BUSYBOX_FEATURE_FDISK_ADVANCED
config BUSYBOX_FINDFS
bool "findfs"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
select BUSYBOX_VOLUMEID
help
Prints the name of a filesystem with given label or UUID.
@@ -200,6 +222,7 @@ config BUSYBOX_FLOCK
config BUSYBOX_FREERAMDISK
bool "freeramdisk"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
Linux allows you to create ramdisks. This utility allows you to
delete them and completely free all memory that was used for the
@@ -222,12 +245,14 @@ config BUSYBOX_FSCK_MINIX
config BUSYBOX_MKFS_EXT2
bool "mkfs_ext2"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
Utility to create EXT2 filesystems.
config BUSYBOX_MKFS_MINIX
bool "mkfs_minix"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
The minix filesystem is a nice, small, compact, read-write filesystem
with little overhead. If you wish to be able to create minix
@@ -248,13 +273,16 @@ config BUSYBOX_FEATURE_MINIX2
config BUSYBOX_MKFS_REISER
bool "mkfs_reiser"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
Utility to create ReiserFS filesystems.
+ Note: this applet needs a lot of testing and polishing.
config BUSYBOX_MKFS_VFAT
bool "mkfs_vfat"
default y if ADK_TARGET_WITH_MMC
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
Utility to create FAT32 filesystems.
@@ -304,6 +332,7 @@ config BUSYBOX_HWCLOCK
bool "hwclock"
default y if ADK_TARGET_WITH_RTC
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
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
@@ -343,6 +372,7 @@ config BUSYBOX_IPCRM
config BUSYBOX_IPCS
bool "ipcs"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
select BUSYBOX_FEATURE_SUID
help
The ipcs utility is used to provide information on the currently
@@ -351,6 +381,7 @@ config BUSYBOX_IPCS
config BUSYBOX_LOSETUP
bool "losetup"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
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
@@ -358,7 +389,8 @@ config BUSYBOX_LOSETUP
config BUSYBOX_LSPCI
bool "lspci"
- default n
+ default y
+ #depends on BUSYBOX_PLATFORM_LINUX
depends on !ADK_PACKAGE_PCIUTILS
help
lspci is a utility for displaying information about PCI buses in the
@@ -368,7 +400,8 @@ config BUSYBOX_LSPCI
config BUSYBOX_LSUSB
bool "lsusb"
- default n
+ default y
+ #depends on BUSYBOX_PLATFORM_LINUX
depends on !ADK_PACKAGE_LSUSB
help
lsusb is a utility for displaying information about USB buses in the
@@ -379,6 +412,7 @@ config BUSYBOX_LSUSB
config BUSYBOX_MDEV
bool "mdev"
default y
+ depends on BUSYBOX_PLATFORM_LINUX
help
mdev is a mini-udev implementation for dynamically creating device
nodes in the /dev directory.
@@ -466,7 +500,7 @@ config BUSYBOX_MORE
config BUSYBOX_FEATURE_USE_TERMIOS
bool "Use termios to manipulate the screen"
default y
- depends on BUSYBOX_MORE || BUSYBOX_TOP
+ depends on BUSYBOX_MORE || BUSYBOX_TOP || BUSYBOX_POWERTOP
help
This option allows utilities such as 'more' and 'top' to determine
the size of the screen. If you leave this disabled, your utilities
@@ -478,6 +512,9 @@ config BUSYBOX_VOLUMEID
bool #No description makes it a hidden option
default n
+menu "Filesystem/Volume identification"
+ depends on BUSYBOX_VOLUMEID
+
config BUSYBOX_FEATURE_VOLUMEID_EXT
bool "Ext filesystem"
default n
@@ -689,9 +726,12 @@ config BUSYBOX_FEATURE_VOLUMEID_LINUXRAID
help
TODO
+endmenu
+
config BUSYBOX_MOUNT
bool "mount"
default y
+ depends on BUSYBOX_PLATFORM_LINUX
help
All files and filesystems in Unix are arranged into one big directory
tree. The 'mount' utility is used to graft a filesystem onto a
@@ -729,7 +769,7 @@ config BUSYBOX_FEATURE_MOUNT_HELPERS
The idea is to use such virtual filesystems in /etc/fstab.
config BUSYBOX_FEATURE_MOUNT_LABEL
- bool "Support specifiying devices by label or UUID"
+ bool "Support specifying devices by label or UUID"
default y
depends on BUSYBOX_MOUNT
select BUSYBOX_VOLUMEID
@@ -774,6 +814,7 @@ config BUSYBOX_FEATURE_MOUNT_FSTAB
config BUSYBOX_PIVOT_ROOT
bool "pivot_root"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
The pivot_root utility swaps the mount points for the root filesystem
with some other mounted filesystem. This allows you to do all sorts
@@ -801,12 +842,20 @@ config BUSYBOX_RDEV
config BUSYBOX_READPROFILE
bool "readprofile"
default n
+ #depends on BUSYBOX_PLATFORM_LINUX
help
This allows you to parse /proc/profile for basic profiling.
+config BUSYBOX_REV
+ bool "rev"
+ default n
+ help
+ Reverse lines of a file or files.
+
config BUSYBOX_RTCWAKE
bool "rtcwake"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
Enter a system sleep state until specified wakeup time.
@@ -826,6 +875,7 @@ config BUSYBOX_SCRIPTREPLAY
config BUSYBOX_SETARCH
bool "setarch"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
The linux32 utility is used to create a 32bit environment for the
specified program (usually a shell). It only makes sense to have
@@ -835,6 +885,7 @@ config BUSYBOX_SETARCH
config BUSYBOX_SWAPONOFF
bool "swaponoff"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
This option enables both the 'swapon' and the 'swapoff' utilities.
Once you have created some swap space using 'mkswap', you also need
@@ -853,6 +904,7 @@ config BUSYBOX_FEATURE_SWAPON_PRI
config BUSYBOX_SWITCH_ROOT
bool "switch_root"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
The switch_root utility is used from initramfs to select a new
root device. Under initramfs, you have to use this instead of
@@ -872,6 +924,7 @@ config BUSYBOX_SWITCH_ROOT
config BUSYBOX_UMOUNT
bool "umount"
default y
+ depends on BUSYBOX_PLATFORM_LINUX
help
When you want to remove a mounted filesystem from its current mount
point, for example when you are shutting down the system, the
@@ -905,6 +958,18 @@ config BUSYBOX_FEATURE_MOUNT_LOOP
specify an offset or cryptographic options to the loopback device.
(If you don't want umount to free the loop device, use "umount -D".)
+config BUSYBOX_FEATURE_MOUNT_LOOP_CREATE
+ bool "Create new loopback devices if needed"
+ default y
+ depends on BUSYBOX_FEATURE_MOUNT_LOOP
+ help
+ 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.
+
+ This feature lets mount to try to create next /dev/loopN device
+ if it does not find a free one.
+
config BUSYBOX_FEATURE_MTAB_SUPPORT
bool "Support for the old /etc/mtab file"
default n
@@ -922,7 +987,7 @@ config BUSYBOX_FEATURE_MTAB_SUPPORT
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 writeable, tends to get easily confused
+ 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.)