diff options
Diffstat (limited to 'packages/busybox/busybox-kconfigs/busybox-util-linux.kconfig')
-rw-r--r-- | packages/busybox/busybox-kconfigs/busybox-util-linux.kconfig | 206 |
1 files changed, 97 insertions, 109 deletions
diff --git a/packages/busybox/busybox-kconfigs/busybox-util-linux.kconfig b/packages/busybox/busybox-kconfigs/busybox-util-linux.kconfig index 7b4fb2c..532945a 100644 --- a/packages/busybox/busybox-kconfigs/busybox-util-linux.kconfig +++ b/packages/busybox/busybox-kconfigs/busybox-util-linux.kconfig @@ -9,13 +9,68 @@ comment "-------------------------------------------------" config KEMBTK_BUSYB_BLOCKDEV bool "blockdev" - depends on EMBTK_BB_VERSION_1_18_X default y help Performs some ioctls with block devices. +config KEMBTK_BUSYB_MDEV + bool "mdev" + default y + select KEMBTK_BUSYB_PLATFORM_LINUX + help + mdev is a mini-udev implementation for dynamically creating device + nodes in the /dev directory. + + For more information, please see docs/mdev.txt + +config KEMBTK_BUSYB_FEATURE_MDEV_CONF + bool "Support /etc/mdev.conf" + default y + depends on KEMBTK_BUSYB_MDEV + help + Add support for the mdev config file to control ownership and + permissions of the device nodes. + + For more information, please see docs/mdev.txt + +config KEMBTK_BUSYB_FEATURE_MDEV_RENAME + bool "Support subdirs/symlinks" + default y + depends on KEMBTK_BUSYB_FEATURE_MDEV_CONF + help + Add support for renaming devices and creating symlinks. + + For more information, please see docs/mdev.txt + +config KEMBTK_BUSYB_FEATURE_MDEV_RENAME_REGEXP + bool "Support regular expressions substitutions when renaming device" + default y + depends on KEMBTK_BUSYB_FEATURE_MDEV_RENAME + help + Add support for regular expressions substitutions when renaming + device. + +config KEMBTK_BUSYB_FEATURE_MDEV_EXEC + bool "Support command execution at device addition/removal" + default y + depends on KEMBTK_BUSYB_FEATURE_MDEV_CONF + help + This adds support for an optional field to /etc/mdev.conf for + executing commands when devices are created/removed. + + For more information, please see docs/mdev.txt + +config KEMBTK_BUSYB_FEATURE_MDEV_LOAD_FIRMWARE + bool "Support loading of firmwares" + default y + depends on KEMBTK_BUSYB_MDEV + help + 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. config KEMBTK_BUSYB_REV bool "rev" - depends on EMBTK_BB_VERSION_1_17_X || EMBTK_BB_VERSION_1_18_X default y help Reverse lines of a file or files. @@ -23,8 +78,7 @@ config KEMBTK_BUSYB_REV config KEMBTK_BUSYB_ACPID bool "acpid" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX - depends on EMBTK_BB_VERSION_1_14_X || EMBTK_BB_VERSION_1_15_X || EMBTK_BB_VERSION_1_16_X || EMBTK_BB_VERSION_1_17_X || EMBTK_BB_VERSION_1_18_X + select KEMBTK_BUSYB_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 @@ -47,17 +101,23 @@ config KEMBTK_BUSYB_FEATURE_ACPID_COMPAT config KEMBTK_BUSYB_BLKID bool "blkid" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_PLATFORM_LINUX select KEMBTK_BUSYB_VOLUMEID help Lists labels and UUIDs of all filesystems. WARNING: With all submodules selected, it will add ~8k to busybox. +config KEMBTK_BUSYB_FEATURE_BLKID_TYPE + bool "Print filesystem type" + depends on KEMBTK_BUSYB_BLKID + help + Show TYPE="filesystem type" + config KEMBTK_BUSYB_DMESG bool "dmesg" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_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 @@ -91,7 +151,7 @@ config KEMBTK_BUSYB_FEATURE_DMESG_PRETTY config KEMBTK_BUSYB_FBSET bool "fbset" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_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 @@ -120,7 +180,7 @@ config KEMBTK_BUSYB_FEATURE_FBSET_READMODE config KEMBTK_BUSYB_FDFLUSH bool "fdflush" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_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 @@ -133,14 +193,14 @@ config KEMBTK_BUSYB_FDFLUSH config KEMBTK_BUSYB_FDFORMAT bool "fdformat" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_PLATFORM_LINUX help fdformat is used to low-level format a floppy disk. config KEMBTK_BUSYB_FDISK bool "fdisk" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_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 @@ -151,6 +211,7 @@ config KEMBTK_BUSYB_FDISK_SUPPORT_LARGE_DISKS bool "Support over 4GB disks" default y depends on KEMBTK_BUSYB_FDISK + depends on !KEMBTK_BUSYB_LFS # with KEMBTK_BUSYB_LFS no special code is needed help Enable this option to support large disks > 4GB. @@ -194,7 +255,6 @@ config KEMBTK_BUSYB_FEATURE_OSF_LABEL config KEMBTK_BUSYB_FEATURE_GPT_LABEL bool "Support GPT disklabels" depends on KEMBTK_BUSYB_FDISK && KEMBTK_BUSYB_FEATURE_FDISK_WRITABLE - depends on EMBTK_BB_VERSION_1_18_X help Enabling this option allows you to view GUID Partition Table disklabels. @@ -212,7 +272,7 @@ config KEMBTK_BUSYB_FEATURE_FDISK_ADVANCED config KEMBTK_BUSYB_FINDFS bool "findfs" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_PLATFORM_LINUX select KEMBTK_BUSYB_VOLUMEID help Prints the name of a filesystem with given label or UUID. @@ -221,7 +281,6 @@ config KEMBTK_BUSYB_FINDFS config KEMBTK_BUSYB_FLOCK bool "flock" - depends on EMBTK_BB_VERSION_1_17_X || EMBTK_BB_VERSION_1_18_X default y help Manage locks from shell scripts @@ -229,7 +288,7 @@ config KEMBTK_BUSYB_FLOCK config KEMBTK_BUSYB_FREERAMDISK bool "freeramdisk" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_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 @@ -252,15 +311,14 @@ config KEMBTK_BUSYB_FSCK_MINIX config KEMBTK_BUSYB_MKFS_EXT2 bool "mkfs_ext2" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX - depends on EMBTK_BB_VERSION_1_16_X || EMBTK_BB_VERSION_1_17_X || EMBTK_BB_VERSION_1_18_X + select KEMBTK_BUSYB_PLATFORM_LINUX help Utility to create EXT2 filesystems. config KEMBTK_BUSYB_MKFS_MINIX bool "mkfs_minix" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_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 @@ -277,8 +335,7 @@ config KEMBTK_BUSYB_FEATURE_MINIX2 config KEMBTK_BUSYB_MKFS_REISER bool "mkfs_reiser" - depends on KEMBTK_BUSYB_PLATFORM_LINUX - depends on EMBTK_BB_VERSION_1_16_X || EMBTK_BB_VERSION_1_17_X || EMBTK_BB_VERSION_1_18_X + select KEMBTK_BUSYB_PLATFORM_LINUX help Utility to create ReiserFS filesystems. Note: this applet needs a lot of testing and polishing. @@ -286,8 +343,7 @@ config KEMBTK_BUSYB_MKFS_REISER config KEMBTK_BUSYB_MKFS_VFAT bool "mkfs_vfat" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX - depends on EMBTK_BB_VERSION_1_14_X || EMBTK_BB_VERSION_1_15_X || EMBTK_BB_VERSION_1_16_X || EMBTK_BB_VERSION_1_17_X || EMBTK_BB_VERSION_1_18_X + select KEMBTK_BUSYB_PLATFORM_LINUX help Utility to create FAT32 filesystems. @@ -306,7 +362,6 @@ config KEMBTK_BUSYB_FEATURE_GETOPT_LONG bool "Support option -l" default y if KEMBTK_BUSYB_LONG_OPTS depends on KEMBTK_BUSYB_GETOPT - depends on EMBTK_BB_VERSION_1_15_X || EMBTK_BB_VERSION_1_16_X || EMBTK_BB_VERSION_1_17_X || EMBTK_BB_VERSION_1_18_X help Enable support for long options (option -l). @@ -337,7 +392,7 @@ config KEMBTK_BUSYB_HD config KEMBTK_BUSYB_HWCLOCK bool "hwclock" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_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 @@ -375,7 +430,7 @@ config KEMBTK_BUSYB_IPCRM config KEMBTK_BUSYB_IPCS bool "ipcs" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_PLATFORM_LINUX help The ipcs utility is used to provide information on the currently allocated System V interprocess (KEMBTK_BUSYB_IPC) objects in the system. @@ -383,7 +438,7 @@ config KEMBTK_BUSYB_IPCS config KEMBTK_BUSYB_LOSETUP bool "losetup" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_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 @@ -392,8 +447,7 @@ config KEMBTK_BUSYB_LOSETUP config KEMBTK_BUSYB_LSPCI bool "lspci" default y - #depends on KEMBTK_BUSYB_PLATFORM_LINUX - depends on EMBTK_BB_VERSION_1_16_X || EMBTK_BB_VERSION_1_17_X || EMBTK_BB_VERSION_1_18_X + #select KEMBTK_BUSYB_PLATFORM_LINUX help lspci is a utility for displaying information about PCI buses in the system and devices connected to them. @@ -403,72 +457,13 @@ config KEMBTK_BUSYB_LSPCI config KEMBTK_BUSYB_LSUSB bool "lsusb" default y - #depends on KEMBTK_BUSYB_PLATFORM_LINUX - depends on EMBTK_BB_VERSION_1_16_X || EMBTK_BB_VERSION_1_17_X || EMBTK_BB_VERSION_1_18_X + #select KEMBTK_BUSYB_PLATFORM_LINUX help lsusb is a utility for displaying information about USB buses in the system and devices connected to them. This version uses sysfs (/sys/bus/usb/devices) only. -config KEMBTK_BUSYB_MDEV - bool "mdev" - default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX - help - mdev is a mini-udev implementation for dynamically creating device - nodes in the /dev directory. - - For more information, please see docs/mdev.txt - -config KEMBTK_BUSYB_FEATURE_MDEV_CONF - bool "Support /etc/mdev.conf" - default y - depends on KEMBTK_BUSYB_MDEV - help - Add support for the mdev config file to control ownership and - permissions of the device nodes. - - For more information, please see docs/mdev.txt - -config KEMBTK_BUSYB_FEATURE_MDEV_RENAME - bool "Support subdirs/symlinks" - default y - depends on KEMBTK_BUSYB_FEATURE_MDEV_CONF - help - Add support for renaming devices and creating symlinks. - - For more information, please see docs/mdev.txt - -config KEMBTK_BUSYB_FEATURE_MDEV_RENAME_REGEXP - bool "Support regular expressions substitutions when renaming device" - default y - depends on KEMBTK_BUSYB_FEATURE_MDEV_RENAME - help - Add support for regular expressions substitutions when renaming - device. - -config KEMBTK_BUSYB_FEATURE_MDEV_EXEC - bool "Support command execution at device addition/removal" - default y - depends on KEMBTK_BUSYB_FEATURE_MDEV_CONF - help - This adds support for an optional field to /etc/mdev.conf for - executing commands when devices are created/removed. - - For more information, please see docs/mdev.txt - -config KEMBTK_BUSYB_FEATURE_MDEV_LOAD_FIRMWARE - bool "Support loading of firmwares" - default y - depends on KEMBTK_BUSYB_MDEV - help - 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. - config KEMBTK_BUSYB_MKSWAP bool "mkswap" default y @@ -482,19 +477,10 @@ config KEMBTK_BUSYB_MKSWAP Once you have created swap space using 'mkswap' you need to enable the swap space using the 'swapon' utility. -config KEMBTK_BUSYB_FEATURE_MKSWAP_V0 - bool "Version 0 support" - depends on EMBTK_BB_VERSION_1_13_X || EMBTK_BB_VERSION_1_14_X - help - Enable support for the old v0 style. - If your kernel is older than 2.1.117, then v0 support is the - only option. - config KEMBTK_BUSYB_FEATURE_MKSWAP_UUID bool "UUID support" default y depends on KEMBTK_BUSYB_MKSWAP - depends on EMBTK_BB_VERSION_1_15_X || EMBTK_BB_VERSION_1_16_X || EMBTK_BB_VERSION_1_17_X || EMBTK_BB_VERSION_1_18_X help Generate swap spaces with universally unique identifiers. @@ -511,7 +497,7 @@ config KEMBTK_BUSYB_MORE config KEMBTK_BUSYB_MOUNT bool "mount" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_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 @@ -558,13 +544,17 @@ config KEMBTK_BUSYB_FEATURE_MOUNT_LABEL This also enables label or uuid support for swapon. config KEMBTK_BUSYB_FEATURE_MOUNT_NFS - bool "Support mounting NFS file systems" - default y + bool "Support mounting NFS file systems on Linux < 2.6.23" depends on KEMBTK_BUSYB_MOUNT select KEMBTK_BUSYB_FEATURE_HAVE_RPC select KEMBTK_BUSYB_FEATURE_SYSLOG help - Enable mounting of NFS file systems. + Enable mounting of NFS file systems on Linux kernels prior + to version 2.6.23. Note that in this case mounting of NFS + over KEMBTK_BUSYB_IPv6 will not be possible. + + Note that this option links in RPC support from libc, + which is rather large (~10 kbytes on uclibc). config KEMBTK_BUSYB_FEATURE_MOUNT_CIFS bool "Support mounting CIFS/SMB file systems" @@ -593,7 +583,7 @@ config KEMBTK_BUSYB_FEATURE_MOUNT_FSTAB config KEMBTK_BUSYB_PIVOT_ROOT bool "pivot_root" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_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 @@ -621,14 +611,14 @@ config KEMBTK_BUSYB_RDEV config KEMBTK_BUSYB_READPROFILE bool "readprofile" default y - #depends on KEMBTK_BUSYB_PLATFORM_LINUX + #select KEMBTK_BUSYB_PLATFORM_LINUX help This allows you to parse /proc/profile for basic profiling. config KEMBTK_BUSYB_RTCWAKE bool "rtcwake" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_PLATFORM_LINUX help Enter a system sleep state until specified wakeup time. @@ -640,7 +630,6 @@ config KEMBTK_BUSYB_SCRIPT config KEMBTK_BUSYB_SCRIPTREPLAY bool "scriptreplay" - depends on EMBTK_BB_VERSION_1_15_X || EMBTK_BB_VERSION_1_16_X || EMBTK_BB_VERSION_1_17_X || EMBTK_BB_VERSION_1_18_X default y help This program replays a typescript, using timing information @@ -649,7 +638,7 @@ config KEMBTK_BUSYB_SCRIPTREPLAY config KEMBTK_BUSYB_SETARCH bool "setarch" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_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 @@ -659,7 +648,7 @@ config KEMBTK_BUSYB_SETARCH config KEMBTK_BUSYB_SWAPONOFF bool "swaponoff" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_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 @@ -678,7 +667,7 @@ config KEMBTK_BUSYB_FEATURE_SWAPON_PRI config KEMBTK_BUSYB_SWITCH_ROOT bool "switch_root" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_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 @@ -698,7 +687,7 @@ config KEMBTK_BUSYB_SWITCH_ROOT config KEMBTK_BUSYB_UMOUNT bool "umount" default y - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_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 @@ -736,7 +725,6 @@ config KEMBTK_BUSYB_FEATURE_MOUNT_LOOP_CREATE bool "Create new loopback devices if needed" default y depends on KEMBTK_BUSYB_FEATURE_MOUNT_LOOP - depends on EMBTK_BB_VERSION_1_17_X || EMBTK_BB_VERSION_1_18_X 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 |