busybox: update to 1.22.1
[openwrt/openwrt.git] / package / utils / busybox / config / util-linux / Config.in
index d60b139a8b3b944025953afb33e3f42fee747c55..f78234de82b0bd8ba7b3327aa2d928f486062c5a 100644 (file)
@@ -8,18 +8,81 @@ menu "Linux System Utilities"
 
 config BUSYBOX_CONFIG_BLOCKDEV
        bool "blockdev"
-       default n
+       default BUSYBOX_DEFAULT_BLOCKDEV
        help
          Performs some ioctls with block devices.
+config BUSYBOX_CONFIG_FSTRIM
+       bool "fstrim"
+       default BUSYBOX_DEFAULT_FSTRIM
+       select BUSYBOX_CONFIG_PLATFORM_LINUX
+       help
+         Discard unused blocks on a mounted filesystem.
+config BUSYBOX_CONFIG_MDEV
+       bool "mdev"
+       default BUSYBOX_DEFAULT_MDEV
+       select BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_FEATURE_MDEV_CONF
+       bool "Support /etc/mdev.conf"
+       default BUSYBOX_DEFAULT_FEATURE_MDEV_CONF
+       depends on BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_FEATURE_MDEV_RENAME
+       bool "Support subdirs/symlinks"
+       default BUSYBOX_DEFAULT_FEATURE_MDEV_RENAME
+       depends on BUSYBOX_CONFIG_FEATURE_MDEV_CONF
+       help
+         Add support for renaming devices and creating symlinks.
+
+         For more information, please see docs/mdev.txt
+
+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
+         Add support for regular expressions substitutions when renaming
+         device.
+
+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
+         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 BUSYBOX_CONFIG_FEATURE_MDEV_LOAD_FIRMWARE
+       bool "Support loading of firmwares"
+       default BUSYBOX_DEFAULT_FEATURE_MDEV_LOAD_FIRMWARE
+       depends on BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_REV
        bool "rev"
-       default n
+       default BUSYBOX_DEFAULT_REV
        help
          Reverse lines of a file or files.
 
 config BUSYBOX_CONFIG_ACPID
        bool "acpid"
-       default n
+       default BUSYBOX_DEFAULT_ACPID
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          acpid listens to ACPI events coming either in textual form from
@@ -35,14 +98,14 @@ config BUSYBOX_CONFIG_ACPID
 
 config BUSYBOX_CONFIG_FEATURE_ACPID_COMPAT
        bool "Accept and ignore redundant options"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_ACPID_COMPAT
        depends on BUSYBOX_CONFIG_ACPID
        help
          Accept and ignore compatibility options -g -m -s -S -v.
 
 config BUSYBOX_CONFIG_BLKID
        bool "blkid"
-       default n
+       default BUSYBOX_DEFAULT_BLKID
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        select BUSYBOX_CONFIG_VOLUMEID
        help
@@ -52,14 +115,14 @@ config BUSYBOX_CONFIG_BLKID
 
 config BUSYBOX_CONFIG_FEATURE_BLKID_TYPE
        bool "Print filesystem type"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_BLKID_TYPE
        depends on BUSYBOX_CONFIG_BLKID
        help
          Show TYPE="filesystem type"
 
 config BUSYBOX_CONFIG_DMESG
        bool "dmesg"
-       default y
+       default BUSYBOX_DEFAULT_DMESG
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          dmesg is used to examine or control the kernel ring buffer. When the
@@ -72,7 +135,7 @@ config BUSYBOX_CONFIG_DMESG
 
 config BUSYBOX_CONFIG_FEATURE_DMESG_PRETTY
        bool "Pretty dmesg output"
-       default y
+       default BUSYBOX_DEFAULT_FEATURE_DMESG_PRETTY
        depends on BUSYBOX_CONFIG_DMESG
        help
          If you wish to scrub the syslog level from the output, say 'Y' here.
@@ -93,7 +156,7 @@ config BUSYBOX_CONFIG_FEATURE_DMESG_PRETTY
 
 config BUSYBOX_CONFIG_FBSET
        bool "fbset"
-       default n
+       default BUSYBOX_DEFAULT_FBSET
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          fbset is used to show or change the settings of a Linux frame buffer
@@ -103,7 +166,7 @@ config BUSYBOX_CONFIG_FBSET
 
 config BUSYBOX_CONFIG_FEATURE_FBSET_FANCY
        bool "Turn on extra fbset options"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_FBSET_FANCY
        depends on BUSYBOX_CONFIG_FBSET
        help
          This option enables extended fbset options, allowing one to set the
@@ -113,16 +176,16 @@ config BUSYBOX_CONFIG_FEATURE_FBSET_FANCY
 
 config BUSYBOX_CONFIG_FEATURE_FBSET_READMODE
        bool "Turn on fbset readmode support"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_FBSET_READMODE
        depends on BUSYBOX_CONFIG_FBSET
        help
          This option allows fbset to read the video mode database stored by
-         default n /etc/fb.modes, which can be used to set frame buffer
+         default BUSYBOX_DEFAULT_FEATURE_FBSET_READMODE /etc/fb.modes, which can be used to set frame buffer
          device to pre-defined video modes.
 
 config BUSYBOX_CONFIG_FDFLUSH
        bool "fdflush"
-       default n
+       default BUSYBOX_DEFAULT_FDFLUSH
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          fdflush is only needed when changing media on slightly-broken
@@ -135,14 +198,14 @@ config BUSYBOX_CONFIG_FDFLUSH
 
 config BUSYBOX_CONFIG_FDFORMAT
        bool "fdformat"
-       default n
+       default BUSYBOX_DEFAULT_FDFORMAT
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          fdformat is used to low-level format a floppy disk.
 
 config BUSYBOX_CONFIG_FDISK
        bool "fdisk"
-       default n
+       default BUSYBOX_DEFAULT_FDISK
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          The fdisk utility is used to divide hard disks into one or more
@@ -152,7 +215,7 @@ config BUSYBOX_CONFIG_FDISK
 
 config BUSYBOX_CONFIG_FDISK_SUPPORT_LARGE_DISKS
        bool "Support over 4GB disks"
-       default y
+       default BUSYBOX_DEFAULT_FDISK_SUPPORT_LARGE_DISKS
        depends on BUSYBOX_CONFIG_FDISK
        depends on !BUSYBOX_CONFIG_LFS   # with LFS no special code is needed
        help
@@ -160,7 +223,7 @@ config BUSYBOX_CONFIG_FDISK_SUPPORT_LARGE_DISKS
 
 config BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
        bool "Write support"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_FDISK_WRITABLE
        depends on BUSYBOX_CONFIG_FDISK
        help
          Enabling this option allows you to create or change a partition table
@@ -169,7 +232,7 @@ config BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
 
 config BUSYBOX_CONFIG_FEATURE_AIX_LABEL
        bool "Support AIX disklabels"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_AIX_LABEL
        depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
        help
          Enabling this option allows you to create or change AIX disklabels.
@@ -177,7 +240,7 @@ config BUSYBOX_CONFIG_FEATURE_AIX_LABEL
 
 config BUSYBOX_CONFIG_FEATURE_SGI_LABEL
        bool "Support SGI disklabels"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_SGI_LABEL
        depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
        help
          Enabling this option allows you to create or change SGI disklabels.
@@ -185,7 +248,7 @@ config BUSYBOX_CONFIG_FEATURE_SGI_LABEL
 
 config BUSYBOX_CONFIG_FEATURE_SUN_LABEL
        bool "Support SUN disklabels"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_SUN_LABEL
        depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
        help
          Enabling this option allows you to create or change SUN disklabels.
@@ -193,7 +256,7 @@ config BUSYBOX_CONFIG_FEATURE_SUN_LABEL
 
 config BUSYBOX_CONFIG_FEATURE_OSF_LABEL
        bool "Support BSD disklabels"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_OSF_LABEL
        depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
        help
          Enabling this option allows you to create or change BSD disklabels
@@ -201,7 +264,7 @@ config BUSYBOX_CONFIG_FEATURE_OSF_LABEL
 
 config BUSYBOX_CONFIG_FEATURE_GPT_LABEL
        bool "Support GPT disklabels"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_GPT_LABEL
        depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
        help
          Enabling this option allows you to view GUID Partition Table
@@ -209,7 +272,7 @@ config BUSYBOX_CONFIG_FEATURE_GPT_LABEL
 
 config BUSYBOX_CONFIG_FEATURE_FDISK_ADVANCED
        bool "Support expert mode"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_FDISK_ADVANCED
        depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
        help
          Enabling this option allows you to do terribly unsafe things like
@@ -219,7 +282,7 @@ config BUSYBOX_CONFIG_FEATURE_FDISK_ADVANCED
 
 config BUSYBOX_CONFIG_FINDFS
        bool "findfs"
-       default n
+       default BUSYBOX_DEFAULT_FINDFS
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        select BUSYBOX_CONFIG_VOLUMEID
        help
@@ -229,13 +292,13 @@ config BUSYBOX_CONFIG_FINDFS
 
 config BUSYBOX_CONFIG_FLOCK
        bool "flock"
-       default n
+       default BUSYBOX_DEFAULT_FLOCK
        help
          Manage locks from shell scripts
 
 config BUSYBOX_CONFIG_FREERAMDISK
        bool "freeramdisk"
-       default n
+       default BUSYBOX_DEFAULT_FREERAMDISK
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          Linux allows you to create ramdisks. This utility allows you to
@@ -247,7 +310,7 @@ config BUSYBOX_CONFIG_FREERAMDISK
 
 config BUSYBOX_CONFIG_FSCK_MINIX
        bool "fsck_minix"
-       default n
+       default BUSYBOX_DEFAULT_FSCK_MINIX
        help
          The minix filesystem is a nice, small, compact, read-write filesystem
          with little overhead. It is not a journaling filesystem however and
@@ -258,14 +321,14 @@ config BUSYBOX_CONFIG_FSCK_MINIX
 
 config BUSYBOX_CONFIG_MKFS_EXT2
        bool "mkfs_ext2"
-       default n
+       default BUSYBOX_DEFAULT_MKFS_EXT2
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          Utility to create EXT2 filesystems.
 
 config BUSYBOX_CONFIG_MKFS_MINIX
        bool "mkfs_minix"
-       default n
+       default BUSYBOX_DEFAULT_MKFS_MINIX
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          The minix filesystem is a nice, small, compact, read-write filesystem
@@ -274,7 +337,7 @@ config BUSYBOX_CONFIG_MKFS_MINIX
 
 config BUSYBOX_CONFIG_FEATURE_MINIX2
        bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_MINIX2
        depends on BUSYBOX_CONFIG_FSCK_MINIX || BUSYBOX_CONFIG_MKFS_MINIX
        help
          If you wish to be able to create version 2 minix filesystems, enable
@@ -283,7 +346,7 @@ config BUSYBOX_CONFIG_FEATURE_MINIX2
 
 config BUSYBOX_CONFIG_MKFS_REISER
        bool "mkfs_reiser"
-       default n
+       default BUSYBOX_DEFAULT_MKFS_REISER
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          Utility to create ReiserFS filesystems.
@@ -291,14 +354,14 @@ config BUSYBOX_CONFIG_MKFS_REISER
 
 config BUSYBOX_CONFIG_MKFS_VFAT
        bool "mkfs_vfat"
-       default n
+       default BUSYBOX_DEFAULT_MKFS_VFAT
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          Utility to create FAT32 filesystems.
 
 config BUSYBOX_CONFIG_GETOPT
        bool "getopt"
-       default n
+       default BUSYBOX_DEFAULT_GETOPT
        help
          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
@@ -309,21 +372,21 @@ config BUSYBOX_CONFIG_GETOPT
 
 config BUSYBOX_CONFIG_FEATURE_GETOPT_LONG
        bool "Support option -l"
-       default n if BUSYBOX_CONFIG_LONG_OPTS
+       default BUSYBOX_DEFAULT_FEATURE_GETOPT_LONG if BUSYBOX_CONFIG_LONG_OPTS
        depends on BUSYBOX_CONFIG_GETOPT
        help
          Enable support for long options (option -l).
 
 config BUSYBOX_CONFIG_HEXDUMP
        bool "hexdump"
-       default y
+       default BUSYBOX_DEFAULT_HEXDUMP
        help
          The hexdump utility is used to display binary data in a readable
          way that is comparable to the output from most hex editors.
 
 config BUSYBOX_CONFIG_FEATURE_HEXDUMP_REVERSE
        bool "Support -R, reverse of 'hexdump -Cv'"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_HEXDUMP_REVERSE
        depends on BUSYBOX_CONFIG_HEXDUMP
        help
          The hexdump utility is used to display binary data in an ascii
@@ -333,14 +396,14 @@ config BUSYBOX_CONFIG_FEATURE_HEXDUMP_REVERSE
 
 config BUSYBOX_CONFIG_HD
        bool "hd"
-       default n
+       default BUSYBOX_DEFAULT_HD
        depends on BUSYBOX_CONFIG_HEXDUMP
        help
          hd is an alias to hexdump -C.
 
 config BUSYBOX_CONFIG_HWCLOCK
        bool "hwclock"
-       default y
+       default BUSYBOX_DEFAULT_HWCLOCK
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          The hwclock utility is used to read and set the hardware clock
@@ -350,7 +413,7 @@ config BUSYBOX_CONFIG_HWCLOCK
 
 config BUSYBOX_CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS
        bool "Support long options (--hctosys,...)"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_HWCLOCK_LONG_OPTIONS
        depends on BUSYBOX_CONFIG_HWCLOCK && BUSYBOX_CONFIG_LONG_OPTS
        help
          By default, the hwclock utility only uses short options. If you
@@ -359,7 +422,7 @@ config BUSYBOX_CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS
 
 config BUSYBOX_CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS
        bool "Use FHS /var/lib/hwclock/adjtime"
-       default n  # util-linux-ng in Fedora 13 still uses /etc/adjtime
+       default BUSYBOX_DEFAULT_FEATURE_HWCLOCK_ADJTIME_FHS  # util-linux-ng in Fedora 13 still uses /etc/adjtime
        depends on BUSYBOX_CONFIG_HWCLOCK
        help
          Starting with FHS 2.3, the adjtime state file is supposed to exist
@@ -371,7 +434,7 @@ config BUSYBOX_CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS
 
 config BUSYBOX_CONFIG_IPCRM
        bool "ipcrm"
-       default n
+       default BUSYBOX_DEFAULT_IPCRM
        help
          The ipcrm utility allows the removal of System V interprocess
          communication (IPC) objects and the associated data structures
@@ -379,7 +442,7 @@ config BUSYBOX_CONFIG_IPCRM
 
 config BUSYBOX_CONFIG_IPCS
        bool "ipcs"
-       default n
+       default BUSYBOX_DEFAULT_IPCS
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          The ipcs utility is used to provide information on the currently
@@ -387,7 +450,7 @@ config BUSYBOX_CONFIG_IPCS
 
 config BUSYBOX_CONFIG_LOSETUP
        bool "losetup"
-       default n
+       default BUSYBOX_DEFAULT_LOSETUP
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          losetup is used to associate or detach a loop device with a regular
@@ -396,7 +459,7 @@ config BUSYBOX_CONFIG_LOSETUP
 
 config BUSYBOX_CONFIG_LSPCI
        bool "lspci"
-       default n
+       default BUSYBOX_DEFAULT_LSPCI
        #select PLATFORM_LINUX
        help
          lspci is a utility for displaying information about PCI buses in the
@@ -406,7 +469,7 @@ config BUSYBOX_CONFIG_LSPCI
 
 config BUSYBOX_CONFIG_LSUSB
        bool "lsusb"
-       default n
+       default BUSYBOX_DEFAULT_LSUSB
        #select PLATFORM_LINUX
        help
          lsusb is a utility for displaying information about USB buses in the
@@ -414,67 +477,9 @@ config BUSYBOX_CONFIG_LSUSB
 
          This version uses sysfs (/sys/bus/usb/devices) only.
 
-config BUSYBOX_CONFIG_MDEV
-       bool "mdev"
-       default n
-       select BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_FEATURE_MDEV_CONF
-       bool "Support /etc/mdev.conf"
-       default n
-       depends on BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_FEATURE_MDEV_RENAME
-       bool "Support subdirs/symlinks"
-       default n
-       depends on BUSYBOX_CONFIG_FEATURE_MDEV_CONF
-       help
-         Add support for renaming devices and creating symlinks.
-
-         For more information, please see docs/mdev.txt
-
-config BUSYBOX_CONFIG_FEATURE_MDEV_RENAME_REGEXP
-       bool "Support regular expressions substitutions when renaming device"
-       default n
-       depends on BUSYBOX_CONFIG_FEATURE_MDEV_RENAME
-       help
-         Add support for regular expressions substitutions when renaming
-         device.
-
-config BUSYBOX_CONFIG_FEATURE_MDEV_EXEC
-       bool "Support command execution at device addition/removal"
-       default n
-       depends on BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_FEATURE_MDEV_LOAD_FIRMWARE
-       bool "Support loading of firmwares"
-       default n
-       depends on BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_MKSWAP
        bool "mkswap"
-       default y
+       default BUSYBOX_DEFAULT_MKSWAP
        help
          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
@@ -487,14 +492,14 @@ config BUSYBOX_CONFIG_MKSWAP
 
 config BUSYBOX_CONFIG_FEATURE_MKSWAP_UUID
        bool "UUID support"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_MKSWAP_UUID
        depends on BUSYBOX_CONFIG_MKSWAP
        help
          Generate swap spaces with universally unique identifiers.
 
 config BUSYBOX_CONFIG_MORE
        bool "more"
-       default n
+       default BUSYBOX_DEFAULT_MORE
        help
          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
@@ -504,7 +509,7 @@ config BUSYBOX_CONFIG_MORE
 
 config BUSYBOX_CONFIG_MOUNT
        bool "mount"
-       default y
+       default BUSYBOX_DEFAULT_MOUNT
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          All files and filesystems in Unix are arranged into one big directory
@@ -516,14 +521,14 @@ config BUSYBOX_CONFIG_MOUNT
 
 config BUSYBOX_CONFIG_FEATURE_MOUNT_FAKE
        bool "Support option -f"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_MOUNT_FAKE
        depends on BUSYBOX_CONFIG_MOUNT
        help
          Enable support for faking a file system mount.
 
 config BUSYBOX_CONFIG_FEATURE_MOUNT_VERBOSE
        bool "Support option -v"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_MOUNT_VERBOSE
        depends on BUSYBOX_CONFIG_MOUNT
        help
          Enable multi-level -v[vv...] verbose messages. Useful if you
@@ -532,7 +537,7 @@ config BUSYBOX_CONFIG_FEATURE_MOUNT_VERBOSE
 
 config BUSYBOX_CONFIG_FEATURE_MOUNT_HELPERS
        bool "Support mount helpers"
-       default y
+       default BUSYBOX_DEFAULT_FEATURE_MOUNT_HELPERS
        depends on BUSYBOX_CONFIG_MOUNT
        help
          Enable mounting of virtual file systems via external helpers.
@@ -544,7 +549,7 @@ config BUSYBOX_CONFIG_FEATURE_MOUNT_HELPERS
 
 config BUSYBOX_CONFIG_FEATURE_MOUNT_LABEL
        bool "Support specifying devices by label or UUID"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_MOUNT_LABEL
        depends on BUSYBOX_CONFIG_MOUNT
        select BUSYBOX_CONFIG_VOLUMEID
        help
@@ -553,17 +558,22 @@ config BUSYBOX_CONFIG_FEATURE_MOUNT_LABEL
          This also enables label or uuid support for swapon.
 
 config BUSYBOX_CONFIG_FEATURE_MOUNT_NFS
-       bool "Support mounting NFS file systems"
-       default n
+       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_HAVE_RPC
        select BUSYBOX_CONFIG_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 IPv6 will not be possible.
+
+         Note that this option links in RPC support from libc,
+         which is rather large (~10 kbytes on uclibc).
 
 config BUSYBOX_CONFIG_FEATURE_MOUNT_CIFS
        bool "Support mounting CIFS/SMB file systems"
-       default y
+       default BUSYBOX_DEFAULT_FEATURE_MOUNT_CIFS
        depends on BUSYBOX_CONFIG_MOUNT
        help
          Enable support for samba mounts.
@@ -571,7 +581,7 @@ config BUSYBOX_CONFIG_FEATURE_MOUNT_CIFS
 config BUSYBOX_CONFIG_FEATURE_MOUNT_FLAGS
        depends on BUSYBOX_CONFIG_MOUNT
        bool "Support lots of -o flags in mount"
-       default y
+       default BUSYBOX_DEFAULT_FEATURE_MOUNT_FLAGS
        help
          Without this, mount only supports ro/rw/remount. With this, it
          supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
@@ -581,13 +591,13 @@ config BUSYBOX_CONFIG_FEATURE_MOUNT_FLAGS
 config BUSYBOX_CONFIG_FEATURE_MOUNT_FSTAB
        depends on BUSYBOX_CONFIG_MOUNT
        bool "Support /etc/fstab and -a"
-       default y
+       default BUSYBOX_DEFAULT_FEATURE_MOUNT_FSTAB
        help
          Support mount all and looking for files in /etc/fstab.
 
 config BUSYBOX_CONFIG_PIVOT_ROOT
        bool "pivot_root"
-       default y
+       default BUSYBOX_DEFAULT_PIVOT_ROOT
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          The pivot_root utility swaps the mount points for the root filesystem
@@ -600,7 +610,7 @@ config BUSYBOX_CONFIG_PIVOT_ROOT
 
 config BUSYBOX_CONFIG_RDATE
        bool "rdate"
-       default n
+       default BUSYBOX_DEFAULT_RDATE
        help
          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
@@ -609,40 +619,40 @@ config BUSYBOX_CONFIG_RDATE
 
 config BUSYBOX_CONFIG_RDEV
        bool "rdev"
-       default n
+       default BUSYBOX_DEFAULT_RDEV
        help
          Print the device node associated with the filesystem mounted at '/'.
 
 config BUSYBOX_CONFIG_READPROFILE
        bool "readprofile"
-       default n
+       default BUSYBOX_DEFAULT_READPROFILE
        #select PLATFORM_LINUX
        help
          This allows you to parse /proc/profile for basic profiling.
 
 config BUSYBOX_CONFIG_RTCWAKE
        bool "rtcwake"
-       default n
+       default BUSYBOX_DEFAULT_RTCWAKE
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          Enter a system sleep state until specified wakeup time.
 
 config BUSYBOX_CONFIG_SCRIPT
        bool "script"
-       default n
+       default BUSYBOX_DEFAULT_SCRIPT
        help
          The script makes typescript of terminal session.
 
 config BUSYBOX_CONFIG_SCRIPTREPLAY
        bool "scriptreplay"
-       default n
+       default BUSYBOX_DEFAULT_SCRIPTREPLAY
        help
          This program replays a typescript, using timing information
          given by script -t.
 
 config BUSYBOX_CONFIG_SETARCH
        bool "setarch"
-       default n
+       default BUSYBOX_DEFAULT_SETARCH
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          The linux32 utility is used to create a 32bit environment for the
@@ -652,7 +662,7 @@ config BUSYBOX_CONFIG_SETARCH
 
 config BUSYBOX_CONFIG_SWAPONOFF
        bool "swaponoff"
-       default y
+       default BUSYBOX_DEFAULT_SWAPONOFF
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          This option enables both the 'swapon' and the 'swapoff' utilities.
@@ -664,14 +674,14 @@ config BUSYBOX_CONFIG_SWAPONOFF
 
 config BUSYBOX_CONFIG_FEATURE_SWAPON_PRI
        bool "Support priority option -p"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_SWAPON_PRI
        depends on BUSYBOX_CONFIG_SWAPONOFF
        help
          Enable support for setting swap device priority in swapon.
 
 config BUSYBOX_CONFIG_SWITCH_ROOT
        bool "switch_root"
-       default y
+       default BUSYBOX_DEFAULT_SWITCH_ROOT
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          The switch_root utility is used from initramfs to select a new
@@ -691,7 +701,7 @@ config BUSYBOX_CONFIG_SWITCH_ROOT
 
 config BUSYBOX_CONFIG_UMOUNT
        bool "umount"
-       default y
+       default BUSYBOX_DEFAULT_UMOUNT
        select BUSYBOX_CONFIG_PLATFORM_LINUX
        help
          When you want to remove a mounted filesystem from its current mount
@@ -701,7 +711,7 @@ config BUSYBOX_CONFIG_UMOUNT
 
 config BUSYBOX_CONFIG_FEATURE_UMOUNT_ALL
        bool "Support option -a"
-       default y
+       default BUSYBOX_DEFAULT_FEATURE_UMOUNT_ALL
        depends on BUSYBOX_CONFIG_UMOUNT
        help
          Support -a option to unmount all currently mounted filesystems.
@@ -711,7 +721,7 @@ comment "Common options for mount/umount"
 
 config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP
        bool "Support loopback mounts"
-       default y
+       default BUSYBOX_DEFAULT_FEATURE_MOUNT_LOOP
        depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
        help
          Enabling this feature allows automatic mounting of files (containing
@@ -728,7 +738,7 @@ config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP
 
 config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP_CREATE
        bool "Create new loopback devices if needed"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_MOUNT_LOOP_CREATE
        depends on BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP
        help
          Linux kernels >= 2.6.24 support unlimited loopback devices. They are
@@ -740,7 +750,7 @@ config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP_CREATE
 
 config BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT
        bool "Support for the old /etc/mtab file"
-       default n
+       default BUSYBOX_DEFAULT_FEATURE_MTAB_SUPPORT
        depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
        select BUSYBOX_CONFIG_FEATURE_MOUNT_FAKE
        help
@@ -762,224 +772,6 @@ config BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT
          About the only reason to use this is if you've removed /proc from
          your kernel.
 
-config BUSYBOX_CONFIG_VOLUMEID
-       bool #No description makes it a hidden option
-       default n
-
-menu "Filesystem/Volume identification"
-       depends on BUSYBOX_CONFIG_VOLUMEID
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_EXT
-       bool "Ext filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_BTRFS
-       bool "btrfs filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_REISERFS
-       bool "Reiser filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_FAT
-       bool "fat filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_HFS
-       bool "hfs filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_JFS
-       bool "jfs filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-### config FEATURE_VOLUMEID_UFS
-###    bool "ufs filesystem"
-###    default y
-###    depends on VOLUMEID
-###    help
-###      TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_XFS
-       bool "xfs filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_NTFS
-       bool "ntfs filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_ISO9660
-       bool "iso9660 filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_UDF
-       bool "udf filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_LUKS
-       bool "luks filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_LINUXSWAP
-       bool "linux swap filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-### config FEATURE_VOLUMEID_LVM
-###    bool "lvm"
-###    default y
-###    depends on VOLUMEID
-###    help
-###      TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_CRAMFS
-       bool "cramfs filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-### config FEATURE_VOLUMEID_HPFS
-###    bool "hpfs filesystem"
-###    default y
-###    depends on VOLUMEID
-###    help
-###      TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_ROMFS
-       bool "romfs filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_SYSV
-       bool "sysv filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-### config FEATURE_VOLUMEID_MINIX
-###    bool "minix filesystem"
-###    default y
-###    depends on VOLUMEID
-###    help
-###      TODO
-
-### These only detect partition tables - not used (yet?)
-### config FEATURE_VOLUMEID_MAC
-###    bool "mac filesystem"
-###    default y
-###    depends on VOLUMEID
-###    help
-###      TODO
-###
-### config FEATURE_VOLUMEID_MSDOS
-###    bool "msdos filesystem"
-###    default y
-###    depends on VOLUMEID
-###    help
-###      TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_OCFS2
-       bool "ocfs2 filesystem"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-### config FEATURE_VOLUMEID_HIGHPOINTRAID
-###    bool "highpoint raid"
-###    default y
-###    depends on VOLUMEID
-###    help
-###      TODO
-
-### config FEATURE_VOLUMEID_ISWRAID
-###    bool "intel raid"
-###    default y
-###    depends on VOLUMEID
-###    help
-###      TODO
-
-### config FEATURE_VOLUMEID_LSIRAID
-###    bool "lsi raid"
-###    default y
-###    depends on VOLUMEID
-###    help
-###      TODO
-
-### config FEATURE_VOLUMEID_VIARAID
-###    bool "via raid"
-###    default y
-###    depends on VOLUMEID
-###    help
-###      TODO
-
-### config FEATURE_VOLUMEID_SILICONRAID
-###    bool "silicon raid"
-###    default y
-###    depends on VOLUMEID
-###    help
-###      TODO
-
-### config FEATURE_VOLUMEID_NVIDIARAID
-###    bool "nvidia raid"
-###    default y
-###    depends on VOLUMEID
-###    help
-###      TODO
-
-### config FEATURE_VOLUMEID_PROMISERAID
-###    bool "promise raid"
-###    default y
-###    depends on VOLUMEID
-###    help
-###      TODO
-
-config BUSYBOX_CONFIG_FEATURE_VOLUMEID_LINUXRAID
-       bool "linuxraid"
-       default n
-       depends on BUSYBOX_CONFIG_VOLUMEID
-       help
-         TODO
-
-endmenu
+source package/utils/busybox/config/util-linux/volume_id/Config.in
 
 endmenu