blob: 90606bcae92fd6cd96fce2a949f37c984d4191e2 [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
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +010013 select PLATFORM_LINUX
Denis Vlasenkod16950d2008-11-29 09:05:50 +000014 help
15 acpid listens to ACPI events coming either in textual form from
16 /proc/acpi/event (though it is marked deprecated it is still widely
17 used and _is_ a standard) or in binary form from specified evdevs
18 (just use /dev/input/event*).
19
20 It parses the event to retrieve ACTION and a possible PARAMETER.
21 It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts
22 (if the resulting path is a directory) or directly as an executable.
23
24 N.B. acpid relies on run-parts so have the latter installed.
25
26config FEATURE_ACPID_COMPAT
27 bool "Accept and ignore redundant options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020028 default y
Denis Vlasenkod16950d2008-11-29 09:05:50 +000029 depends on ACPID
30 help
31 Accept and ignore compatibility options -g -m -s -S -v.
32
Denis Vlasenko1e19afd2008-10-12 11:20:08 +000033config BLKID
34 bool "blkid"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020035 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +010036 select PLATFORM_LINUX
Denis Vlasenko1e19afd2008-10-12 11:20:08 +000037 select VOLUMEID
38 help
39 Lists labels and UUIDs of all filesystems.
40 WARNING:
41 With all submodules selected, it will add ~8k to busybox.
42
Denys Vlasenko90615a02010-12-30 00:40:11 +010043config FEATURE_BLKID_TYPE
44 bool "Print filesystem type"
45 default n
46 depends on BLKID
47 help
48 Show TYPE="filesystem type"
49
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000050config DMESG
Eric Andersenc9f20d92002-12-05 08:41:41 +000051 bool "dmesg"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020052 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +010053 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +000054 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000055 dmesg is used to examine or control the kernel ring buffer. When the
Eric Andersena0ac4522003-02-27 03:14:04 +000056 Linux kernel prints messages to the system log, they are stored in
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000057 the kernel ring buffer. You can use dmesg to print the kernel's ring
Eric Andersena0ac4522003-02-27 03:14:04 +000058 buffer, clear the kernel ring buffer, change the size of the kernel
59 ring buffer, and change the priority level at which kernel messages
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000060 are also logged to the system console. Enable this option if you
Eric Andersena0ac4522003-02-27 03:14:04 +000061 wish to enable the 'dmesg' utility.
Eric Andersenc9f20d92002-12-05 08:41:41 +000062
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000063config FEATURE_DMESG_PRETTY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +000064 bool "Pretty dmesg output"
Rob Landley446129a2006-07-27 16:40:55 +000065 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000066 depends on DMESG
Rob Landley446129a2006-07-27 16:40:55 +000067 help
68 If you wish to scrub the syslog level from the output, say 'Y' here.
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000069 The syslog level is a string prefixed to every line with the form
70 "<#>".
Rob Landley446129a2006-07-27 16:40:55 +000071
72 With this option you will see:
73 # dmesg
74 Linux version 2.6.17.4 .....
75 BIOS-provided physical RAM map:
76 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
77
78 Without this option you will see:
79 # dmesg
80 <5>Linux version 2.6.17.4 .....
81 <6>BIOS-provided physical RAM map:
82 <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
83
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000084config FBSET
Eric Andersenc9f20d92002-12-05 08:41:41 +000085 bool "fbset"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020086 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +010087 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +000088 help
Eric Andersena0ac4522003-02-27 03:14:04 +000089 fbset is used to show or change the settings of a Linux frame buffer
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000090 device. The frame buffer device provides a simple and unique
91 interface to access a graphics display. Enable this option
Eric Andersen88c916b2003-10-22 09:58:56 +000092 if you wish to enable the 'fbset' utility.
Eric Andersena0ac4522003-02-27 03:14:04 +000093
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000094config FEATURE_FBSET_FANCY
Rob Landley2ec922e2006-04-13 23:22:16 +000095 bool "Turn on extra fbset options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020096 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000097 depends on FBSET
Eric Andersenc9f20d92002-12-05 08:41:41 +000098 help
Eric Andersena0ac4522003-02-27 03:14:04 +000099 This option enables extended fbset options, allowing one to set the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000100 framebuffer size, color depth, etc. interface to access a graphics
101 display. Enable this option if you wish to enable extended fbset
Eric Andersena0ac4522003-02-27 03:14:04 +0000102 options.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000103
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000104config FEATURE_FBSET_READMODE
Rob Landley2ec922e2006-04-13 23:22:16 +0000105 bool "Turn on fbset readmode support"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200106 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000107 depends on FBSET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000108 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000109 This option allows fbset to read the video mode database stored by
110 default as /etc/fb.modes, which can be used to set frame buffer
111 device to pre-defined video modes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000112
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000113config FDFLUSH
Eric Andersenc9f20d92002-12-05 08:41:41 +0000114 bool "fdflush"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200115 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100116 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000117 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000118 fdflush is only needed when changing media on slightly-broken
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000119 removable media drives. It is used to make Linux believe that a
Eric Andersena0ac4522003-02-27 03:14:04 +0000120 hardware disk-change switch has been actuated, which causes Linux to
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000121 forget anything it has cached from the previous media. If you have
Eric Andersena0ac4522003-02-27 03:14:04 +0000122 such a slightly-broken drive, you will need to run fdflush every time
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000123 you change a disk. Most people have working hardware and can safely
Eric Andersen88c916b2003-10-22 09:58:56 +0000124 leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000125
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000126config FDFORMAT
Eric Andersen01c3d402003-07-05 07:51:31 +0000127 bool "fdformat"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200128 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100129 select PLATFORM_LINUX
Eric Andersen01c3d402003-07-05 07:51:31 +0000130 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000131 fdformat is used to low-level format a floppy disk.
Eric Andersen01c3d402003-07-05 07:51:31 +0000132
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000133config FDISK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000134 bool "fdisk"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200135 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100136 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000137 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000138 The fdisk utility is used to divide hard disks into one or more
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000139 logical disks, which are generally called partitions. This utility
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000140 can be used to list and edit the set of partitions or BSD style
Eric Andersena0ac4522003-02-27 03:14:04 +0000141 'disk slices' that are defined on a hard drive.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000142
Eric Andersen84bdea82004-05-19 10:49:17 +0000143config FDISK_SUPPORT_LARGE_DISKS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000144 bool "Support over 4GB disks"
Eric Andersen84bdea82004-05-19 10:49:17 +0000145 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000146 depends on FDISK
Eric Andersen84bdea82004-05-19 10:49:17 +0000147 help
148 Enable this option to support large disks > 4GB.
149
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000150config FEATURE_FDISK_WRITABLE
Rob Landley2ec922e2006-04-13 23:22:16 +0000151 bool "Write support"
Glenn L McGrath4dcc2dd2003-01-04 11:56:06 +0000152 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000153 depends on FDISK
Glenn L McGrath4dcc2dd2003-01-04 11:56:06 +0000154 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000155 Enabling this option allows you to create or change a partition table
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000156 and write those changes out to disk. If you leave this option
Eric Andersena0ac4522003-02-27 03:14:04 +0000157 disabled, you will only be able to view the partition table.
Glenn L McGrath4dcc2dd2003-01-04 11:56:06 +0000158
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000159config FEATURE_AIX_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000160 bool "Support AIX disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000161 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000162 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000163 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000164 Enabling this option allows you to create or change AIX disklabels.
165 Most people can safely leave this option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000166
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000167config FEATURE_SGI_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000168 bool "Support SGI disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000169 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000170 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000171 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000172 Enabling this option allows you to create or change SGI disklabels.
173 Most people can safely leave this option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000174
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000175config FEATURE_SUN_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000176 bool "Support SUN disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000177 default n
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000178 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000179 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000180 Enabling this option allows you to create or change SUN disklabels.
181 Most people can safely leave this option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000182
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000183config FEATURE_OSF_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000184 bool "Support BSD disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000185 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000186 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000187 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000188 Enabling this option allows you to create or change BSD disklabels
189 and define and edit BSD disk slices.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000190
Kevin Cernekeeccb07042010-10-25 02:00:24 +0200191config FEATURE_GPT_LABEL
192 bool "Support GPT disklabels"
193 default n
194 depends on FDISK && FEATURE_FDISK_WRITABLE
195 help
196 Enabling this option allows you to view GUID Partition Table
197 disklabels.
198
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000199config FEATURE_FDISK_ADVANCED
Rob Landley2ec922e2006-04-13 23:22:16 +0000200 bool "Support expert mode"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200201 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000202 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000203 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000204 Enabling this option allows you to do terribly unsafe things like
205 define arbitrary drive geometry, move the beginning of data in a
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000206 partition, and similarly evil things. Unless you have a very good
Eric Andersena0ac4522003-02-27 03:14:04 +0000207 reason you would be wise to leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000208
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000209config FINDFS
210 bool "findfs"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200211 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100212 select PLATFORM_LINUX
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000213 select VOLUMEID
214 help
Denis Vlasenko22d10a02008-10-13 08:53:43 +0000215 Prints the name of a filesystem with given label or UUID.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000216 WARNING:
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000217 With all submodules selected, it will add ~8k to busybox.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000218
Timo Teras892d4b62010-03-18 22:45:35 +0100219config FLOCK
220 bool "flock"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200221 default y
Timo Teras892d4b62010-03-18 22:45:35 +0100222 help
223 Manage locks from shell scripts
224
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000225config FREERAMDISK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000226 bool "freeramdisk"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200227 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100228 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000229 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000230 Linux allows you to create ramdisks. This utility allows you to
Eric Andersena0ac4522003-02-27 03:14:04 +0000231 delete them and completely free all memory that was used for the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000232 ramdisk. For example, if you boot Linux into a ramdisk and later
Eric Andersena0ac4522003-02-27 03:14:04 +0000233 pivot_root, you may want to free the memory that is allocated to the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000234 ramdisk. If you have no use for freeing memory from a ramdisk, leave
Eric Andersena0ac4522003-02-27 03:14:04 +0000235 this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000236
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000237config FSCK_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000238 bool "fsck_minix"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200239 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000240 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000241 The minix filesystem is a nice, small, compact, read-write filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000242 with little overhead. It is not a journaling filesystem however and
Eric Andersen88c916b2003-10-22 09:58:56 +0000243 can experience corruption if it is not properly unmounted or if the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000244 power goes off in the middle of a write. This utility allows you to
Eric Andersena0ac4522003-02-27 03:14:04 +0000245 check for and attempt to repair any corruption that occurs to a minix
246 filesystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000247
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100248config MKFS_EXT2
249 bool "mkfs_ext2"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200250 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100251 select PLATFORM_LINUX
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100252 help
253 Utility to create EXT2 filesystems.
254
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000255config MKFS_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000256 bool "mkfs_minix"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200257 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100258 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000259 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000260 The minix filesystem is a nice, small, compact, read-write filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000261 with little overhead. If you wish to be able to create minix
262 filesystems this utility will do the job for you.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000263
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000264config FEATURE_MINIX2
Rob Landley2ec922e2006-04-13 23:22:16 +0000265 bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000266 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000267 depends on FSCK_MINIX || MKFS_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000268 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000269 If you wish to be able to create version 2 minix filesystems, enable
270 this. If you enabled 'mkfs_minix' then you almost certainly want to
271 be using the version 2 filesystem support.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000272
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100273config MKFS_REISER
274 bool "mkfs_reiser"
275 default n
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100276 select PLATFORM_LINUX
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100277 help
278 Utility to create ReiserFS filesystems.
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200279 Note: this applet needs a lot of testing and polishing.
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100280
Denis Vlasenko9d04b6b2009-03-28 02:13:01 +0000281config MKFS_VFAT
282 bool "mkfs_vfat"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200283 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100284 select PLATFORM_LINUX
Denis Vlasenko9d04b6b2009-03-28 02:13:01 +0000285 help
286 Utility to create FAT32 filesystems.
287
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000288config GETOPT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000289 bool "getopt"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200290 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000291 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000292 The getopt utility is used to break up (parse) options in command
293 lines to make it easy to write complex shell scripts that also check
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000294 for legal (and illegal) options. If you want to write horribly
Eric Andersena0ac4522003-02-27 03:14:04 +0000295 complex shell scripts, or use some horribly complex shell script
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000296 written by others, this utility may be for you. Most people will
Eric Andersena0ac4522003-02-27 03:14:04 +0000297 wisely leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000298
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200299config FEATURE_GETOPT_LONG
300 bool "Support option -l"
301 default y if LONG_OPTS
Denys Vlasenkob22bbff2009-07-04 16:50:43 +0200302 depends on GETOPT
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200303 help
Denys Vlasenkob22bbff2009-07-04 16:50:43 +0200304 Enable support for long options (option -l).
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200305
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000306config HEXDUMP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000307 bool "hexdump"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200308 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000309 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000310 The hexdump utility is used to display binary data in a readable
311 way that is comparable to the output from most hex editors.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000312
Denis Vlasenkofbe5f392007-11-18 05:36:50 +0000313config FEATURE_HEXDUMP_REVERSE
314 bool "Support -R, reverse of 'hexdump -Cv'"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200315 default y
Denis Vlasenkofbe5f392007-11-18 05:36:50 +0000316 depends on HEXDUMP
317 help
318 The hexdump utility is used to display binary data in an ascii
319 readable way. This option creates binary data from an ascii input.
320 NB: this option is non-standard. It's unwise to use it in scripts
321 aimed to be portable.
322
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000323config HD
324 bool "hd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200325 default y
Denys Vlasenko161bb8f2010-06-06 05:07:11 +0200326 depends on HEXDUMP
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000327 help
328 hd is an alias to hexdump -C.
329
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000330config HWCLOCK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000331 bool "hwclock"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200332 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100333 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000334 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000335 The hwclock utility is used to read and set the hardware clock
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000336 on a system. This is primarily used to set the current time on
Eric Andersen88c916b2003-10-22 09:58:56 +0000337 shutdown in the hardware clock, so the hardware will keep the
338 correct time when Linux is _not_ running.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000339
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000340config FEATURE_HWCLOCK_LONG_OPTIONS
Rob Landley2ec922e2006-04-13 23:22:16 +0000341 bool "Support long options (--hctosys,...)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200342 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200343 depends on HWCLOCK && LONG_OPTS
Eric Andersenc9f20d92002-12-05 08:41:41 +0000344 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000345 By default, the hwclock utility only uses short options. If you
Eric Andersen88c916b2003-10-22 09:58:56 +0000346 are overly fond of its long options, such as --hctosys, --utc, etc)
Eric Andersena0ac4522003-02-27 03:14:04 +0000347 then enable this option.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000348
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000349config FEATURE_HWCLOCK_ADJTIME_FHS
Rob Landley2ec922e2006-04-13 23:22:16 +0000350 bool "Use FHS /var/lib/hwclock/adjtime"
Denys Vlasenko81d9e602010-08-10 15:14:36 +0200351 default n # util-linux-ng in Fedora 13 still uses /etc/adjtime
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000352 depends on HWCLOCK
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000353 help
354 Starting with FHS 2.3, the adjtime state file is supposed to exist
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000355 at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000356 to use the FHS behavior, answer Y here, otherwise answer N for the
357 classic /etc/adjtime path.
358
Bernhard Reutner-Fischere99a92d2008-07-22 18:32:06 +0000359 pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000360
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000361config IPCRM
Rob Landley6eb1e412005-06-20 04:30:36 +0000362 bool "ipcrm"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200363 default y
Rob Landley6eb1e412005-06-20 04:30:36 +0000364 help
365 The ipcrm utility allows the removal of System V interprocess
366 communication (IPC) objects and the associated data structures
367 from the system.
368
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000369config IPCS
Rob Landley6eb1e412005-06-20 04:30:36 +0000370 bool "ipcs"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200371 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100372 select PLATFORM_LINUX
Rob Landley6eb1e412005-06-20 04:30:36 +0000373 help
374 The ipcs utility is used to provide information on the currently
375 allocated System V interprocess (IPC) objects in the system.
376
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000377config LOSETUP
Mike Frysinger75aa1922005-09-24 23:12:38 +0000378 bool "losetup"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200379 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100380 select PLATFORM_LINUX
Mike Frysinger75aa1922005-09-24 23:12:38 +0000381 help
382 losetup is used to associate or detach a loop device with a regular
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000383 file or block device, and to query the status of a loop device. This
Mike Frysinger75aa1922005-09-24 23:12:38 +0000384 version does not currently support enabling data encryption.
385
Souf Oued982bc712009-12-05 17:56:25 +0100386config LSPCI
387 bool "lspci"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200388 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100389 #select PLATFORM_LINUX
Souf Oued982bc712009-12-05 17:56:25 +0100390 help
391 lspci is a utility for displaying information about PCI buses in the
392 system and devices connected to them.
393
394 This version uses sysfs (/sys/bus/pci/devices) only.
395
Souf Oued11a802a2009-12-07 01:37:34 +0100396config LSUSB
397 bool "lsusb"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200398 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100399 #select PLATFORM_LINUX
Souf Oued11a802a2009-12-07 01:37:34 +0100400 help
401 lsusb is a utility for displaying information about USB buses in the
402 system and devices connected to them.
403
404 This version uses sysfs (/sys/bus/usb/devices) only.
405
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000406config MDEV
Rob Landley70f7ef72005-12-13 08:21:33 +0000407 bool "mdev"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200408 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100409 select PLATFORM_LINUX
Rob Landley70f7ef72005-12-13 08:21:33 +0000410 help
Mike Frysingerae302102007-02-14 13:20:29 +0000411 mdev is a mini-udev implementation for dynamically creating device
412 nodes in the /dev directory.
413
414 For more information, please see docs/mdev.txt
Rob Landley70f7ef72005-12-13 08:21:33 +0000415
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000416config FEATURE_MDEV_CONF
Rob Landley2ec922e2006-04-13 23:22:16 +0000417 bool "Support /etc/mdev.conf"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200418 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000419 depends on MDEV
Rob Landley70f7ef72005-12-13 08:21:33 +0000420 help
Mike Frysingerae302102007-02-14 13:20:29 +0000421 Add support for the mdev config file to control ownership and
422 permissions of the device nodes.
Rob Landley70f7ef72005-12-13 08:21:33 +0000423
Mike Frysingerae302102007-02-14 13:20:29 +0000424 For more information, please see docs/mdev.txt
Rob Landley70f7ef72005-12-13 08:21:33 +0000425
Mike Frysingerf0044c42008-02-01 06:53:50 +0000426config FEATURE_MDEV_RENAME
427 bool "Support subdirs/symlinks"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200428 default y
Mike Frysingerf0044c42008-02-01 06:53:50 +0000429 depends on FEATURE_MDEV_CONF
430 help
431 Add support for renaming devices and creating symlinks.
432
433 For more information, please see docs/mdev.txt
434
Denis Vlasenkof2f38682008-03-29 17:26:10 +0000435config FEATURE_MDEV_RENAME_REGEXP
436 bool "Support regular expressions substitutions when renaming device"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200437 default y
Denis Vlasenkof2f38682008-03-29 17:26:10 +0000438 depends on FEATURE_MDEV_RENAME
439 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000440 Add support for regular expressions substitutions when renaming
441 device.
Denis Vlasenkof2f38682008-03-29 17:26:10 +0000442
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000443config FEATURE_MDEV_EXEC
Rob Landleyef10d522006-06-26 14:11:33 +0000444 bool "Support command execution at device addition/removal"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200445 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000446 depends on FEATURE_MDEV_CONF
Rob Landleyef10d522006-06-26 14:11:33 +0000447 help
Mike Frysingerae302102007-02-14 13:20:29 +0000448 This adds support for an optional field to /etc/mdev.conf for
449 executing commands when devices are created/removed.
Rob Landleyef10d522006-06-26 14:11:33 +0000450
Mike Frysingerae302102007-02-14 13:20:29 +0000451 For more information, please see docs/mdev.txt
Rob Landleyef10d522006-06-26 14:11:33 +0000452
Mike Frysingera78ef2c2007-06-13 07:34:15 +0000453config FEATURE_MDEV_LOAD_FIRMWARE
454 bool "Support loading of firmwares"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200455 default y
Mike Frysingera78ef2c2007-06-13 07:34:15 +0000456 depends on MDEV
457 help
458 Some devices need to load firmware before they can be usable.
459
460 These devices will request userspace look up the files in
461 /lib/firmware/ and if it exists, send it to the kernel for
462 loading into the hardware.
463
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000464config MKSWAP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000465 bool "mkswap"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200466 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000467 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000468 The mkswap utility is used to configure a file or disk partition as
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000469 Linux swap space. This allows Linux to use the entire file or
Eric Andersena0ac4522003-02-27 03:14:04 +0000470 partition as if it were additional RAM, which can greatly increase
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000471 the capability of low-memory machines. This additional memory is
Eric Andersena0ac4522003-02-27 03:14:04 +0000472 much slower than real RAM, but can be very helpful at preventing your
Eric Andersen88c916b2003-10-22 09:58:56 +0000473 applications being killed by the Linux out of memory (OOM) killer.
474 Once you have created swap space using 'mkswap' you need to enable
475 the swap space using the 'swapon' utility.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000476
Denys Vlasenkobeca96f2009-06-19 13:14:48 +0200477config FEATURE_MKSWAP_UUID
478 bool "UUID support"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200479 default y
Denys Vlasenkobeca96f2009-06-19 13:14:48 +0200480 depends on MKSWAP
481 help
482 Generate swap spaces with universally unique identifiers.
483
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000484config MORE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000485 bool "more"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200486 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000487 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000488 more is a simple utility which allows you to read text one screen
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000489 sized page at a time. If you want to read text that is larger than
Eric Andersena0ac4522003-02-27 03:14:04 +0000490 the screen, and you are using anything faster than a 300 baud modem,
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000491 you will probably find this utility very helpful. If you don't have
Eric Andersena0ac4522003-02-27 03:14:04 +0000492 any need to reading text files, you can leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000493
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000494config MOUNT
Mike Frysinger55092282006-02-02 23:14:57 +0000495 bool "mount"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200496 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100497 select PLATFORM_LINUX
Mike Frysinger55092282006-02-02 23:14:57 +0000498 help
499 All files and filesystems in Unix are arranged into one big directory
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000500 tree. The 'mount' utility is used to graft a filesystem onto a
501 particular part of the tree. A filesystem can either live on a block
Mike Frysinger55092282006-02-02 23:14:57 +0000502 device, or it can be accessible over the network, as is the case with
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000503 NFS filesystems. Most people using BusyBox will also want to enable
Mike Frysinger55092282006-02-02 23:14:57 +0000504 the 'mount' utility.
505
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000506config FEATURE_MOUNT_FAKE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000507 bool "Support option -f"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200508 default y
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000509 depends on MOUNT
510 help
511 Enable support for faking a file system mount.
512
Denis Vlasenkof732e962008-02-18 12:07:49 +0000513config FEATURE_MOUNT_VERBOSE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000514 bool "Support option -v"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200515 default y
Denis Vlasenkof732e962008-02-18 12:07:49 +0000516 depends on MOUNT
517 help
518 Enable multi-level -v[vv...] verbose messages. Useful if you
519 debug mount problems and want to see what is exactly passed
520 to the kernel.
521
Denis Vlasenko2535f122007-09-15 13:28:30 +0000522config FEATURE_MOUNT_HELPERS
523 bool "Support mount helpers"
524 default n
525 depends on MOUNT
526 help
527 Enable mounting of virtual file systems via external helpers.
Denis Vlasenko32d49bc2008-02-03 23:52:41 +0000528 E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call
529 "obexfs -b00.11.22.33.44.55 /mnt"
530 Also "mount -t sometype [-o opts] fs /mnt" will try
531 "sometype [-o opts] fs /mnt" if simple mount syscall fails.
532 The idea is to use such virtual filesystems in /etc/fstab.
Denis Vlasenko2535f122007-09-15 13:28:30 +0000533
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000534config FEATURE_MOUNT_LABEL
Dan Fandricheafc6952010-06-17 23:30:27 -0700535 bool "Support specifying devices by label or UUID"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200536 default y
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000537 depends on MOUNT
Denis Vlasenko4824cca2008-03-21 18:29:01 +0000538 select VOLUMEID
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000539 help
540 This allows for specifying a device by label or uuid, rather than by
Denis Vlasenko1e19afd2008-10-12 11:20:08 +0000541 name. This feature utilizes the same functionality as blkid/findfs.
Natanael Copa9aff2992009-09-20 04:28:22 +0200542 This also enables label or uuid support for swapon.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000543
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000544config FEATURE_MOUNT_NFS
Rob Landley2ec922e2006-04-13 23:22:16 +0000545 bool "Support mounting NFS file systems"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200546 default y
Denis Vlasenkoa7825f22007-06-16 13:56:51 +0000547 depends on MOUNT
548 select FEATURE_HAVE_RPC
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000549 select FEATURE_SYSLOG
Mike Frysinger55092282006-02-02 23:14:57 +0000550 help
Rob Landleye3781b72006-08-08 01:39:49 +0000551 Enable mounting of NFS file systems.
552
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000553config FEATURE_MOUNT_CIFS
Rob Landley89d9d4d2006-09-01 08:10:44 +0000554 bool "Support mounting CIFS/SMB file systems"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200555 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000556 depends on MOUNT
Rob Landley89d9d4d2006-09-01 08:10:44 +0000557 help
558 Enable support for samba mounts.
Denis Vlasenko39e93cc2006-09-10 18:38:17 +0000559
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000560config FEATURE_MOUNT_FLAGS
561 depends on MOUNT
Denis Vlasenko39e93cc2006-09-10 18:38:17 +0000562 bool "Support lots of -o flags in mount"
Rob Landleye3781b72006-08-08 01:39:49 +0000563 default y
564 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000565 Without this, mount only supports ro/rw/remount. With this, it
Rob Landleye3781b72006-08-08 01:39:49 +0000566 supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
567 noatime, diratime, nodiratime, loud, bind, move, shared, slave,
568 private, unbindable, rshared, rslave, rprivate, and runbindable.
569
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000570config FEATURE_MOUNT_FSTAB
571 depends on MOUNT
Rob Landleye3781b72006-08-08 01:39:49 +0000572 bool "Support /etc/fstab and -a"
573 default y
574 help
575 Support mount all and looking for files in /etc/fstab.
Mike Frysinger55092282006-02-02 23:14:57 +0000576
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000577config PIVOT_ROOT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000578 bool "pivot_root"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200579 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100580 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000581 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000582 The pivot_root utility swaps the mount points for the root filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000583 with some other mounted filesystem. This allows you to do all sorts
Eric Andersena0ac4522003-02-27 03:14:04 +0000584 of wild and crazy things with your Linux system and is far more
585 powerful than 'chroot'.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000586
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000587 Note: This is for initrd in linux 2.4. Under initramfs (introduced
Rob Landley0f34a822005-10-27 22:55:50 +0000588 in linux 2.6) use switch_root instead.
589
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000590config RDATE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000591 bool "rdate"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200592 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000593 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000594 The rdate utility allows you to synchronize the date and time of your
Eric Andersena0ac4522003-02-27 03:14:04 +0000595 system clock with the date and time of a remote networked system using
596 the RFC868 protocol, which is built into the inetd daemon on most
597 systems.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000598
Bernhard Reutner-Fischerc77e8432008-08-19 11:28:52 +0000599config RDEV
Denys Vlasenko345e0932010-03-31 16:03:56 +0200600 bool "rdev"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200601 default y
Denys Vlasenko345e0932010-03-31 16:03:56 +0200602 help
Bernhard Reutner-Fischerc77e8432008-08-19 11:28:52 +0000603 Print the device node associated with the filesystem mounted at '/'.
604
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000605config READPROFILE
Mike Frysinger75aa1922005-09-24 23:12:38 +0000606 bool "readprofile"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200607 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100608 #select PLATFORM_LINUX
Mike Frysinger75aa1922005-09-24 23:12:38 +0000609 help
610 This allows you to parse /proc/profile for basic profiling.
611
Mike Frysinger6b160e42008-02-15 02:27:19 +0000612config RTCWAKE
613 bool "rtcwake"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200614 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100615 select PLATFORM_LINUX
Mike Frysinger6b160e42008-02-15 02:27:19 +0000616 help
617 Enter a system sleep state until specified wakeup time.
618
Denis Vlasenko376003b2008-04-21 05:05:17 +0000619config SCRIPT
620 bool "script"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200621 default y
Denis Vlasenko376003b2008-04-21 05:05:17 +0000622 help
623 The script makes typescript of terminal session.
624
Denys Vlasenko5e611152009-05-19 17:36:16 +0200625config SCRIPTREPLAY
626 bool "scriptreplay"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200627 default y
Denys Vlasenko5e611152009-05-19 17:36:16 +0200628 help
629 This program replays a typescript, using timing information
630 given by script -t.
631
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000632config SETARCH
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000633 bool "setarch"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200634 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100635 select PLATFORM_LINUX
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000636 help
637 The linux32 utility is used to create a 32bit environment for the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000638 specified program (usually a shell). It only makes sense to have
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000639 this util on a system that supports both 64bit and 32bit userland
640 (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
641
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000642config SWAPONOFF
Eric Andersenc9f20d92002-12-05 08:41:41 +0000643 bool "swaponoff"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200644 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100645 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000646 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000647 This option enables both the 'swapon' and the 'swapoff' utilities.
648 Once you have created some swap space using 'mkswap', you also need
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000649 to enable your swap space with the 'swapon' utility. The 'swapoff'
Eric Andersena0ac4522003-02-27 03:14:04 +0000650 utility is used, typically at system shutdown, to disable any swap
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000651 space. If you are not using any swap space, you can leave this
Eric Andersena0ac4522003-02-27 03:14:04 +0000652 option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000653
Denis Vlasenkoee56e012008-05-18 23:05:34 +0000654config FEATURE_SWAPON_PRI
Bernhard Reutner-Fischer3576bed2008-05-19 08:25:23 +0000655 bool "Support priority option -p"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200656 default y
Denis Vlasenkoee56e012008-05-18 23:05:34 +0000657 depends on SWAPONOFF
658 help
659 Enable support for setting swap device priority in swapon.
660
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000661config SWITCH_ROOT
Mike Frysinger55092282006-02-02 23:14:57 +0000662 bool "switch_root"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200663 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100664 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000665 help
Mike Frysinger55092282006-02-02 23:14:57 +0000666 The switch_root utility is used from initramfs to select a new
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000667 root device. Under initramfs, you have to use this instead of
668 pivot_root. (Stop reading here if you don't care why.)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000669
Mike Frysinger55092282006-02-02 23:14:57 +0000670 Booting with initramfs extracts a gzipped cpio archive into rootfs
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000671 (which is a variant of ramfs/tmpfs). Because rootfs can't be moved
672 or unmounted*, pivot_root will not work from initramfs. Instead,
Mike Frysinger55092282006-02-02 23:14:57 +0000673 switch_root deletes everything out of rootfs (including itself),
674 does a mount --move that overmounts rootfs with the new root, and
675 then execs the specified init program.
676
677 * Because the Linux kernel uses rootfs internally as the starting
678 and ending point for searching through the kernel's doubly linked
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000679 list of active mount points. That's why.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000680
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000681config UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000682 bool "umount"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200683 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100684 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000685 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000686 When you want to remove a mounted filesystem from its current mount
687 point, for example when you are shutting down the system, the
688 'umount' utility is the tool to use. If you enabled the 'mount'
689 utility, you almost certainly also want to enable 'umount'.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000690
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000691config FEATURE_UMOUNT_ALL
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000692 bool "Support option -a"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200693 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000694 depends on UMOUNT
Rob Landleycc6d8d32006-02-08 20:06:57 +0000695 help
696 Support -a option to unmount all currently mounted filesystems.
697
Eric Andersenc9f20d92002-12-05 08:41:41 +0000698comment "Common options for mount/umount"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000699 depends on MOUNT || UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000700
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000701config FEATURE_MOUNT_LOOP
Rob Landley2ec922e2006-04-13 23:22:16 +0000702 bool "Support loopback mounts"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200703 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000704 depends on MOUNT || UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000705 help
Rob Landley6a6798b2005-08-10 20:35:54 +0000706 Enabling this feature allows automatic mounting of files (containing
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000707 filesystem images) via the linux kernel's loopback devices.
708 The mount command will detect you are trying to mount a file instead
709 of a block device, and transparently associate the file with a
710 loopback device. The umount command will also free that loopback
711 device.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000712
Rob Landley6a6798b2005-08-10 20:35:54 +0000713 You can still use the 'losetup' utility (to manually associate files
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000714 with loop devices) if you need to do something advanced, such as
Rob Landley6a6798b2005-08-10 20:35:54 +0000715 specify an offset or cryptographic options to the loopback device.
716 (If you don't want umount to free the loop device, use "umount -D".)
Paul Fox3f6f3172005-07-19 20:55:37 +0000717
Lauri Kasanen375a8ef2010-04-14 12:31:26 -0700718config FEATURE_MOUNT_LOOP_CREATE
719 bool "Create new loopback devices if needed"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200720 default y
Lauri Kasanen375a8ef2010-04-14 12:31:26 -0700721 depends on FEATURE_MOUNT_LOOP
722 help
723 Linux kernels >= 2.6.24 support unlimited loopback devices. They are
724 allocated for use when trying to use a loop device. The loop device
725 must however exist.
726
727 This feature lets mount to try to create next /dev/loopN device
728 if it does not find a free one.
729
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000730config FEATURE_MTAB_SUPPORT
Rob Landley2ec922e2006-04-13 23:22:16 +0000731 bool "Support for the old /etc/mtab file"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000732 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000733 depends on MOUNT || UMOUNT
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000734 select FEATURE_MOUNT_FAKE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000735 help
Rob Landley6a6798b2005-08-10 20:35:54 +0000736 Historically, Unix systems kept track of the currently mounted
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000737 partitions in the file "/etc/mtab". These days, the kernel exports
Rob Landley6a6798b2005-08-10 20:35:54 +0000738 the list of currently mounted partitions in "/proc/mounts", rendering
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000739 the old mtab file obsolete. (In modern systems, /etc/mtab should be
Rob Landley6a6798b2005-08-10 20:35:54 +0000740 a symlink to /proc/mounts.)
Eric Andersena0ac4522003-02-27 03:14:04 +0000741
Rob Landley6a6798b2005-08-10 20:35:54 +0000742 The only reason to have mount maintain an /etc/mtab file itself is if
743 your stripped-down embedded system does not have a /proc directory.
744 If you must use this, keep in mind it's inherently brittle (for
745 example a mount under chroot won't update it), can't handle modern
746 features like separate per-process filesystem namespaces, requires
Dan Fandricheafc6952010-06-17 23:30:27 -0700747 that your /etc directory be writable, tends to get easily confused
Rob Landley17507fa2006-05-08 02:22:24 +0000748 by --bind or --move mounts, won't update if you rename a directory
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000749 that contains a mount point, and so on. (In brief: avoid.)
Rob Landley17507fa2006-05-08 02:22:24 +0000750
751 About the only reason to use this is if you've removed /proc from
752 your kernel.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000753
Denys Vlasenko0e450662010-07-14 07:10:47 +0200754config VOLUMEID
755 bool #No description makes it a hidden option
756 default n
757
758menu "Filesystem/Volume identification"
759 depends on VOLUMEID
760
761config FEATURE_VOLUMEID_EXT
762 bool "Ext filesystem"
763 default y
764 depends on VOLUMEID
765 help
766 TODO
767
768config FEATURE_VOLUMEID_BTRFS
769 bool "btrfs filesystem"
770 default y
771 depends on VOLUMEID
772 help
773 TODO
774
775config FEATURE_VOLUMEID_REISERFS
776 bool "Reiser filesystem"
777 default y
778 depends on VOLUMEID
779 help
780 TODO
781
782config FEATURE_VOLUMEID_FAT
783 bool "fat filesystem"
784 default y
785 depends on VOLUMEID
786 help
787 TODO
788
789config FEATURE_VOLUMEID_HFS
790 bool "hfs filesystem"
791 default y
792 depends on VOLUMEID
793 help
794 TODO
795
796config FEATURE_VOLUMEID_JFS
797 bool "jfs filesystem"
798 default y
799 depends on VOLUMEID
800 help
801 TODO
802
803### config FEATURE_VOLUMEID_UFS
804### bool "ufs filesystem"
805### default y
806### depends on VOLUMEID
807### help
808### TODO
809
810config FEATURE_VOLUMEID_XFS
811 bool "xfs filesystem"
812 default y
813 depends on VOLUMEID
814 help
815 TODO
816
817config FEATURE_VOLUMEID_NTFS
818 bool "ntfs filesystem"
819 default y
820 depends on VOLUMEID
821 help
822 TODO
823
824config FEATURE_VOLUMEID_ISO9660
825 bool "iso9660 filesystem"
826 default y
827 depends on VOLUMEID
828 help
829 TODO
830
831config FEATURE_VOLUMEID_UDF
832 bool "udf filesystem"
833 default y
834 depends on VOLUMEID
835 help
836 TODO
837
838config FEATURE_VOLUMEID_LUKS
839 bool "luks filesystem"
840 default y
841 depends on VOLUMEID
842 help
843 TODO
844
845config FEATURE_VOLUMEID_LINUXSWAP
846 bool "linux swap filesystem"
847 default y
848 depends on VOLUMEID
849 help
850 TODO
851
852### config FEATURE_VOLUMEID_LVM
853### bool "lvm"
854### default y
855### depends on VOLUMEID
856### help
857### TODO
858
859config FEATURE_VOLUMEID_CRAMFS
860 bool "cramfs filesystem"
861 default y
862 depends on VOLUMEID
863 help
864 TODO
865
866### config FEATURE_VOLUMEID_HPFS
867### bool "hpfs filesystem"
868### default y
869### depends on VOLUMEID
870### help
871### TODO
872
873config FEATURE_VOLUMEID_ROMFS
874 bool "romfs filesystem"
875 default y
876 depends on VOLUMEID
877 help
878 TODO
879
880config FEATURE_VOLUMEID_SYSV
881 bool "sysv filesystem"
882 default y
883 depends on VOLUMEID
884 help
885 TODO
886
887### config FEATURE_VOLUMEID_MINIX
888### bool "minix filesystem"
889### default y
890### depends on VOLUMEID
891### help
892### TODO
893
894### These only detect partition tables - not used (yet?)
895### config FEATURE_VOLUMEID_MAC
896### bool "mac filesystem"
897### default y
898### depends on VOLUMEID
899### help
900### TODO
901###
902### config FEATURE_VOLUMEID_MSDOS
903### bool "msdos filesystem"
904### default y
905### depends on VOLUMEID
906### help
907### TODO
908
909config FEATURE_VOLUMEID_OCFS2
910 bool "ocfs2 filesystem"
911 default y
912 depends on VOLUMEID
913 help
914 TODO
915
916### config FEATURE_VOLUMEID_HIGHPOINTRAID
917### bool "highpoint raid"
918### default y
919### depends on VOLUMEID
920### help
921### TODO
922
923### config FEATURE_VOLUMEID_ISWRAID
924### bool "intel raid"
925### default y
926### depends on VOLUMEID
927### help
928### TODO
929
930### config FEATURE_VOLUMEID_LSIRAID
931### bool "lsi raid"
932### default y
933### depends on VOLUMEID
934### help
935### TODO
936
937### config FEATURE_VOLUMEID_VIARAID
938### bool "via raid"
939### default y
940### depends on VOLUMEID
941### help
942### TODO
943
944### config FEATURE_VOLUMEID_SILICONRAID
945### bool "silicon raid"
946### default y
947### depends on VOLUMEID
948### help
949### TODO
950
951### config FEATURE_VOLUMEID_NVIDIARAID
952### bool "nvidia raid"
953### default y
954### depends on VOLUMEID
955### help
956### TODO
957
958### config FEATURE_VOLUMEID_PROMISERAID
959### bool "promise raid"
960### default y
961### depends on VOLUMEID
962### help
963### TODO
964
965config FEATURE_VOLUMEID_LINUXRAID
966 bool "linuxraid"
967 default y
968 depends on VOLUMEID
969 help
970 TODO
971
972endmenu
973
Eric Andersenc9f20d92002-12-05 08:41:41 +0000974endmenu