blob: c71b4de3820f8fbb56fb0fbf91e6225124972e6c [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
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020013 depends on 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
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020036 depends on 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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000043config DMESG
Eric Andersenc9f20d92002-12-05 08:41:41 +000044 bool "dmesg"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020045 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020046 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +000047 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000048 dmesg is used to examine or control the kernel ring buffer. When the
Eric Andersena0ac4522003-02-27 03:14:04 +000049 Linux kernel prints messages to the system log, they are stored in
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000050 the kernel ring buffer. You can use dmesg to print the kernel's ring
Eric Andersena0ac4522003-02-27 03:14:04 +000051 buffer, clear the kernel ring buffer, change the size of the kernel
52 ring buffer, and change the priority level at which kernel messages
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000053 are also logged to the system console. Enable this option if you
Eric Andersena0ac4522003-02-27 03:14:04 +000054 wish to enable the 'dmesg' utility.
Eric Andersenc9f20d92002-12-05 08:41:41 +000055
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000056config FEATURE_DMESG_PRETTY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +000057 bool "Pretty dmesg output"
Rob Landley446129a2006-07-27 16:40:55 +000058 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000059 depends on DMESG
Rob Landley446129a2006-07-27 16:40:55 +000060 help
61 If you wish to scrub the syslog level from the output, say 'Y' here.
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000062 The syslog level is a string prefixed to every line with the form
63 "<#>".
Rob Landley446129a2006-07-27 16:40:55 +000064
65 With this option you will see:
66 # dmesg
67 Linux version 2.6.17.4 .....
68 BIOS-provided physical RAM map:
69 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
70
71 Without this option you will see:
72 # dmesg
73 <5>Linux version 2.6.17.4 .....
74 <6>BIOS-provided physical RAM map:
75 <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
76
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000077config FBSET
Eric Andersenc9f20d92002-12-05 08:41:41 +000078 bool "fbset"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020079 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020080 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +000081 help
Eric Andersena0ac4522003-02-27 03:14:04 +000082 fbset is used to show or change the settings of a Linux frame buffer
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000083 device. The frame buffer device provides a simple and unique
84 interface to access a graphics display. Enable this option
Eric Andersen88c916b2003-10-22 09:58:56 +000085 if you wish to enable the 'fbset' utility.
Eric Andersena0ac4522003-02-27 03:14:04 +000086
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000087config FEATURE_FBSET_FANCY
Rob Landley2ec922e2006-04-13 23:22:16 +000088 bool "Turn on extra fbset options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020089 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000090 depends on FBSET
Eric Andersenc9f20d92002-12-05 08:41:41 +000091 help
Eric Andersena0ac4522003-02-27 03:14:04 +000092 This option enables extended fbset options, allowing one to set the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000093 framebuffer size, color depth, etc. interface to access a graphics
94 display. Enable this option if you wish to enable extended fbset
Eric Andersena0ac4522003-02-27 03:14:04 +000095 options.
Eric Andersenc9f20d92002-12-05 08:41:41 +000096
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000097config FEATURE_FBSET_READMODE
Rob Landley2ec922e2006-04-13 23:22:16 +000098 bool "Turn on fbset readmode support"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020099 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000100 depends on FBSET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000101 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000102 This option allows fbset to read the video mode database stored by
103 default as /etc/fb.modes, which can be used to set frame buffer
104 device to pre-defined video modes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000105
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000106config FDFLUSH
Eric Andersenc9f20d92002-12-05 08:41:41 +0000107 bool "fdflush"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200108 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200109 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000110 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000111 fdflush is only needed when changing media on slightly-broken
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000112 removable media drives. It is used to make Linux believe that a
Eric Andersena0ac4522003-02-27 03:14:04 +0000113 hardware disk-change switch has been actuated, which causes Linux to
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000114 forget anything it has cached from the previous media. If you have
Eric Andersena0ac4522003-02-27 03:14:04 +0000115 such a slightly-broken drive, you will need to run fdflush every time
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000116 you change a disk. Most people have working hardware and can safely
Eric Andersen88c916b2003-10-22 09:58:56 +0000117 leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000118
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000119config FDFORMAT
Eric Andersen01c3d402003-07-05 07:51:31 +0000120 bool "fdformat"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200121 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200122 depends on PLATFORM_LINUX
Eric Andersen01c3d402003-07-05 07:51:31 +0000123 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000124 fdformat is used to low-level format a floppy disk.
Eric Andersen01c3d402003-07-05 07:51:31 +0000125
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000126config FDISK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000127 bool "fdisk"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200128 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200129 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000130 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000131 The fdisk utility is used to divide hard disks into one or more
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000132 logical disks, which are generally called partitions. This utility
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000133 can be used to list and edit the set of partitions or BSD style
Eric Andersena0ac4522003-02-27 03:14:04 +0000134 'disk slices' that are defined on a hard drive.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000135
Eric Andersen84bdea82004-05-19 10:49:17 +0000136config FDISK_SUPPORT_LARGE_DISKS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000137 bool "Support over 4GB disks"
Eric Andersen84bdea82004-05-19 10:49:17 +0000138 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000139 depends on FDISK
Eric Andersen84bdea82004-05-19 10:49:17 +0000140 help
141 Enable this option to support large disks > 4GB.
142
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000143config FEATURE_FDISK_WRITABLE
Rob Landley2ec922e2006-04-13 23:22:16 +0000144 bool "Write support"
Glenn L McGrath4dcc2dd2003-01-04 11:56:06 +0000145 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000146 depends on FDISK
Glenn L McGrath4dcc2dd2003-01-04 11:56:06 +0000147 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000148 Enabling this option allows you to create or change a partition table
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000149 and write those changes out to disk. If you leave this option
Eric Andersena0ac4522003-02-27 03:14:04 +0000150 disabled, you will only be able to view the partition table.
Glenn L McGrath4dcc2dd2003-01-04 11:56:06 +0000151
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000152config FEATURE_AIX_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000153 bool "Support AIX disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000154 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000155 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000156 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000157 Enabling this option allows you to create or change AIX disklabels.
158 Most people can safely leave this option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000159
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000160config FEATURE_SGI_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000161 bool "Support SGI disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000162 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000163 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000164 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000165 Enabling this option allows you to create or change SGI disklabels.
166 Most people can safely leave this option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000167
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000168config FEATURE_SUN_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000169 bool "Support SUN disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000170 default n
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000171 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000172 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000173 Enabling this option allows you to create or change SUN disklabels.
174 Most people can safely leave this option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000175
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000176config FEATURE_OSF_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000177 bool "Support BSD disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000178 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000179 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000180 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000181 Enabling this option allows you to create or change BSD disklabels
182 and define and edit BSD disk slices.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000183
Kevin Cernekeeccb07042010-10-25 02:00:24 +0200184config FEATURE_GPT_LABEL
185 bool "Support GPT disklabels"
186 default n
187 depends on FDISK && FEATURE_FDISK_WRITABLE
188 help
189 Enabling this option allows you to view GUID Partition Table
190 disklabels.
191
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000192config FEATURE_FDISK_ADVANCED
Rob Landley2ec922e2006-04-13 23:22:16 +0000193 bool "Support expert mode"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200194 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000195 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000196 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000197 Enabling this option allows you to do terribly unsafe things like
198 define arbitrary drive geometry, move the beginning of data in a
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000199 partition, and similarly evil things. Unless you have a very good
Eric Andersena0ac4522003-02-27 03:14:04 +0000200 reason you would be wise to leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000201
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000202config FINDFS
203 bool "findfs"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200204 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200205 depends on PLATFORM_LINUX
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000206 select VOLUMEID
207 help
Denis Vlasenko22d10a02008-10-13 08:53:43 +0000208 Prints the name of a filesystem with given label or UUID.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000209 WARNING:
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000210 With all submodules selected, it will add ~8k to busybox.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000211
Timo Teras892d4b62010-03-18 22:45:35 +0100212config FLOCK
213 bool "flock"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200214 default y
Timo Teras892d4b62010-03-18 22:45:35 +0100215 help
216 Manage locks from shell scripts
217
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000218config FREERAMDISK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000219 bool "freeramdisk"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200220 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200221 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000222 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000223 Linux allows you to create ramdisks. This utility allows you to
Eric Andersena0ac4522003-02-27 03:14:04 +0000224 delete them and completely free all memory that was used for the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000225 ramdisk. For example, if you boot Linux into a ramdisk and later
Eric Andersena0ac4522003-02-27 03:14:04 +0000226 pivot_root, you may want to free the memory that is allocated to the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000227 ramdisk. If you have no use for freeing memory from a ramdisk, leave
Eric Andersena0ac4522003-02-27 03:14:04 +0000228 this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000229
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000230config FSCK_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000231 bool "fsck_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. It is not a journaling filesystem however and
Eric Andersen88c916b2003-10-22 09:58:56 +0000236 can experience corruption if it is not properly unmounted or if the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000237 power goes off in the middle of a write. This utility allows you to
Eric Andersena0ac4522003-02-27 03:14:04 +0000238 check for and attempt to repair any corruption that occurs to a minix
239 filesystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000240
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100241config MKFS_EXT2
242 bool "mkfs_ext2"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200243 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200244 depends on PLATFORM_LINUX
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100245 help
246 Utility to create EXT2 filesystems.
247
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000248config MKFS_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000249 bool "mkfs_minix"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200250 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200251 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000252 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000253 The minix filesystem is a nice, small, compact, read-write filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000254 with little overhead. If you wish to be able to create minix
255 filesystems this utility will do the job for you.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000256
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000257config FEATURE_MINIX2
Rob Landley2ec922e2006-04-13 23:22:16 +0000258 bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000259 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000260 depends on FSCK_MINIX || MKFS_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000261 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000262 If you wish to be able to create version 2 minix filesystems, enable
263 this. If you enabled 'mkfs_minix' then you almost certainly want to
264 be using the version 2 filesystem support.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000265
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100266config MKFS_REISER
267 bool "mkfs_reiser"
268 default n
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200269 depends on PLATFORM_LINUX
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100270 help
271 Utility to create ReiserFS filesystems.
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200272 Note: this applet needs a lot of testing and polishing.
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100273
Denis Vlasenko9d04b6b2009-03-28 02:13:01 +0000274config MKFS_VFAT
275 bool "mkfs_vfat"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200276 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200277 depends on PLATFORM_LINUX
Denis Vlasenko9d04b6b2009-03-28 02:13:01 +0000278 help
279 Utility to create FAT32 filesystems.
280
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000281config GETOPT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000282 bool "getopt"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200283 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000284 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000285 The getopt utility is used to break up (parse) options in command
286 lines to make it easy to write complex shell scripts that also check
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000287 for legal (and illegal) options. If you want to write horribly
Eric Andersena0ac4522003-02-27 03:14:04 +0000288 complex shell scripts, or use some horribly complex shell script
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000289 written by others, this utility may be for you. Most people will
Eric Andersena0ac4522003-02-27 03:14:04 +0000290 wisely leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000291
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200292config FEATURE_GETOPT_LONG
293 bool "Support option -l"
294 default y if LONG_OPTS
Denys Vlasenkob22bbff2009-07-04 16:50:43 +0200295 depends on GETOPT
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200296 help
Denys Vlasenkob22bbff2009-07-04 16:50:43 +0200297 Enable support for long options (option -l).
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200298
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000299config HEXDUMP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000300 bool "hexdump"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200301 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000302 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000303 The hexdump utility is used to display binary data in a readable
304 way that is comparable to the output from most hex editors.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000305
Denis Vlasenkofbe5f392007-11-18 05:36:50 +0000306config FEATURE_HEXDUMP_REVERSE
307 bool "Support -R, reverse of 'hexdump -Cv'"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200308 default y
Denis Vlasenkofbe5f392007-11-18 05:36:50 +0000309 depends on HEXDUMP
310 help
311 The hexdump utility is used to display binary data in an ascii
312 readable way. This option creates binary data from an ascii input.
313 NB: this option is non-standard. It's unwise to use it in scripts
314 aimed to be portable.
315
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000316config HD
317 bool "hd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200318 default y
Denys Vlasenko161bb8f2010-06-06 05:07:11 +0200319 depends on HEXDUMP
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000320 help
321 hd is an alias to hexdump -C.
322
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000323config HWCLOCK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000324 bool "hwclock"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200325 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200326 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000327 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000328 The hwclock utility is used to read and set the hardware clock
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000329 on a system. This is primarily used to set the current time on
Eric Andersen88c916b2003-10-22 09:58:56 +0000330 shutdown in the hardware clock, so the hardware will keep the
331 correct time when Linux is _not_ running.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000332
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000333config FEATURE_HWCLOCK_LONG_OPTIONS
Rob Landley2ec922e2006-04-13 23:22:16 +0000334 bool "Support long options (--hctosys,...)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200335 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200336 depends on HWCLOCK && LONG_OPTS
Eric Andersenc9f20d92002-12-05 08:41:41 +0000337 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000338 By default, the hwclock utility only uses short options. If you
Eric Andersen88c916b2003-10-22 09:58:56 +0000339 are overly fond of its long options, such as --hctosys, --utc, etc)
Eric Andersena0ac4522003-02-27 03:14:04 +0000340 then enable this option.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000341
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000342config FEATURE_HWCLOCK_ADJTIME_FHS
Rob Landley2ec922e2006-04-13 23:22:16 +0000343 bool "Use FHS /var/lib/hwclock/adjtime"
Denys Vlasenko81d9e602010-08-10 15:14:36 +0200344 default n # util-linux-ng in Fedora 13 still uses /etc/adjtime
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000345 depends on HWCLOCK
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000346 help
347 Starting with FHS 2.3, the adjtime state file is supposed to exist
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000348 at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000349 to use the FHS behavior, answer Y here, otherwise answer N for the
350 classic /etc/adjtime path.
351
Bernhard Reutner-Fischere99a92d2008-07-22 18:32:06 +0000352 pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000353
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000354config IPCRM
Rob Landley6eb1e412005-06-20 04:30:36 +0000355 bool "ipcrm"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200356 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000357 select FEATURE_SUID
Rob Landley6eb1e412005-06-20 04:30:36 +0000358 help
359 The ipcrm utility allows the removal of System V interprocess
360 communication (IPC) objects and the associated data structures
361 from the system.
362
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000363config IPCS
Rob Landley6eb1e412005-06-20 04:30:36 +0000364 bool "ipcs"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200365 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200366 depends on PLATFORM_LINUX
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000367 select FEATURE_SUID
Rob Landley6eb1e412005-06-20 04:30:36 +0000368 help
369 The ipcs utility is used to provide information on the currently
370 allocated System V interprocess (IPC) objects in the system.
371
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000372config LOSETUP
Mike Frysinger75aa1922005-09-24 23:12:38 +0000373 bool "losetup"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200374 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200375 depends on PLATFORM_LINUX
Mike Frysinger75aa1922005-09-24 23:12:38 +0000376 help
377 losetup is used to associate or detach a loop device with a regular
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000378 file or block device, and to query the status of a loop device. This
Mike Frysinger75aa1922005-09-24 23:12:38 +0000379 version does not currently support enabling data encryption.
380
Souf Oued982bc712009-12-05 17:56:25 +0100381config LSPCI
382 bool "lspci"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200383 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200384 #depends on PLATFORM_LINUX
Souf Oued982bc712009-12-05 17:56:25 +0100385 help
386 lspci is a utility for displaying information about PCI buses in the
387 system and devices connected to them.
388
389 This version uses sysfs (/sys/bus/pci/devices) only.
390
Souf Oued11a802a2009-12-07 01:37:34 +0100391config LSUSB
392 bool "lsusb"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200393 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200394 #depends on PLATFORM_LINUX
Souf Oued11a802a2009-12-07 01:37:34 +0100395 help
396 lsusb is a utility for displaying information about USB buses in the
397 system and devices connected to them.
398
399 This version uses sysfs (/sys/bus/usb/devices) only.
400
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000401config MDEV
Rob Landley70f7ef72005-12-13 08:21:33 +0000402 bool "mdev"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200403 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200404 depends on PLATFORM_LINUX
Rob Landley70f7ef72005-12-13 08:21:33 +0000405 help
Mike Frysingerae302102007-02-14 13:20:29 +0000406 mdev is a mini-udev implementation for dynamically creating device
407 nodes in the /dev directory.
408
409 For more information, please see docs/mdev.txt
Rob Landley70f7ef72005-12-13 08:21:33 +0000410
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000411config FEATURE_MDEV_CONF
Rob Landley2ec922e2006-04-13 23:22:16 +0000412 bool "Support /etc/mdev.conf"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200413 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000414 depends on MDEV
Rob Landley70f7ef72005-12-13 08:21:33 +0000415 help
Mike Frysingerae302102007-02-14 13:20:29 +0000416 Add support for the mdev config file to control ownership and
417 permissions of the device nodes.
Rob Landley70f7ef72005-12-13 08:21:33 +0000418
Mike Frysingerae302102007-02-14 13:20:29 +0000419 For more information, please see docs/mdev.txt
Rob Landley70f7ef72005-12-13 08:21:33 +0000420
Mike Frysingerf0044c42008-02-01 06:53:50 +0000421config FEATURE_MDEV_RENAME
422 bool "Support subdirs/symlinks"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200423 default y
Mike Frysingerf0044c42008-02-01 06:53:50 +0000424 depends on FEATURE_MDEV_CONF
425 help
426 Add support for renaming devices and creating symlinks.
427
428 For more information, please see docs/mdev.txt
429
Denis Vlasenkof2f38682008-03-29 17:26:10 +0000430config FEATURE_MDEV_RENAME_REGEXP
431 bool "Support regular expressions substitutions when renaming device"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200432 default y
Denis Vlasenkof2f38682008-03-29 17:26:10 +0000433 depends on FEATURE_MDEV_RENAME
434 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000435 Add support for regular expressions substitutions when renaming
436 device.
Denis Vlasenkof2f38682008-03-29 17:26:10 +0000437
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000438config FEATURE_MDEV_EXEC
Rob Landleyef10d522006-06-26 14:11:33 +0000439 bool "Support command execution at device addition/removal"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200440 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000441 depends on FEATURE_MDEV_CONF
Rob Landleyef10d522006-06-26 14:11:33 +0000442 help
Mike Frysingerae302102007-02-14 13:20:29 +0000443 This adds support for an optional field to /etc/mdev.conf for
444 executing commands when devices are created/removed.
Rob Landleyef10d522006-06-26 14:11:33 +0000445
Mike Frysingerae302102007-02-14 13:20:29 +0000446 For more information, please see docs/mdev.txt
Rob Landleyef10d522006-06-26 14:11:33 +0000447
Mike Frysingera78ef2c2007-06-13 07:34:15 +0000448config FEATURE_MDEV_LOAD_FIRMWARE
449 bool "Support loading of firmwares"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200450 default y
Mike Frysingera78ef2c2007-06-13 07:34:15 +0000451 depends on MDEV
452 help
453 Some devices need to load firmware before they can be usable.
454
455 These devices will request userspace look up the files in
456 /lib/firmware/ and if it exists, send it to the kernel for
457 loading into the hardware.
458
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000459config MKSWAP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000460 bool "mkswap"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200461 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000462 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000463 The mkswap utility is used to configure a file or disk partition as
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000464 Linux swap space. This allows Linux to use the entire file or
Eric Andersena0ac4522003-02-27 03:14:04 +0000465 partition as if it were additional RAM, which can greatly increase
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000466 the capability of low-memory machines. This additional memory is
Eric Andersena0ac4522003-02-27 03:14:04 +0000467 much slower than real RAM, but can be very helpful at preventing your
Eric Andersen88c916b2003-10-22 09:58:56 +0000468 applications being killed by the Linux out of memory (OOM) killer.
469 Once you have created swap space using 'mkswap' you need to enable
470 the swap space using the 'swapon' utility.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000471
Denys Vlasenkobeca96f2009-06-19 13:14:48 +0200472config FEATURE_MKSWAP_UUID
473 bool "UUID support"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200474 default y
Denys Vlasenkobeca96f2009-06-19 13:14:48 +0200475 depends on MKSWAP
476 help
477 Generate swap spaces with universally unique identifiers.
478
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000479config MORE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000480 bool "more"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200481 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000482 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000483 more is a simple utility which allows you to read text one screen
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000484 sized page at a time. If you want to read text that is larger than
Eric Andersena0ac4522003-02-27 03:14:04 +0000485 the screen, and you are using anything faster than a 300 baud modem,
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000486 you will probably find this utility very helpful. If you don't have
Eric Andersena0ac4522003-02-27 03:14:04 +0000487 any need to reading text files, you can leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000488
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000489config MOUNT
Mike Frysinger55092282006-02-02 23:14:57 +0000490 bool "mount"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200491 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200492 depends on PLATFORM_LINUX
Mike Frysinger55092282006-02-02 23:14:57 +0000493 help
494 All files and filesystems in Unix are arranged into one big directory
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000495 tree. The 'mount' utility is used to graft a filesystem onto a
496 particular part of the tree. A filesystem can either live on a block
Mike Frysinger55092282006-02-02 23:14:57 +0000497 device, or it can be accessible over the network, as is the case with
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000498 NFS filesystems. Most people using BusyBox will also want to enable
Mike Frysinger55092282006-02-02 23:14:57 +0000499 the 'mount' utility.
500
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000501config FEATURE_MOUNT_FAKE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000502 bool "Support option -f"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200503 default y
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000504 depends on MOUNT
505 help
506 Enable support for faking a file system mount.
507
Denis Vlasenkof732e962008-02-18 12:07:49 +0000508config FEATURE_MOUNT_VERBOSE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000509 bool "Support option -v"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200510 default y
Denis Vlasenkof732e962008-02-18 12:07:49 +0000511 depends on MOUNT
512 help
513 Enable multi-level -v[vv...] verbose messages. Useful if you
514 debug mount problems and want to see what is exactly passed
515 to the kernel.
516
Denis Vlasenko2535f122007-09-15 13:28:30 +0000517config FEATURE_MOUNT_HELPERS
518 bool "Support mount helpers"
519 default n
520 depends on MOUNT
521 help
522 Enable mounting of virtual file systems via external helpers.
Denis Vlasenko32d49bc2008-02-03 23:52:41 +0000523 E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call
524 "obexfs -b00.11.22.33.44.55 /mnt"
525 Also "mount -t sometype [-o opts] fs /mnt" will try
526 "sometype [-o opts] fs /mnt" if simple mount syscall fails.
527 The idea is to use such virtual filesystems in /etc/fstab.
Denis Vlasenko2535f122007-09-15 13:28:30 +0000528
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000529config FEATURE_MOUNT_LABEL
Dan Fandricheafc6952010-06-17 23:30:27 -0700530 bool "Support specifying devices by label or UUID"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200531 default y
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000532 depends on MOUNT
Denis Vlasenko4824cca2008-03-21 18:29:01 +0000533 select VOLUMEID
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000534 help
535 This allows for specifying a device by label or uuid, rather than by
Denis Vlasenko1e19afd2008-10-12 11:20:08 +0000536 name. This feature utilizes the same functionality as blkid/findfs.
Natanael Copa9aff2992009-09-20 04:28:22 +0200537 This also enables label or uuid support for swapon.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000538
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000539config FEATURE_MOUNT_NFS
Rob Landley2ec922e2006-04-13 23:22:16 +0000540 bool "Support mounting NFS file systems"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200541 default y
Denis Vlasenkoa7825f22007-06-16 13:56:51 +0000542 depends on MOUNT
543 select FEATURE_HAVE_RPC
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000544 select FEATURE_SYSLOG
Mike Frysinger55092282006-02-02 23:14:57 +0000545 help
Rob Landleye3781b72006-08-08 01:39:49 +0000546 Enable mounting of NFS file systems.
547
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000548config FEATURE_MOUNT_CIFS
Rob Landley89d9d4d2006-09-01 08:10:44 +0000549 bool "Support mounting CIFS/SMB file systems"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200550 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000551 depends on MOUNT
Rob Landley89d9d4d2006-09-01 08:10:44 +0000552 help
553 Enable support for samba mounts.
Denis Vlasenko39e93cc2006-09-10 18:38:17 +0000554
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000555config FEATURE_MOUNT_FLAGS
556 depends on MOUNT
Denis Vlasenko39e93cc2006-09-10 18:38:17 +0000557 bool "Support lots of -o flags in mount"
Rob Landleye3781b72006-08-08 01:39:49 +0000558 default y
559 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000560 Without this, mount only supports ro/rw/remount. With this, it
Rob Landleye3781b72006-08-08 01:39:49 +0000561 supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
562 noatime, diratime, nodiratime, loud, bind, move, shared, slave,
563 private, unbindable, rshared, rslave, rprivate, and runbindable.
564
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000565config FEATURE_MOUNT_FSTAB
566 depends on MOUNT
Rob Landleye3781b72006-08-08 01:39:49 +0000567 bool "Support /etc/fstab and -a"
568 default y
569 help
570 Support mount all and looking for files in /etc/fstab.
Mike Frysinger55092282006-02-02 23:14:57 +0000571
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000572config PIVOT_ROOT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000573 bool "pivot_root"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200574 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200575 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000576 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000577 The pivot_root utility swaps the mount points for the root filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000578 with some other mounted filesystem. This allows you to do all sorts
Eric Andersena0ac4522003-02-27 03:14:04 +0000579 of wild and crazy things with your Linux system and is far more
580 powerful than 'chroot'.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000581
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000582 Note: This is for initrd in linux 2.4. Under initramfs (introduced
Rob Landley0f34a822005-10-27 22:55:50 +0000583 in linux 2.6) use switch_root instead.
584
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000585config RDATE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000586 bool "rdate"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200587 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000588 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000589 The rdate utility allows you to synchronize the date and time of your
Eric Andersena0ac4522003-02-27 03:14:04 +0000590 system clock with the date and time of a remote networked system using
591 the RFC868 protocol, which is built into the inetd daemon on most
592 systems.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000593
Bernhard Reutner-Fischerc77e8432008-08-19 11:28:52 +0000594config RDEV
Denys Vlasenko345e0932010-03-31 16:03:56 +0200595 bool "rdev"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200596 default y
Denys Vlasenko345e0932010-03-31 16:03:56 +0200597 help
Bernhard Reutner-Fischerc77e8432008-08-19 11:28:52 +0000598 Print the device node associated with the filesystem mounted at '/'.
599
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000600config READPROFILE
Mike Frysinger75aa1922005-09-24 23:12:38 +0000601 bool "readprofile"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200602 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200603 #depends on PLATFORM_LINUX
Mike Frysinger75aa1922005-09-24 23:12:38 +0000604 help
605 This allows you to parse /proc/profile for basic profiling.
606
Mike Frysinger6b160e42008-02-15 02:27:19 +0000607config RTCWAKE
608 bool "rtcwake"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200609 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200610 depends on PLATFORM_LINUX
Mike Frysinger6b160e42008-02-15 02:27:19 +0000611 help
612 Enter a system sleep state until specified wakeup time.
613
Denis Vlasenko376003b2008-04-21 05:05:17 +0000614config SCRIPT
615 bool "script"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200616 default y
Denis Vlasenko376003b2008-04-21 05:05:17 +0000617 help
618 The script makes typescript of terminal session.
619
Denys Vlasenko5e611152009-05-19 17:36:16 +0200620config SCRIPTREPLAY
621 bool "scriptreplay"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200622 default y
Denys Vlasenko5e611152009-05-19 17:36:16 +0200623 help
624 This program replays a typescript, using timing information
625 given by script -t.
626
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000627config SETARCH
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000628 bool "setarch"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200629 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200630 depends on PLATFORM_LINUX
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000631 help
632 The linux32 utility is used to create a 32bit environment for the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000633 specified program (usually a shell). It only makes sense to have
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000634 this util on a system that supports both 64bit and 32bit userland
635 (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
636
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000637config SWAPONOFF
Eric Andersenc9f20d92002-12-05 08:41:41 +0000638 bool "swaponoff"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200639 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200640 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000641 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000642 This option enables both the 'swapon' and the 'swapoff' utilities.
643 Once you have created some swap space using 'mkswap', you also need
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000644 to enable your swap space with the 'swapon' utility. The 'swapoff'
Eric Andersena0ac4522003-02-27 03:14:04 +0000645 utility is used, typically at system shutdown, to disable any swap
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000646 space. If you are not using any swap space, you can leave this
Eric Andersena0ac4522003-02-27 03:14:04 +0000647 option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000648
Denis Vlasenkoee56e012008-05-18 23:05:34 +0000649config FEATURE_SWAPON_PRI
Bernhard Reutner-Fischer3576bed2008-05-19 08:25:23 +0000650 bool "Support priority option -p"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200651 default y
Denis Vlasenkoee56e012008-05-18 23:05:34 +0000652 depends on SWAPONOFF
653 help
654 Enable support for setting swap device priority in swapon.
655
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000656config SWITCH_ROOT
Mike Frysinger55092282006-02-02 23:14:57 +0000657 bool "switch_root"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200658 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200659 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000660 help
Mike Frysinger55092282006-02-02 23:14:57 +0000661 The switch_root utility is used from initramfs to select a new
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000662 root device. Under initramfs, you have to use this instead of
663 pivot_root. (Stop reading here if you don't care why.)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000664
Mike Frysinger55092282006-02-02 23:14:57 +0000665 Booting with initramfs extracts a gzipped cpio archive into rootfs
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000666 (which is a variant of ramfs/tmpfs). Because rootfs can't be moved
667 or unmounted*, pivot_root will not work from initramfs. Instead,
Mike Frysinger55092282006-02-02 23:14:57 +0000668 switch_root deletes everything out of rootfs (including itself),
669 does a mount --move that overmounts rootfs with the new root, and
670 then execs the specified init program.
671
672 * Because the Linux kernel uses rootfs internally as the starting
673 and ending point for searching through the kernel's doubly linked
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000674 list of active mount points. That's why.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000675
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000676config UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000677 bool "umount"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200678 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200679 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000680 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000681 When you want to remove a mounted filesystem from its current mount
682 point, for example when you are shutting down the system, the
683 'umount' utility is the tool to use. If you enabled the 'mount'
684 utility, you almost certainly also want to enable 'umount'.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000685
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000686config FEATURE_UMOUNT_ALL
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000687 bool "Support option -a"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200688 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000689 depends on UMOUNT
Rob Landleycc6d8d32006-02-08 20:06:57 +0000690 help
691 Support -a option to unmount all currently mounted filesystems.
692
Eric Andersenc9f20d92002-12-05 08:41:41 +0000693comment "Common options for mount/umount"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000694 depends on MOUNT || UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000695
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000696config FEATURE_MOUNT_LOOP
Rob Landley2ec922e2006-04-13 23:22:16 +0000697 bool "Support loopback mounts"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200698 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000699 depends on MOUNT || UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000700 help
Rob Landley6a6798b2005-08-10 20:35:54 +0000701 Enabling this feature allows automatic mounting of files (containing
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000702 filesystem images) via the linux kernel's loopback devices.
703 The mount command will detect you are trying to mount a file instead
704 of a block device, and transparently associate the file with a
705 loopback device. The umount command will also free that loopback
706 device.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000707
Rob Landley6a6798b2005-08-10 20:35:54 +0000708 You can still use the 'losetup' utility (to manually associate files
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000709 with loop devices) if you need to do something advanced, such as
Rob Landley6a6798b2005-08-10 20:35:54 +0000710 specify an offset or cryptographic options to the loopback device.
711 (If you don't want umount to free the loop device, use "umount -D".)
Paul Fox3f6f3172005-07-19 20:55:37 +0000712
Lauri Kasanen375a8ef2010-04-14 12:31:26 -0700713config FEATURE_MOUNT_LOOP_CREATE
714 bool "Create new loopback devices if needed"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200715 default y
Lauri Kasanen375a8ef2010-04-14 12:31:26 -0700716 depends on FEATURE_MOUNT_LOOP
717 help
718 Linux kernels >= 2.6.24 support unlimited loopback devices. They are
719 allocated for use when trying to use a loop device. The loop device
720 must however exist.
721
722 This feature lets mount to try to create next /dev/loopN device
723 if it does not find a free one.
724
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000725config FEATURE_MTAB_SUPPORT
Rob Landley2ec922e2006-04-13 23:22:16 +0000726 bool "Support for the old /etc/mtab file"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000727 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000728 depends on MOUNT || UMOUNT
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000729 select FEATURE_MOUNT_FAKE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000730 help
Rob Landley6a6798b2005-08-10 20:35:54 +0000731 Historically, Unix systems kept track of the currently mounted
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000732 partitions in the file "/etc/mtab". These days, the kernel exports
Rob Landley6a6798b2005-08-10 20:35:54 +0000733 the list of currently mounted partitions in "/proc/mounts", rendering
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000734 the old mtab file obsolete. (In modern systems, /etc/mtab should be
Rob Landley6a6798b2005-08-10 20:35:54 +0000735 a symlink to /proc/mounts.)
Eric Andersena0ac4522003-02-27 03:14:04 +0000736
Rob Landley6a6798b2005-08-10 20:35:54 +0000737 The only reason to have mount maintain an /etc/mtab file itself is if
738 your stripped-down embedded system does not have a /proc directory.
739 If you must use this, keep in mind it's inherently brittle (for
740 example a mount under chroot won't update it), can't handle modern
741 features like separate per-process filesystem namespaces, requires
Dan Fandricheafc6952010-06-17 23:30:27 -0700742 that your /etc directory be writable, tends to get easily confused
Rob Landley17507fa2006-05-08 02:22:24 +0000743 by --bind or --move mounts, won't update if you rename a directory
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000744 that contains a mount point, and so on. (In brief: avoid.)
Rob Landley17507fa2006-05-08 02:22:24 +0000745
746 About the only reason to use this is if you've removed /proc from
747 your kernel.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000748
Denys Vlasenko0e450662010-07-14 07:10:47 +0200749config VOLUMEID
750 bool #No description makes it a hidden option
751 default n
752
753menu "Filesystem/Volume identification"
754 depends on VOLUMEID
755
756config FEATURE_VOLUMEID_EXT
757 bool "Ext filesystem"
758 default y
759 depends on VOLUMEID
760 help
761 TODO
762
763config FEATURE_VOLUMEID_BTRFS
764 bool "btrfs filesystem"
765 default y
766 depends on VOLUMEID
767 help
768 TODO
769
770config FEATURE_VOLUMEID_REISERFS
771 bool "Reiser filesystem"
772 default y
773 depends on VOLUMEID
774 help
775 TODO
776
777config FEATURE_VOLUMEID_FAT
778 bool "fat filesystem"
779 default y
780 depends on VOLUMEID
781 help
782 TODO
783
784config FEATURE_VOLUMEID_HFS
785 bool "hfs filesystem"
786 default y
787 depends on VOLUMEID
788 help
789 TODO
790
791config FEATURE_VOLUMEID_JFS
792 bool "jfs filesystem"
793 default y
794 depends on VOLUMEID
795 help
796 TODO
797
798### config FEATURE_VOLUMEID_UFS
799### bool "ufs filesystem"
800### default y
801### depends on VOLUMEID
802### help
803### TODO
804
805config FEATURE_VOLUMEID_XFS
806 bool "xfs filesystem"
807 default y
808 depends on VOLUMEID
809 help
810 TODO
811
812config FEATURE_VOLUMEID_NTFS
813 bool "ntfs filesystem"
814 default y
815 depends on VOLUMEID
816 help
817 TODO
818
819config FEATURE_VOLUMEID_ISO9660
820 bool "iso9660 filesystem"
821 default y
822 depends on VOLUMEID
823 help
824 TODO
825
826config FEATURE_VOLUMEID_UDF
827 bool "udf filesystem"
828 default y
829 depends on VOLUMEID
830 help
831 TODO
832
833config FEATURE_VOLUMEID_LUKS
834 bool "luks filesystem"
835 default y
836 depends on VOLUMEID
837 help
838 TODO
839
840config FEATURE_VOLUMEID_LINUXSWAP
841 bool "linux swap filesystem"
842 default y
843 depends on VOLUMEID
844 help
845 TODO
846
847### config FEATURE_VOLUMEID_LVM
848### bool "lvm"
849### default y
850### depends on VOLUMEID
851### help
852### TODO
853
854config FEATURE_VOLUMEID_CRAMFS
855 bool "cramfs filesystem"
856 default y
857 depends on VOLUMEID
858 help
859 TODO
860
861### config FEATURE_VOLUMEID_HPFS
862### bool "hpfs filesystem"
863### default y
864### depends on VOLUMEID
865### help
866### TODO
867
868config FEATURE_VOLUMEID_ROMFS
869 bool "romfs filesystem"
870 default y
871 depends on VOLUMEID
872 help
873 TODO
874
875config FEATURE_VOLUMEID_SYSV
876 bool "sysv filesystem"
877 default y
878 depends on VOLUMEID
879 help
880 TODO
881
882### config FEATURE_VOLUMEID_MINIX
883### bool "minix filesystem"
884### default y
885### depends on VOLUMEID
886### help
887### TODO
888
889### These only detect partition tables - not used (yet?)
890### config FEATURE_VOLUMEID_MAC
891### bool "mac filesystem"
892### default y
893### depends on VOLUMEID
894### help
895### TODO
896###
897### config FEATURE_VOLUMEID_MSDOS
898### bool "msdos filesystem"
899### default y
900### depends on VOLUMEID
901### help
902### TODO
903
904config FEATURE_VOLUMEID_OCFS2
905 bool "ocfs2 filesystem"
906 default y
907 depends on VOLUMEID
908 help
909 TODO
910
911### config FEATURE_VOLUMEID_HIGHPOINTRAID
912### bool "highpoint raid"
913### default y
914### depends on VOLUMEID
915### help
916### TODO
917
918### config FEATURE_VOLUMEID_ISWRAID
919### bool "intel raid"
920### default y
921### depends on VOLUMEID
922### help
923### TODO
924
925### config FEATURE_VOLUMEID_LSIRAID
926### bool "lsi raid"
927### default y
928### depends on VOLUMEID
929### help
930### TODO
931
932### config FEATURE_VOLUMEID_VIARAID
933### bool "via raid"
934### default y
935### depends on VOLUMEID
936### help
937### TODO
938
939### config FEATURE_VOLUMEID_SILICONRAID
940### bool "silicon raid"
941### default y
942### depends on VOLUMEID
943### help
944### TODO
945
946### config FEATURE_VOLUMEID_NVIDIARAID
947### bool "nvidia raid"
948### default y
949### depends on VOLUMEID
950### help
951### TODO
952
953### config FEATURE_VOLUMEID_PROMISERAID
954### bool "promise raid"
955### default y
956### depends on VOLUMEID
957### help
958### TODO
959
960config FEATURE_VOLUMEID_LINUXRAID
961 bool "linuxraid"
962 default y
963 depends on VOLUMEID
964 help
965 TODO
966
967endmenu
968
Eric Andersenc9f20d92002-12-05 08:41:41 +0000969endmenu