just include fcntl.h not sys/fcntl.h
[oweals/busybox.git] / util-linux / Config.in
index 27410bf1071160163a149e2280d88483f518b717..f76f3f4c44c8e936cfe22b65417054cc55d63af9 100644 (file)
@@ -27,7 +27,7 @@ config CONFIG_FBSET
          if you wish to enable the 'fbset' utility.
 
 config CONFIG_FEATURE_FBSET_FANCY
-       bool "  Turn on extra fbset options"
+       bool "Turn on extra fbset options"
        default n
        depends on CONFIG_FBSET
        help
@@ -37,7 +37,7 @@ config CONFIG_FEATURE_FBSET_FANCY
          options.
 
 config CONFIG_FEATURE_FBSET_READMODE
-       bool "  Turn on fbset readmode support"
+       bool "Turn on fbset readmode support"
        default n
        depends on CONFIG_FBSET
        help
@@ -73,14 +73,14 @@ config CONFIG_FDISK
          'disk slices' that are defined on a hard drive.
 
 config FDISK_SUPPORT_LARGE_DISKS
-       bool "  support over 4GB disks"
+       bool "support over 4GB disks"
        default y
        depends on CONFIG_FDISK
        help
          Enable this option to support large disks > 4GB.
 
 config CONFIG_FEATURE_FDISK_WRITABLE
-       bool "  Write support"
+       bool "Write support"
        default y
        depends on CONFIG_FDISK
        help
@@ -89,7 +89,7 @@ config CONFIG_FEATURE_FDISK_WRITABLE
          disabled, you will only be able to view the partition table.
 
 config CONFIG_FEATURE_AIX_LABEL
-       bool "  Support AIX disklabels"
+       bool "Support AIX disklabels"
        default n
        depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
        help
@@ -97,7 +97,7 @@ config CONFIG_FEATURE_AIX_LABEL
          Most people can safely leave this option disabled.
 
 config CONFIG_FEATURE_SGI_LABEL
-       bool "  Support SGI disklabels"
+       bool "Support SGI disklabels"
        default n
        depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
        help
@@ -105,7 +105,7 @@ config CONFIG_FEATURE_SGI_LABEL
          Most people can safely leave this option disabled.
 
 config CONFIG_FEATURE_SUN_LABEL
-       bool "  Support SUN disklabels"
+       bool "Support SUN disklabels"
        default n
        depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
        help
@@ -113,7 +113,7 @@ config CONFIG_FEATURE_SUN_LABEL
          Most people can safely leave this option disabled.
 
 config CONFIG_FEATURE_OSF_LABEL
-       bool "  Support BSD disklabels"
+       bool "Support BSD disklabels"
        default n
        depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
        help
@@ -121,7 +121,7 @@ config CONFIG_FEATURE_OSF_LABEL
          and define and edit BSD disk slices.
 
 config CONFIG_FEATURE_FDISK_ADVANCED
-       bool "  Support expert mode"
+       bool "Support expert mode"
        default n
        depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
        help
@@ -164,7 +164,7 @@ comment "Minix filesystem support"
     depends on CONFIG_FSCK_MINIX || CONFIG_MKFS_MINIX
 
 config CONFIG_FEATURE_MINIX2
-       bool "  Support Minix fs v2 (fsck_minix/mkfs_minix)"
+       bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
        default y
        depends on CONFIG_FSCK_MINIX || CONFIG_MKFS_MINIX
        help
@@ -200,7 +200,7 @@ config CONFIG_HWCLOCK
          correct time when Linux is _not_ running.
 
 config CONFIG_FEATURE_HWCLOCK_LONGOPTIONS
-       bool "  Support long options (--hctosys,...)"
+       bool "Support long options (--hctosys,...)"
        default n
        depends on CONFIG_HWCLOCK
        help
@@ -209,7 +209,7 @@ config CONFIG_FEATURE_HWCLOCK_LONGOPTIONS
          then enable this option.
 
 config CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS
-       bool "  Use FHS /var/lib/hwclock/adjtime"
+       bool "Use FHS /var/lib/hwclock/adjtime"
        default y
        depends on CONFIG_HWCLOCK
        help
@@ -250,12 +250,12 @@ config CONFIG_MDEV
        default n
        help
          mdev is a mini-udev implementation: call it with -s to populate
-         /dev from /sys, then "echo /sbin/mdev > /sys/kernel/hotplug" to
+         /dev from /sys, then "echo /sbin/mdev > /proc/sys/kernel/hotplug" to
          have it handle hotplug events afterwards.  Device names are taken
          from sysfs.
 
 config CONFIG_FEATURE_MDEV_CONF
-       bool "  Support /etc/mdev.conf"
+       bool "Support /etc/mdev.conf"
        default n
        depends on CONFIG_MDEV
        help
@@ -288,6 +288,16 @@ config CONFIG_MKSWAP
          Once you have created swap space using 'mkswap' you need to enable
          the swap space using the 'swapon' utility.
 
+config CONFIG_FEATURE_MKSWAP_V0
+       bool "version 0 support"
+       default n
+       depends on CONFIG_MKSWAP
+#      depends on CONFIG_MKSWAP && CONFIG_DEPRECATED
+       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 CONFIG_MORE
        bool "more"
        default n
@@ -299,7 +309,7 @@ config CONFIG_MORE
          any need to reading text files, you can leave this disabled.
 
 config CONFIG_FEATURE_USE_TERMIOS
-       bool "  Use termios to manipulate the screen"
+       bool "Use termios to manipulate the screen"
        default y
        depends on CONFIG_MORE
        help
@@ -309,6 +319,24 @@ config CONFIG_FEATURE_USE_TERMIOS
          will be unable to determine the current screen size, and will be
          unable to move the cursor.
 
+config CONFIG_MOUNT
+       bool "mount"
+       default n
+       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
+         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.  Most people using BusyBox will also want to enable
+         the 'mount' utility.
+
+config CONFIG_FEATURE_MOUNT_NFS
+       bool "Support mounting NFS file systems"
+       default n
+       depends on CONFIG_MOUNT
+       help
+        Enable mounting of NFS file systems.
+
 config CONFIG_PIVOT_ROOT
        bool "pivot_root"
        default n
@@ -321,25 +349,6 @@ config CONFIG_PIVOT_ROOT
          Note: This is for initrd in linux 2.4.  Under initramfs (introduced
          in linux 2.6) use switch_root instead.
 
-config CONFIG_SWITCH_ROOT
-       bool "switch_root"
-       default n
-       help
-         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.
-
-         * 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.
-
 config CONFIG_RDATE
        bool "rdate"
        default n
@@ -355,6 +364,15 @@ config CONFIG_READPROFILE
        help
          This allows you to parse /proc/profile for basic profiling.
 
+config CONFIG_SETARCH
+       bool "setarch"
+       default n
+       help
+         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...).
+
 config CONFIG_SWAPONOFF
        bool "swaponoff"
        default n
@@ -366,23 +384,24 @@ config CONFIG_SWAPONOFF
          space.  If you are not using any swap space, you can leave this
          option disabled.
 
-config CONFIG_MOUNT
-       bool "mount"
+config CONFIG_SWITCH_ROOT
+       bool "switch_root"
        default n
        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
-         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.  Most people using BusyBox will also want to enable
-         the 'mount' utility.
+         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.)
 
-config CONFIG_FEATURE_MOUNT_NFS
-       bool "  Support mounting NFS file systems"
-       default n
-       depends on CONFIG_MOUNT
-       help
-        Enable mounting of NFS file systems.
+         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.
+
+         * 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.
 
 config CONFIG_UMOUNT
        bool "umount"
@@ -393,11 +412,18 @@ config CONFIG_UMOUNT
          the tool to use.  If you enabled the 'mount' utility, you almost certainly
          also want to enable 'umount'.
 
+config CONFIG_FEATURE_UMOUNT_ALL
+       bool "umount -a option"
+       default n
+       depends on CONFIG_UMOUNT
+       help
+         Support -a option to unmount all currently mounted filesystems.
+
 comment "Common options for mount/umount"
        depends on CONFIG_MOUNT || CONFIG_UMOUNT
 
 config CONFIG_FEATURE_MOUNT_LOOP
-       bool "  Support loopback mounts"
+       bool "Support loopback mounts"
        default n
        depends on CONFIG_MOUNT || CONFIG_UMOUNT
        help
@@ -413,7 +439,7 @@ config CONFIG_FEATURE_MOUNT_LOOP
          (If you don't want umount to free the loop device, use "umount -D".)
 
 config CONFIG_FEATURE_MTAB_SUPPORT
-       bool "  Support for the old /etc/mtab file"
+       bool "Support for the old /etc/mtab file"
        default n
        depends on CONFIG_MOUNT || CONFIG_UMOUNT
        help