blob: 91d1fc2cedc76599f4a34c30879a0328a045234a [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Linux System Utilities"
7
Denys Vlasenkod70e0e92010-06-08 12:15:11 +02008INSERT
9
Denis Vlasenkod16950d2008-11-29 09:05:50 +000010config ACPID
11 bool "acpid"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020012 default y
Denis Vlasenkod16950d2008-11-29 09:05:50 +000013 help
14 acpid listens to ACPI events coming either in textual form from
15 /proc/acpi/event (though it is marked deprecated it is still widely
16 used and _is_ a standard) or in binary form from specified evdevs
17 (just use /dev/input/event*).
18
19 It parses the event to retrieve ACTION and a possible PARAMETER.
20 It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts
21 (if the resulting path is a directory) or directly as an executable.
22
23 N.B. acpid relies on run-parts so have the latter installed.
24
25config FEATURE_ACPID_COMPAT
26 bool "Accept and ignore redundant options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020027 default y
Denis Vlasenkod16950d2008-11-29 09:05:50 +000028 depends on ACPID
29 help
30 Accept and ignore compatibility options -g -m -s -S -v.
31
Denis Vlasenko1e19afd2008-10-12 11:20:08 +000032config BLKID
33 bool "blkid"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020034 default y
Denis Vlasenko1e19afd2008-10-12 11:20:08 +000035 select VOLUMEID
36 help
37 Lists labels and UUIDs of all filesystems.
38 WARNING:
39 With all submodules selected, it will add ~8k to busybox.
40
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000041config DMESG
Eric Andersenc9f20d92002-12-05 08:41:41 +000042 bool "dmesg"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020043 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000044 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000045 dmesg is used to examine or control the kernel ring buffer. When the
Eric Andersena0ac4522003-02-27 03:14:04 +000046 Linux kernel prints messages to the system log, they are stored in
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000047 the kernel ring buffer. You can use dmesg to print the kernel's ring
Eric Andersena0ac4522003-02-27 03:14:04 +000048 buffer, clear the kernel ring buffer, change the size of the kernel
49 ring buffer, and change the priority level at which kernel messages
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000050 are also logged to the system console. Enable this option if you
Eric Andersena0ac4522003-02-27 03:14:04 +000051 wish to enable the 'dmesg' utility.
Eric Andersenc9f20d92002-12-05 08:41:41 +000052
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000053config FEATURE_DMESG_PRETTY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +000054 bool "Pretty dmesg output"
Rob Landley446129a2006-07-27 16:40:55 +000055 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000056 depends on DMESG
Rob Landley446129a2006-07-27 16:40:55 +000057 help
58 If you wish to scrub the syslog level from the output, say 'Y' here.
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000059 The syslog level is a string prefixed to every line with the form
60 "<#>".
Rob Landley446129a2006-07-27 16:40:55 +000061
62 With this option you will see:
63 # dmesg
64 Linux version 2.6.17.4 .....
65 BIOS-provided physical RAM map:
66 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
67
68 Without this option you will see:
69 # dmesg
70 <5>Linux version 2.6.17.4 .....
71 <6>BIOS-provided physical RAM map:
72 <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
73
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000074config FBSET
Eric Andersenc9f20d92002-12-05 08:41:41 +000075 bool "fbset"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020076 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000077 help
Eric Andersena0ac4522003-02-27 03:14:04 +000078 fbset is used to show or change the settings of a Linux frame buffer
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000079 device. The frame buffer device provides a simple and unique
80 interface to access a graphics display. Enable this option
Eric Andersen88c916b2003-10-22 09:58:56 +000081 if you wish to enable the 'fbset' utility.
Eric Andersena0ac4522003-02-27 03:14:04 +000082
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000083config FEATURE_FBSET_FANCY
Rob Landley2ec922e2006-04-13 23:22:16 +000084 bool "Turn on extra fbset options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020085 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000086 depends on FBSET
Eric Andersenc9f20d92002-12-05 08:41:41 +000087 help
Eric Andersena0ac4522003-02-27 03:14:04 +000088 This option enables extended fbset options, allowing one to set the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000089 framebuffer size, color depth, etc. interface to access a graphics
90 display. Enable this option if you wish to enable extended fbset
Eric Andersena0ac4522003-02-27 03:14:04 +000091 options.
Eric Andersenc9f20d92002-12-05 08:41:41 +000092
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000093config FEATURE_FBSET_READMODE
Rob Landley2ec922e2006-04-13 23:22:16 +000094 bool "Turn on fbset readmode support"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020095 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000096 depends on FBSET
Eric Andersenc9f20d92002-12-05 08:41:41 +000097 help
Eric Andersena0ac4522003-02-27 03:14:04 +000098 This option allows fbset to read the video mode database stored by
99 default as /etc/fb.modes, which can be used to set frame buffer
100 device to pre-defined video modes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000101
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000102config FDFLUSH
Eric Andersenc9f20d92002-12-05 08:41:41 +0000103 bool "fdflush"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200104 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000105 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000106 fdflush is only needed when changing media on slightly-broken
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000107 removable media drives. It is used to make Linux believe that a
Eric Andersena0ac4522003-02-27 03:14:04 +0000108 hardware disk-change switch has been actuated, which causes Linux to
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000109 forget anything it has cached from the previous media. If you have
Eric Andersena0ac4522003-02-27 03:14:04 +0000110 such a slightly-broken drive, you will need to run fdflush every time
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000111 you change a disk. Most people have working hardware and can safely
Eric Andersen88c916b2003-10-22 09:58:56 +0000112 leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000113
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000114config FDFORMAT
Eric Andersen01c3d402003-07-05 07:51:31 +0000115 bool "fdformat"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200116 default y
Eric Andersen01c3d402003-07-05 07:51:31 +0000117 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000118 fdformat is used to low-level format a floppy disk.
Eric Andersen01c3d402003-07-05 07:51:31 +0000119
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000120config FDISK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000121 bool "fdisk"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200122 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000123 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000124 The fdisk utility is used to divide hard disks into one or more
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000125 logical disks, which are generally called partitions. This utility
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000126 can be used to list and edit the set of partitions or BSD style
Eric Andersena0ac4522003-02-27 03:14:04 +0000127 'disk slices' that are defined on a hard drive.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000128
Eric Andersen84bdea82004-05-19 10:49:17 +0000129config FDISK_SUPPORT_LARGE_DISKS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000130 bool "Support over 4GB disks"
Eric Andersen84bdea82004-05-19 10:49:17 +0000131 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000132 depends on FDISK
Eric Andersen84bdea82004-05-19 10:49:17 +0000133 help
134 Enable this option to support large disks > 4GB.
135
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000136config FEATURE_FDISK_WRITABLE
Rob Landley2ec922e2006-04-13 23:22:16 +0000137 bool "Write support"
Glenn L McGrath4dcc2dd2003-01-04 11:56:06 +0000138 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000139 depends on FDISK
Glenn L McGrath4dcc2dd2003-01-04 11:56:06 +0000140 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000141 Enabling this option allows you to create or change a partition table
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000142 and write those changes out to disk. If you leave this option
Eric Andersena0ac4522003-02-27 03:14:04 +0000143 disabled, you will only be able to view the partition table.
Glenn L McGrath4dcc2dd2003-01-04 11:56:06 +0000144
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000145config FEATURE_AIX_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000146 bool "Support AIX disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000147 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000148 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000149 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000150 Enabling this option allows you to create or change AIX disklabels.
151 Most people can safely leave this option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000152
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000153config FEATURE_SGI_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000154 bool "Support SGI disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000155 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000156 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000157 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000158 Enabling this option allows you to create or change SGI disklabels.
159 Most people can safely leave this option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000160
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000161config FEATURE_SUN_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000162 bool "Support SUN disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000163 default n
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000164 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000165 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000166 Enabling this option allows you to create or change SUN disklabels.
167 Most people can safely leave this option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000168
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000169config FEATURE_OSF_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000170 bool "Support BSD disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000171 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000172 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000173 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000174 Enabling this option allows you to create or change BSD disklabels
175 and define and edit BSD disk slices.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000176
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000177config FEATURE_FDISK_ADVANCED
Rob Landley2ec922e2006-04-13 23:22:16 +0000178 bool "Support expert mode"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200179 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000180 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000181 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000182 Enabling this option allows you to do terribly unsafe things like
183 define arbitrary drive geometry, move the beginning of data in a
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000184 partition, and similarly evil things. Unless you have a very good
Eric Andersena0ac4522003-02-27 03:14:04 +0000185 reason you would be wise to leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000186
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000187config FINDFS
188 bool "findfs"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200189 default y
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000190 select VOLUMEID
191 help
Denis Vlasenko22d10a02008-10-13 08:53:43 +0000192 Prints the name of a filesystem with given label or UUID.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000193 WARNING:
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000194 With all submodules selected, it will add ~8k to busybox.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000195
Timo Teras892d4b62010-03-18 22:45:35 +0100196config FLOCK
197 bool "flock"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200198 default y
Timo Teras892d4b62010-03-18 22:45:35 +0100199 help
200 Manage locks from shell scripts
201
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000202config FREERAMDISK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000203 bool "freeramdisk"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200204 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000205 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000206 Linux allows you to create ramdisks. This utility allows you to
Eric Andersena0ac4522003-02-27 03:14:04 +0000207 delete them and completely free all memory that was used for the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000208 ramdisk. For example, if you boot Linux into a ramdisk and later
Eric Andersena0ac4522003-02-27 03:14:04 +0000209 pivot_root, you may want to free the memory that is allocated to the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000210 ramdisk. If you have no use for freeing memory from a ramdisk, leave
Eric Andersena0ac4522003-02-27 03:14:04 +0000211 this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000212
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000213config FSCK_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000214 bool "fsck_minix"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200215 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000216 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000217 The minix filesystem is a nice, small, compact, read-write filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000218 with little overhead. It is not a journaling filesystem however and
Eric Andersen88c916b2003-10-22 09:58:56 +0000219 can experience corruption if it is not properly unmounted or if the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000220 power goes off in the middle of a write. This utility allows you to
Eric Andersena0ac4522003-02-27 03:14:04 +0000221 check for and attempt to repair any corruption that occurs to a minix
222 filesystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000223
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100224config MKFS_EXT2
225 bool "mkfs_ext2"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200226 default y
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100227 help
228 Utility to create EXT2 filesystems.
229
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000230config MKFS_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000231 bool "mkfs_minix"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200232 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000233 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000234 The minix filesystem is a nice, small, compact, read-write filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000235 with little overhead. If you wish to be able to create minix
236 filesystems this utility will do the job for you.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000237
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000238config FEATURE_MINIX2
Rob Landley2ec922e2006-04-13 23:22:16 +0000239 bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000240 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000241 depends on FSCK_MINIX || MKFS_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000242 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000243 If you wish to be able to create version 2 minix filesystems, enable
244 this. If you enabled 'mkfs_minix' then you almost certainly want to
245 be using the version 2 filesystem support.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000246
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100247config MKFS_REISER
248 bool "mkfs_reiser"
249 default n
250 help
251 Utility to create ReiserFS filesystems.
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200252 Note: this applet needs a lot of testing and polishing.
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100253
Denis Vlasenko9d04b6b2009-03-28 02:13:01 +0000254config MKFS_VFAT
255 bool "mkfs_vfat"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200256 default y
Denis Vlasenko9d04b6b2009-03-28 02:13:01 +0000257 help
258 Utility to create FAT32 filesystems.
259
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000260config GETOPT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000261 bool "getopt"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200262 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000263 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000264 The getopt utility is used to break up (parse) options in command
265 lines to make it easy to write complex shell scripts that also check
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000266 for legal (and illegal) options. If you want to write horribly
Eric Andersena0ac4522003-02-27 03:14:04 +0000267 complex shell scripts, or use some horribly complex shell script
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000268 written by others, this utility may be for you. Most people will
Eric Andersena0ac4522003-02-27 03:14:04 +0000269 wisely leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000270
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200271config FEATURE_GETOPT_LONG
272 bool "Support option -l"
273 default y if LONG_OPTS
Denys Vlasenkob22bbff2009-07-04 16:50:43 +0200274 depends on GETOPT
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200275 help
Denys Vlasenkob22bbff2009-07-04 16:50:43 +0200276 Enable support for long options (option -l).
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200277
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000278config HEXDUMP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000279 bool "hexdump"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200280 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000281 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000282 The hexdump utility is used to display binary data in a readable
283 way that is comparable to the output from most hex editors.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000284
Denis Vlasenkofbe5f392007-11-18 05:36:50 +0000285config FEATURE_HEXDUMP_REVERSE
286 bool "Support -R, reverse of 'hexdump -Cv'"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200287 default y
Denis Vlasenkofbe5f392007-11-18 05:36:50 +0000288 depends on HEXDUMP
289 help
290 The hexdump utility is used to display binary data in an ascii
291 readable way. This option creates binary data from an ascii input.
292 NB: this option is non-standard. It's unwise to use it in scripts
293 aimed to be portable.
294
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000295config HD
296 bool "hd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200297 default y
Denys Vlasenko161bb8f2010-06-06 05:07:11 +0200298 depends on HEXDUMP
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000299 help
300 hd is an alias to hexdump -C.
301
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000302config HWCLOCK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000303 bool "hwclock"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200304 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000305 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000306 The hwclock utility is used to read and set the hardware clock
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000307 on a system. This is primarily used to set the current time on
Eric Andersen88c916b2003-10-22 09:58:56 +0000308 shutdown in the hardware clock, so the hardware will keep the
309 correct time when Linux is _not_ running.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000310
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000311config FEATURE_HWCLOCK_LONG_OPTIONS
Rob Landley2ec922e2006-04-13 23:22:16 +0000312 bool "Support long options (--hctosys,...)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200313 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200314 depends on HWCLOCK && LONG_OPTS
Eric Andersenc9f20d92002-12-05 08:41:41 +0000315 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000316 By default, the hwclock utility only uses short options. If you
Eric Andersen88c916b2003-10-22 09:58:56 +0000317 are overly fond of its long options, such as --hctosys, --utc, etc)
Eric Andersena0ac4522003-02-27 03:14:04 +0000318 then enable this option.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000319
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000320config FEATURE_HWCLOCK_ADJTIME_FHS
Rob Landley2ec922e2006-04-13 23:22:16 +0000321 bool "Use FHS /var/lib/hwclock/adjtime"
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000322 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000323 depends on HWCLOCK
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000324 help
325 Starting with FHS 2.3, the adjtime state file is supposed to exist
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000326 at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000327 to use the FHS behavior, answer Y here, otherwise answer N for the
328 classic /etc/adjtime path.
329
Bernhard Reutner-Fischere99a92d2008-07-22 18:32:06 +0000330 pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000331
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000332config IPCRM
Rob Landley6eb1e412005-06-20 04:30:36 +0000333 bool "ipcrm"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200334 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000335 select FEATURE_SUID
Rob Landley6eb1e412005-06-20 04:30:36 +0000336 help
337 The ipcrm utility allows the removal of System V interprocess
338 communication (IPC) objects and the associated data structures
339 from the system.
340
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000341config IPCS
Rob Landley6eb1e412005-06-20 04:30:36 +0000342 bool "ipcs"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200343 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000344 select FEATURE_SUID
Rob Landley6eb1e412005-06-20 04:30:36 +0000345 help
346 The ipcs utility is used to provide information on the currently
347 allocated System V interprocess (IPC) objects in the system.
348
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000349config LOSETUP
Mike Frysinger75aa1922005-09-24 23:12:38 +0000350 bool "losetup"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200351 default y
Mike Frysinger75aa1922005-09-24 23:12:38 +0000352 help
353 losetup is used to associate or detach a loop device with a regular
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000354 file or block device, and to query the status of a loop device. This
Mike Frysinger75aa1922005-09-24 23:12:38 +0000355 version does not currently support enabling data encryption.
356
Souf Oued982bc712009-12-05 17:56:25 +0100357config LSPCI
358 bool "lspci"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200359 default y
Souf Oued982bc712009-12-05 17:56:25 +0100360 help
361 lspci is a utility for displaying information about PCI buses in the
362 system and devices connected to them.
363
364 This version uses sysfs (/sys/bus/pci/devices) only.
365
Souf Oued11a802a2009-12-07 01:37:34 +0100366config LSUSB
367 bool "lsusb"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200368 default y
Souf Oued11a802a2009-12-07 01:37:34 +0100369 help
370 lsusb is a utility for displaying information about USB buses in the
371 system and devices connected to them.
372
373 This version uses sysfs (/sys/bus/usb/devices) only.
374
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000375config MDEV
Rob Landley70f7ef72005-12-13 08:21:33 +0000376 bool "mdev"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200377 default y
Rob Landley70f7ef72005-12-13 08:21:33 +0000378 help
Mike Frysingerae302102007-02-14 13:20:29 +0000379 mdev is a mini-udev implementation for dynamically creating device
380 nodes in the /dev directory.
381
382 For more information, please see docs/mdev.txt
Rob Landley70f7ef72005-12-13 08:21:33 +0000383
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000384config FEATURE_MDEV_CONF
Rob Landley2ec922e2006-04-13 23:22:16 +0000385 bool "Support /etc/mdev.conf"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200386 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000387 depends on MDEV
Rob Landley70f7ef72005-12-13 08:21:33 +0000388 help
Mike Frysingerae302102007-02-14 13:20:29 +0000389 Add support for the mdev config file to control ownership and
390 permissions of the device nodes.
Rob Landley70f7ef72005-12-13 08:21:33 +0000391
Mike Frysingerae302102007-02-14 13:20:29 +0000392 For more information, please see docs/mdev.txt
Rob Landley70f7ef72005-12-13 08:21:33 +0000393
Mike Frysingerf0044c42008-02-01 06:53:50 +0000394config FEATURE_MDEV_RENAME
395 bool "Support subdirs/symlinks"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200396 default y
Mike Frysingerf0044c42008-02-01 06:53:50 +0000397 depends on FEATURE_MDEV_CONF
398 help
399 Add support for renaming devices and creating symlinks.
400
401 For more information, please see docs/mdev.txt
402
Denis Vlasenkof2f38682008-03-29 17:26:10 +0000403config FEATURE_MDEV_RENAME_REGEXP
404 bool "Support regular expressions substitutions when renaming device"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200405 default y
Denis Vlasenkof2f38682008-03-29 17:26:10 +0000406 depends on FEATURE_MDEV_RENAME
407 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000408 Add support for regular expressions substitutions when renaming
409 device.
Denis Vlasenkof2f38682008-03-29 17:26:10 +0000410
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000411config FEATURE_MDEV_EXEC
Rob Landleyef10d522006-06-26 14:11:33 +0000412 bool "Support command execution at device addition/removal"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200413 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000414 depends on FEATURE_MDEV_CONF
Rob Landleyef10d522006-06-26 14:11:33 +0000415 help
Mike Frysingerae302102007-02-14 13:20:29 +0000416 This adds support for an optional field to /etc/mdev.conf for
417 executing commands when devices are created/removed.
Rob Landleyef10d522006-06-26 14:11:33 +0000418
Mike Frysingerae302102007-02-14 13:20:29 +0000419 For more information, please see docs/mdev.txt
Rob Landleyef10d522006-06-26 14:11:33 +0000420
Mike Frysingera78ef2c2007-06-13 07:34:15 +0000421config FEATURE_MDEV_LOAD_FIRMWARE
422 bool "Support loading of firmwares"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200423 default y
Mike Frysingera78ef2c2007-06-13 07:34:15 +0000424 depends on MDEV
425 help
426 Some devices need to load firmware before they can be usable.
427
428 These devices will request userspace look up the files in
429 /lib/firmware/ and if it exists, send it to the kernel for
430 loading into the hardware.
431
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000432config MKSWAP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000433 bool "mkswap"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200434 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000435 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000436 The mkswap utility is used to configure a file or disk partition as
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000437 Linux swap space. This allows Linux to use the entire file or
Eric Andersena0ac4522003-02-27 03:14:04 +0000438 partition as if it were additional RAM, which can greatly increase
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000439 the capability of low-memory machines. This additional memory is
Eric Andersena0ac4522003-02-27 03:14:04 +0000440 much slower than real RAM, but can be very helpful at preventing your
Eric Andersen88c916b2003-10-22 09:58:56 +0000441 applications being killed by the Linux out of memory (OOM) killer.
442 Once you have created swap space using 'mkswap' you need to enable
443 the swap space using the 'swapon' utility.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000444
Denys Vlasenkobeca96f2009-06-19 13:14:48 +0200445config FEATURE_MKSWAP_UUID
446 bool "UUID support"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200447 default y
Denys Vlasenkobeca96f2009-06-19 13:14:48 +0200448 depends on MKSWAP
449 help
450 Generate swap spaces with universally unique identifiers.
451
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000452config MORE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000453 bool "more"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200454 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000455 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000456 more is a simple utility which allows you to read text one screen
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000457 sized page at a time. If you want to read text that is larger than
Eric Andersena0ac4522003-02-27 03:14:04 +0000458 the screen, and you are using anything faster than a 300 baud modem,
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000459 you will probably find this utility very helpful. If you don't have
Eric Andersena0ac4522003-02-27 03:14:04 +0000460 any need to reading text files, you can leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000461
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000462config FEATURE_USE_TERMIOS
Rob Landley2ec922e2006-04-13 23:22:16 +0000463 bool "Use termios to manipulate the screen"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000464 default y
Paul Fox9e1f92d2008-03-20 16:04:36 +0000465 depends on MORE || TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000466 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000467 This option allows utilities such as 'more' and 'top' to determine
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000468 the size of the screen. If you leave this disabled, your utilities
Eric Andersen88c916b2003-10-22 09:58:56 +0000469 that display things on the screen will be especially primitive and
Eric Andersena0ac4522003-02-27 03:14:04 +0000470 will be unable to determine the current screen size, and will be
471 unable to move the cursor.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000472
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000473config MOUNT
Mike Frysinger55092282006-02-02 23:14:57 +0000474 bool "mount"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200475 default y
Mike Frysinger55092282006-02-02 23:14:57 +0000476 help
477 All files and filesystems in Unix are arranged into one big directory
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000478 tree. The 'mount' utility is used to graft a filesystem onto a
479 particular part of the tree. A filesystem can either live on a block
Mike Frysinger55092282006-02-02 23:14:57 +0000480 device, or it can be accessible over the network, as is the case with
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000481 NFS filesystems. Most people using BusyBox will also want to enable
Mike Frysinger55092282006-02-02 23:14:57 +0000482 the 'mount' utility.
483
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000484config FEATURE_MOUNT_FAKE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000485 bool "Support option -f"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200486 default y
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000487 depends on MOUNT
488 help
489 Enable support for faking a file system mount.
490
Denis Vlasenkof732e962008-02-18 12:07:49 +0000491config FEATURE_MOUNT_VERBOSE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000492 bool "Support option -v"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200493 default y
Denis Vlasenkof732e962008-02-18 12:07:49 +0000494 depends on MOUNT
495 help
496 Enable multi-level -v[vv...] verbose messages. Useful if you
497 debug mount problems and want to see what is exactly passed
498 to the kernel.
499
Denis Vlasenko2535f122007-09-15 13:28:30 +0000500config FEATURE_MOUNT_HELPERS
501 bool "Support mount helpers"
502 default n
503 depends on MOUNT
504 help
505 Enable mounting of virtual file systems via external helpers.
Denis Vlasenko32d49bc2008-02-03 23:52:41 +0000506 E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call
507 "obexfs -b00.11.22.33.44.55 /mnt"
508 Also "mount -t sometype [-o opts] fs /mnt" will try
509 "sometype [-o opts] fs /mnt" if simple mount syscall fails.
510 The idea is to use such virtual filesystems in /etc/fstab.
Denis Vlasenko2535f122007-09-15 13:28:30 +0000511
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000512config FEATURE_MOUNT_LABEL
Dan Fandricheafc6952010-06-17 23:30:27 -0700513 bool "Support specifying devices by label or UUID"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200514 default y
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000515 depends on MOUNT
Denis Vlasenko4824cca2008-03-21 18:29:01 +0000516 select VOLUMEID
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000517 help
518 This allows for specifying a device by label or uuid, rather than by
Denis Vlasenko1e19afd2008-10-12 11:20:08 +0000519 name. This feature utilizes the same functionality as blkid/findfs.
Natanael Copa9aff2992009-09-20 04:28:22 +0200520 This also enables label or uuid support for swapon.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000521
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000522config FEATURE_MOUNT_NFS
Rob Landley2ec922e2006-04-13 23:22:16 +0000523 bool "Support mounting NFS file systems"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200524 default y
Denis Vlasenkoa7825f22007-06-16 13:56:51 +0000525 depends on MOUNT
526 select FEATURE_HAVE_RPC
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000527 select FEATURE_SYSLOG
Mike Frysinger55092282006-02-02 23:14:57 +0000528 help
Rob Landleye3781b72006-08-08 01:39:49 +0000529 Enable mounting of NFS file systems.
530
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000531config FEATURE_MOUNT_CIFS
Rob Landley89d9d4d2006-09-01 08:10:44 +0000532 bool "Support mounting CIFS/SMB file systems"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200533 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000534 depends on MOUNT
Rob Landley89d9d4d2006-09-01 08:10:44 +0000535 help
536 Enable support for samba mounts.
Denis Vlasenko39e93cc2006-09-10 18:38:17 +0000537
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000538config FEATURE_MOUNT_FLAGS
539 depends on MOUNT
Denis Vlasenko39e93cc2006-09-10 18:38:17 +0000540 bool "Support lots of -o flags in mount"
Rob Landleye3781b72006-08-08 01:39:49 +0000541 default y
542 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000543 Without this, mount only supports ro/rw/remount. With this, it
Rob Landleye3781b72006-08-08 01:39:49 +0000544 supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
545 noatime, diratime, nodiratime, loud, bind, move, shared, slave,
546 private, unbindable, rshared, rslave, rprivate, and runbindable.
547
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000548config FEATURE_MOUNT_FSTAB
549 depends on MOUNT
Rob Landleye3781b72006-08-08 01:39:49 +0000550 bool "Support /etc/fstab and -a"
551 default y
552 help
553 Support mount all and looking for files in /etc/fstab.
Mike Frysinger55092282006-02-02 23:14:57 +0000554
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000555config PIVOT_ROOT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000556 bool "pivot_root"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200557 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000558 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000559 The pivot_root utility swaps the mount points for the root filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000560 with some other mounted filesystem. This allows you to do all sorts
Eric Andersena0ac4522003-02-27 03:14:04 +0000561 of wild and crazy things with your Linux system and is far more
562 powerful than 'chroot'.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000563
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000564 Note: This is for initrd in linux 2.4. Under initramfs (introduced
Rob Landley0f34a822005-10-27 22:55:50 +0000565 in linux 2.6) use switch_root instead.
566
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000567config RDATE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000568 bool "rdate"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200569 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000570 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000571 The rdate utility allows you to synchronize the date and time of your
Eric Andersena0ac4522003-02-27 03:14:04 +0000572 system clock with the date and time of a remote networked system using
573 the RFC868 protocol, which is built into the inetd daemon on most
574 systems.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000575
Bernhard Reutner-Fischerc77e8432008-08-19 11:28:52 +0000576config RDEV
Denys Vlasenko345e0932010-03-31 16:03:56 +0200577 bool "rdev"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200578 default y
Denys Vlasenko345e0932010-03-31 16:03:56 +0200579 help
Bernhard Reutner-Fischerc77e8432008-08-19 11:28:52 +0000580 Print the device node associated with the filesystem mounted at '/'.
581
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000582config READPROFILE
Mike Frysinger75aa1922005-09-24 23:12:38 +0000583 bool "readprofile"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200584 default y
Mike Frysinger75aa1922005-09-24 23:12:38 +0000585 help
586 This allows you to parse /proc/profile for basic profiling.
587
Mike Frysinger6b160e42008-02-15 02:27:19 +0000588config RTCWAKE
589 bool "rtcwake"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200590 default y
Mike Frysinger6b160e42008-02-15 02:27:19 +0000591 help
592 Enter a system sleep state until specified wakeup time.
593
Denis Vlasenko376003b2008-04-21 05:05:17 +0000594config SCRIPT
595 bool "script"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200596 default y
Denis Vlasenko376003b2008-04-21 05:05:17 +0000597 help
598 The script makes typescript of terminal session.
599
Denys Vlasenko5e611152009-05-19 17:36:16 +0200600config SCRIPTREPLAY
601 bool "scriptreplay"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200602 default y
Denys Vlasenko5e611152009-05-19 17:36:16 +0200603 help
604 This program replays a typescript, using timing information
605 given by script -t.
606
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000607config SETARCH
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000608 bool "setarch"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200609 default y
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000610 help
611 The linux32 utility is used to create a 32bit environment for the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000612 specified program (usually a shell). It only makes sense to have
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000613 this util on a system that supports both 64bit and 32bit userland
614 (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
615
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000616config SWAPONOFF
Eric Andersenc9f20d92002-12-05 08:41:41 +0000617 bool "swaponoff"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200618 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000619 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000620 This option enables both the 'swapon' and the 'swapoff' utilities.
621 Once you have created some swap space using 'mkswap', you also need
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000622 to enable your swap space with the 'swapon' utility. The 'swapoff'
Eric Andersena0ac4522003-02-27 03:14:04 +0000623 utility is used, typically at system shutdown, to disable any swap
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000624 space. If you are not using any swap space, you can leave this
Eric Andersena0ac4522003-02-27 03:14:04 +0000625 option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000626
Denis Vlasenkoee56e012008-05-18 23:05:34 +0000627config FEATURE_SWAPON_PRI
Bernhard Reutner-Fischer3576bed2008-05-19 08:25:23 +0000628 bool "Support priority option -p"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200629 default y
Denis Vlasenkoee56e012008-05-18 23:05:34 +0000630 depends on SWAPONOFF
631 help
632 Enable support for setting swap device priority in swapon.
633
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000634config SWITCH_ROOT
Mike Frysinger55092282006-02-02 23:14:57 +0000635 bool "switch_root"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200636 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000637 help
Mike Frysinger55092282006-02-02 23:14:57 +0000638 The switch_root utility is used from initramfs to select a new
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000639 root device. Under initramfs, you have to use this instead of
640 pivot_root. (Stop reading here if you don't care why.)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000641
Mike Frysinger55092282006-02-02 23:14:57 +0000642 Booting with initramfs extracts a gzipped cpio archive into rootfs
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000643 (which is a variant of ramfs/tmpfs). Because rootfs can't be moved
644 or unmounted*, pivot_root will not work from initramfs. Instead,
Mike Frysinger55092282006-02-02 23:14:57 +0000645 switch_root deletes everything out of rootfs (including itself),
646 does a mount --move that overmounts rootfs with the new root, and
647 then execs the specified init program.
648
649 * Because the Linux kernel uses rootfs internally as the starting
650 and ending point for searching through the kernel's doubly linked
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000651 list of active mount points. That's why.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000652
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000653config UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000654 bool "umount"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200655 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000656 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000657 When you want to remove a mounted filesystem from its current mount
658 point, for example when you are shutting down the system, the
659 'umount' utility is the tool to use. If you enabled the 'mount'
660 utility, you almost certainly also want to enable 'umount'.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000661
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000662config FEATURE_UMOUNT_ALL
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000663 bool "Support option -a"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200664 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000665 depends on UMOUNT
Rob Landleycc6d8d32006-02-08 20:06:57 +0000666 help
667 Support -a option to unmount all currently mounted filesystems.
668
Eric Andersenc9f20d92002-12-05 08:41:41 +0000669comment "Common options for mount/umount"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000670 depends on MOUNT || UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000671
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000672config FEATURE_MOUNT_LOOP
Rob Landley2ec922e2006-04-13 23:22:16 +0000673 bool "Support loopback mounts"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200674 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000675 depends on MOUNT || UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000676 help
Rob Landley6a6798b2005-08-10 20:35:54 +0000677 Enabling this feature allows automatic mounting of files (containing
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000678 filesystem images) via the linux kernel's loopback devices.
679 The mount command will detect you are trying to mount a file instead
680 of a block device, and transparently associate the file with a
681 loopback device. The umount command will also free that loopback
682 device.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000683
Rob Landley6a6798b2005-08-10 20:35:54 +0000684 You can still use the 'losetup' utility (to manually associate files
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000685 with loop devices) if you need to do something advanced, such as
Rob Landley6a6798b2005-08-10 20:35:54 +0000686 specify an offset or cryptographic options to the loopback device.
687 (If you don't want umount to free the loop device, use "umount -D".)
Paul Fox3f6f3172005-07-19 20:55:37 +0000688
Lauri Kasanen375a8ef2010-04-14 12:31:26 -0700689config FEATURE_MOUNT_LOOP_CREATE
690 bool "Create new loopback devices if needed"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200691 default y
Lauri Kasanen375a8ef2010-04-14 12:31:26 -0700692 depends on FEATURE_MOUNT_LOOP
693 help
694 Linux kernels >= 2.6.24 support unlimited loopback devices. They are
695 allocated for use when trying to use a loop device. The loop device
696 must however exist.
697
698 This feature lets mount to try to create next /dev/loopN device
699 if it does not find a free one.
700
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000701config FEATURE_MTAB_SUPPORT
Rob Landley2ec922e2006-04-13 23:22:16 +0000702 bool "Support for the old /etc/mtab file"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000703 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000704 depends on MOUNT || UMOUNT
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000705 select FEATURE_MOUNT_FAKE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000706 help
Rob Landley6a6798b2005-08-10 20:35:54 +0000707 Historically, Unix systems kept track of the currently mounted
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000708 partitions in the file "/etc/mtab". These days, the kernel exports
Rob Landley6a6798b2005-08-10 20:35:54 +0000709 the list of currently mounted partitions in "/proc/mounts", rendering
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000710 the old mtab file obsolete. (In modern systems, /etc/mtab should be
Rob Landley6a6798b2005-08-10 20:35:54 +0000711 a symlink to /proc/mounts.)
Eric Andersena0ac4522003-02-27 03:14:04 +0000712
Rob Landley6a6798b2005-08-10 20:35:54 +0000713 The only reason to have mount maintain an /etc/mtab file itself is if
714 your stripped-down embedded system does not have a /proc directory.
715 If you must use this, keep in mind it's inherently brittle (for
716 example a mount under chroot won't update it), can't handle modern
717 features like separate per-process filesystem namespaces, requires
Dan Fandricheafc6952010-06-17 23:30:27 -0700718 that your /etc directory be writable, tends to get easily confused
Rob Landley17507fa2006-05-08 02:22:24 +0000719 by --bind or --move mounts, won't update if you rename a directory
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000720 that contains a mount point, and so on. (In brief: avoid.)
Rob Landley17507fa2006-05-08 02:22:24 +0000721
722 About the only reason to use this is if you've removed /proc from
723 your kernel.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000724
Denys Vlasenko0e450662010-07-14 07:10:47 +0200725config VOLUMEID
726 bool #No description makes it a hidden option
727 default n
728
729menu "Filesystem/Volume identification"
730 depends on VOLUMEID
731
732config FEATURE_VOLUMEID_EXT
733 bool "Ext filesystem"
734 default y
735 depends on VOLUMEID
736 help
737 TODO
738
739config FEATURE_VOLUMEID_BTRFS
740 bool "btrfs filesystem"
741 default y
742 depends on VOLUMEID
743 help
744 TODO
745
746config FEATURE_VOLUMEID_REISERFS
747 bool "Reiser filesystem"
748 default y
749 depends on VOLUMEID
750 help
751 TODO
752
753config FEATURE_VOLUMEID_FAT
754 bool "fat filesystem"
755 default y
756 depends on VOLUMEID
757 help
758 TODO
759
760config FEATURE_VOLUMEID_HFS
761 bool "hfs filesystem"
762 default y
763 depends on VOLUMEID
764 help
765 TODO
766
767config FEATURE_VOLUMEID_JFS
768 bool "jfs filesystem"
769 default y
770 depends on VOLUMEID
771 help
772 TODO
773
774### config FEATURE_VOLUMEID_UFS
775### bool "ufs filesystem"
776### default y
777### depends on VOLUMEID
778### help
779### TODO
780
781config FEATURE_VOLUMEID_XFS
782 bool "xfs filesystem"
783 default y
784 depends on VOLUMEID
785 help
786 TODO
787
788config FEATURE_VOLUMEID_NTFS
789 bool "ntfs filesystem"
790 default y
791 depends on VOLUMEID
792 help
793 TODO
794
795config FEATURE_VOLUMEID_ISO9660
796 bool "iso9660 filesystem"
797 default y
798 depends on VOLUMEID
799 help
800 TODO
801
802config FEATURE_VOLUMEID_UDF
803 bool "udf filesystem"
804 default y
805 depends on VOLUMEID
806 help
807 TODO
808
809config FEATURE_VOLUMEID_LUKS
810 bool "luks filesystem"
811 default y
812 depends on VOLUMEID
813 help
814 TODO
815
816config FEATURE_VOLUMEID_LINUXSWAP
817 bool "linux swap filesystem"
818 default y
819 depends on VOLUMEID
820 help
821 TODO
822
823### config FEATURE_VOLUMEID_LVM
824### bool "lvm"
825### default y
826### depends on VOLUMEID
827### help
828### TODO
829
830config FEATURE_VOLUMEID_CRAMFS
831 bool "cramfs filesystem"
832 default y
833 depends on VOLUMEID
834 help
835 TODO
836
837### config FEATURE_VOLUMEID_HPFS
838### bool "hpfs filesystem"
839### default y
840### depends on VOLUMEID
841### help
842### TODO
843
844config FEATURE_VOLUMEID_ROMFS
845 bool "romfs filesystem"
846 default y
847 depends on VOLUMEID
848 help
849 TODO
850
851config FEATURE_VOLUMEID_SYSV
852 bool "sysv filesystem"
853 default y
854 depends on VOLUMEID
855 help
856 TODO
857
858### config FEATURE_VOLUMEID_MINIX
859### bool "minix filesystem"
860### default y
861### depends on VOLUMEID
862### help
863### TODO
864
865### These only detect partition tables - not used (yet?)
866### config FEATURE_VOLUMEID_MAC
867### bool "mac filesystem"
868### default y
869### depends on VOLUMEID
870### help
871### TODO
872###
873### config FEATURE_VOLUMEID_MSDOS
874### bool "msdos filesystem"
875### default y
876### depends on VOLUMEID
877### help
878### TODO
879
880config FEATURE_VOLUMEID_OCFS2
881 bool "ocfs2 filesystem"
882 default y
883 depends on VOLUMEID
884 help
885 TODO
886
887### config FEATURE_VOLUMEID_HIGHPOINTRAID
888### bool "highpoint raid"
889### default y
890### depends on VOLUMEID
891### help
892### TODO
893
894### config FEATURE_VOLUMEID_ISWRAID
895### bool "intel raid"
896### default y
897### depends on VOLUMEID
898### help
899### TODO
900
901### config FEATURE_VOLUMEID_LSIRAID
902### bool "lsi raid"
903### default y
904### depends on VOLUMEID
905### help
906### TODO
907
908### config FEATURE_VOLUMEID_VIARAID
909### bool "via raid"
910### default y
911### depends on VOLUMEID
912### help
913### TODO
914
915### config FEATURE_VOLUMEID_SILICONRAID
916### bool "silicon raid"
917### default y
918### depends on VOLUMEID
919### help
920### TODO
921
922### config FEATURE_VOLUMEID_NVIDIARAID
923### bool "nvidia raid"
924### default y
925### depends on VOLUMEID
926### help
927### TODO
928
929### config FEATURE_VOLUMEID_PROMISERAID
930### bool "promise raid"
931### default y
932### depends on VOLUMEID
933### help
934### TODO
935
936config FEATURE_VOLUMEID_LINUXRAID
937 bool "linuxraid"
938 default y
939 depends on VOLUMEID
940 help
941 TODO
942
943endmenu
944
Eric Andersenc9f20d92002-12-05 08:41:41 +0000945endmenu