blob: 98953c17b98a46da3ce551db5422149cf07597c9 [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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000184config FEATURE_FDISK_ADVANCED
Rob Landley2ec922e2006-04-13 23:22:16 +0000185 bool "Support expert mode"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200186 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000187 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000188 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000189 Enabling this option allows you to do terribly unsafe things like
190 define arbitrary drive geometry, move the beginning of data in a
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000191 partition, and similarly evil things. Unless you have a very good
Eric Andersena0ac4522003-02-27 03:14:04 +0000192 reason you would be wise to leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000193
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000194config FINDFS
195 bool "findfs"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200196 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200197 depends on PLATFORM_LINUX
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000198 select VOLUMEID
199 help
Denis Vlasenko22d10a02008-10-13 08:53:43 +0000200 Prints the name of a filesystem with given label or UUID.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000201 WARNING:
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000202 With all submodules selected, it will add ~8k to busybox.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000203
Timo Teras892d4b62010-03-18 22:45:35 +0100204config FLOCK
205 bool "flock"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200206 default y
Timo Teras892d4b62010-03-18 22:45:35 +0100207 help
208 Manage locks from shell scripts
209
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000210config FREERAMDISK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000211 bool "freeramdisk"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200212 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200213 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000214 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000215 Linux allows you to create ramdisks. This utility allows you to
Eric Andersena0ac4522003-02-27 03:14:04 +0000216 delete them and completely free all memory that was used for the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000217 ramdisk. For example, if you boot Linux into a ramdisk and later
Eric Andersena0ac4522003-02-27 03:14:04 +0000218 pivot_root, you may want to free the memory that is allocated to the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000219 ramdisk. If you have no use for freeing memory from a ramdisk, leave
Eric Andersena0ac4522003-02-27 03:14:04 +0000220 this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000221
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000222config FSCK_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000223 bool "fsck_minix"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200224 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000225 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000226 The minix filesystem is a nice, small, compact, read-write filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000227 with little overhead. It is not a journaling filesystem however and
Eric Andersen88c916b2003-10-22 09:58:56 +0000228 can experience corruption if it is not properly unmounted or if the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000229 power goes off in the middle of a write. This utility allows you to
Eric Andersena0ac4522003-02-27 03:14:04 +0000230 check for and attempt to repair any corruption that occurs to a minix
231 filesystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000232
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100233config MKFS_EXT2
234 bool "mkfs_ext2"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200235 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200236 depends on PLATFORM_LINUX
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100237 help
238 Utility to create EXT2 filesystems.
239
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000240config MKFS_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000241 bool "mkfs_minix"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200242 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200243 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000244 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000245 The minix filesystem is a nice, small, compact, read-write filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000246 with little overhead. If you wish to be able to create minix
247 filesystems this utility will do the job for you.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000248
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000249config FEATURE_MINIX2
Rob Landley2ec922e2006-04-13 23:22:16 +0000250 bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000251 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000252 depends on FSCK_MINIX || MKFS_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000253 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000254 If you wish to be able to create version 2 minix filesystems, enable
255 this. If you enabled 'mkfs_minix' then you almost certainly want to
256 be using the version 2 filesystem support.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000257
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100258config MKFS_REISER
259 bool "mkfs_reiser"
260 default n
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200261 depends on PLATFORM_LINUX
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100262 help
263 Utility to create ReiserFS filesystems.
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200264 Note: this applet needs a lot of testing and polishing.
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100265
Denis Vlasenko9d04b6b2009-03-28 02:13:01 +0000266config MKFS_VFAT
267 bool "mkfs_vfat"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200268 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200269 depends on PLATFORM_LINUX
Denis Vlasenko9d04b6b2009-03-28 02:13:01 +0000270 help
271 Utility to create FAT32 filesystems.
272
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000273config GETOPT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000274 bool "getopt"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200275 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000276 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000277 The getopt utility is used to break up (parse) options in command
278 lines to make it easy to write complex shell scripts that also check
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000279 for legal (and illegal) options. If you want to write horribly
Eric Andersena0ac4522003-02-27 03:14:04 +0000280 complex shell scripts, or use some horribly complex shell script
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000281 written by others, this utility may be for you. Most people will
Eric Andersena0ac4522003-02-27 03:14:04 +0000282 wisely leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000283
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200284config FEATURE_GETOPT_LONG
285 bool "Support option -l"
286 default y if LONG_OPTS
Denys Vlasenkob22bbff2009-07-04 16:50:43 +0200287 depends on GETOPT
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200288 help
Denys Vlasenkob22bbff2009-07-04 16:50:43 +0200289 Enable support for long options (option -l).
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200290
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000291config HEXDUMP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000292 bool "hexdump"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200293 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000294 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000295 The hexdump utility is used to display binary data in a readable
296 way that is comparable to the output from most hex editors.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000297
Denis Vlasenkofbe5f392007-11-18 05:36:50 +0000298config FEATURE_HEXDUMP_REVERSE
299 bool "Support -R, reverse of 'hexdump -Cv'"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200300 default y
Denis Vlasenkofbe5f392007-11-18 05:36:50 +0000301 depends on HEXDUMP
302 help
303 The hexdump utility is used to display binary data in an ascii
304 readable way. This option creates binary data from an ascii input.
305 NB: this option is non-standard. It's unwise to use it in scripts
306 aimed to be portable.
307
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000308config HD
309 bool "hd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200310 default y
Denys Vlasenko161bb8f2010-06-06 05:07:11 +0200311 depends on HEXDUMP
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000312 help
313 hd is an alias to hexdump -C.
314
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000315config HWCLOCK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000316 bool "hwclock"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200317 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200318 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000319 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000320 The hwclock utility is used to read and set the hardware clock
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000321 on a system. This is primarily used to set the current time on
Eric Andersen88c916b2003-10-22 09:58:56 +0000322 shutdown in the hardware clock, so the hardware will keep the
323 correct time when Linux is _not_ running.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000324
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000325config FEATURE_HWCLOCK_LONG_OPTIONS
Rob Landley2ec922e2006-04-13 23:22:16 +0000326 bool "Support long options (--hctosys,...)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200327 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200328 depends on HWCLOCK && LONG_OPTS
Eric Andersenc9f20d92002-12-05 08:41:41 +0000329 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000330 By default, the hwclock utility only uses short options. If you
Eric Andersen88c916b2003-10-22 09:58:56 +0000331 are overly fond of its long options, such as --hctosys, --utc, etc)
Eric Andersena0ac4522003-02-27 03:14:04 +0000332 then enable this option.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000333
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000334config FEATURE_HWCLOCK_ADJTIME_FHS
Rob Landley2ec922e2006-04-13 23:22:16 +0000335 bool "Use FHS /var/lib/hwclock/adjtime"
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000336 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000337 depends on HWCLOCK
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000338 help
339 Starting with FHS 2.3, the adjtime state file is supposed to exist
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000340 at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000341 to use the FHS behavior, answer Y here, otherwise answer N for the
342 classic /etc/adjtime path.
343
Bernhard Reutner-Fischere99a92d2008-07-22 18:32:06 +0000344 pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000345
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000346config IPCRM
Rob Landley6eb1e412005-06-20 04:30:36 +0000347 bool "ipcrm"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200348 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000349 select FEATURE_SUID
Rob Landley6eb1e412005-06-20 04:30:36 +0000350 help
351 The ipcrm utility allows the removal of System V interprocess
352 communication (IPC) objects and the associated data structures
353 from the system.
354
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000355config IPCS
Rob Landley6eb1e412005-06-20 04:30:36 +0000356 bool "ipcs"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200357 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200358 depends on PLATFORM_LINUX
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000359 select FEATURE_SUID
Rob Landley6eb1e412005-06-20 04:30:36 +0000360 help
361 The ipcs utility is used to provide information on the currently
362 allocated System V interprocess (IPC) objects in the system.
363
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000364config LOSETUP
Mike Frysinger75aa1922005-09-24 23:12:38 +0000365 bool "losetup"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200366 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200367 depends on PLATFORM_LINUX
Mike Frysinger75aa1922005-09-24 23:12:38 +0000368 help
369 losetup is used to associate or detach a loop device with a regular
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000370 file or block device, and to query the status of a loop device. This
Mike Frysinger75aa1922005-09-24 23:12:38 +0000371 version does not currently support enabling data encryption.
372
Souf Oued982bc712009-12-05 17:56:25 +0100373config LSPCI
374 bool "lspci"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200375 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200376 #depends on PLATFORM_LINUX
Souf Oued982bc712009-12-05 17:56:25 +0100377 help
378 lspci is a utility for displaying information about PCI buses in the
379 system and devices connected to them.
380
381 This version uses sysfs (/sys/bus/pci/devices) only.
382
Souf Oued11a802a2009-12-07 01:37:34 +0100383config LSUSB
384 bool "lsusb"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200385 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200386 #depends on PLATFORM_LINUX
Souf Oued11a802a2009-12-07 01:37:34 +0100387 help
388 lsusb is a utility for displaying information about USB buses in the
389 system and devices connected to them.
390
391 This version uses sysfs (/sys/bus/usb/devices) only.
392
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000393config MDEV
Rob Landley70f7ef72005-12-13 08:21:33 +0000394 bool "mdev"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200395 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200396 depends on PLATFORM_LINUX
Rob Landley70f7ef72005-12-13 08:21:33 +0000397 help
Mike Frysingerae302102007-02-14 13:20:29 +0000398 mdev is a mini-udev implementation for dynamically creating device
399 nodes in the /dev directory.
400
401 For more information, please see docs/mdev.txt
Rob Landley70f7ef72005-12-13 08:21:33 +0000402
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000403config FEATURE_MDEV_CONF
Rob Landley2ec922e2006-04-13 23:22:16 +0000404 bool "Support /etc/mdev.conf"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200405 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000406 depends on MDEV
Rob Landley70f7ef72005-12-13 08:21:33 +0000407 help
Mike Frysingerae302102007-02-14 13:20:29 +0000408 Add support for the mdev config file to control ownership and
409 permissions of the device nodes.
Rob Landley70f7ef72005-12-13 08:21:33 +0000410
Mike Frysingerae302102007-02-14 13:20:29 +0000411 For more information, please see docs/mdev.txt
Rob Landley70f7ef72005-12-13 08:21:33 +0000412
Mike Frysingerf0044c42008-02-01 06:53:50 +0000413config FEATURE_MDEV_RENAME
414 bool "Support subdirs/symlinks"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200415 default y
Mike Frysingerf0044c42008-02-01 06:53:50 +0000416 depends on FEATURE_MDEV_CONF
417 help
418 Add support for renaming devices and creating symlinks.
419
420 For more information, please see docs/mdev.txt
421
Denis Vlasenkof2f38682008-03-29 17:26:10 +0000422config FEATURE_MDEV_RENAME_REGEXP
423 bool "Support regular expressions substitutions when renaming device"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200424 default y
Denis Vlasenkof2f38682008-03-29 17:26:10 +0000425 depends on FEATURE_MDEV_RENAME
426 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000427 Add support for regular expressions substitutions when renaming
428 device.
Denis Vlasenkof2f38682008-03-29 17:26:10 +0000429
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000430config FEATURE_MDEV_EXEC
Rob Landleyef10d522006-06-26 14:11:33 +0000431 bool "Support command execution at device addition/removal"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200432 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000433 depends on FEATURE_MDEV_CONF
Rob Landleyef10d522006-06-26 14:11:33 +0000434 help
Mike Frysingerae302102007-02-14 13:20:29 +0000435 This adds support for an optional field to /etc/mdev.conf for
436 executing commands when devices are created/removed.
Rob Landleyef10d522006-06-26 14:11:33 +0000437
Mike Frysingerae302102007-02-14 13:20:29 +0000438 For more information, please see docs/mdev.txt
Rob Landleyef10d522006-06-26 14:11:33 +0000439
Mike Frysingera78ef2c2007-06-13 07:34:15 +0000440config FEATURE_MDEV_LOAD_FIRMWARE
441 bool "Support loading of firmwares"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200442 default y
Mike Frysingera78ef2c2007-06-13 07:34:15 +0000443 depends on MDEV
444 help
445 Some devices need to load firmware before they can be usable.
446
447 These devices will request userspace look up the files in
448 /lib/firmware/ and if it exists, send it to the kernel for
449 loading into the hardware.
450
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000451config MKSWAP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000452 bool "mkswap"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200453 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000454 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000455 The mkswap utility is used to configure a file or disk partition as
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000456 Linux swap space. This allows Linux to use the entire file or
Eric Andersena0ac4522003-02-27 03:14:04 +0000457 partition as if it were additional RAM, which can greatly increase
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000458 the capability of low-memory machines. This additional memory is
Eric Andersena0ac4522003-02-27 03:14:04 +0000459 much slower than real RAM, but can be very helpful at preventing your
Eric Andersen88c916b2003-10-22 09:58:56 +0000460 applications being killed by the Linux out of memory (OOM) killer.
461 Once you have created swap space using 'mkswap' you need to enable
462 the swap space using the 'swapon' utility.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000463
Denys Vlasenkobeca96f2009-06-19 13:14:48 +0200464config FEATURE_MKSWAP_UUID
465 bool "UUID support"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200466 default y
Denys Vlasenkobeca96f2009-06-19 13:14:48 +0200467 depends on MKSWAP
468 help
469 Generate swap spaces with universally unique identifiers.
470
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000471config MORE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000472 bool "more"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200473 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000474 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000475 more is a simple utility which allows you to read text one screen
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000476 sized page at a time. If you want to read text that is larger than
Eric Andersena0ac4522003-02-27 03:14:04 +0000477 the screen, and you are using anything faster than a 300 baud modem,
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000478 you will probably find this utility very helpful. If you don't have
Eric Andersena0ac4522003-02-27 03:14:04 +0000479 any need to reading text files, you can leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000480
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000481config FEATURE_USE_TERMIOS
Rob Landley2ec922e2006-04-13 23:22:16 +0000482 bool "Use termios to manipulate the screen"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000483 default y
Paul Fox9e1f92d2008-03-20 16:04:36 +0000484 depends on MORE || TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000485 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000486 This option allows utilities such as 'more' and 'top' to determine
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000487 the size of the screen. If you leave this disabled, your utilities
Eric Andersen88c916b2003-10-22 09:58:56 +0000488 that display things on the screen will be especially primitive and
Eric Andersena0ac4522003-02-27 03:14:04 +0000489 will be unable to determine the current screen size, and will be
490 unable to move the cursor.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000491
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000492config MOUNT
Mike Frysinger55092282006-02-02 23:14:57 +0000493 bool "mount"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200494 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200495 depends on PLATFORM_LINUX
Mike Frysinger55092282006-02-02 23:14:57 +0000496 help
497 All files and filesystems in Unix are arranged into one big directory
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000498 tree. The 'mount' utility is used to graft a filesystem onto a
499 particular part of the tree. A filesystem can either live on a block
Mike Frysinger55092282006-02-02 23:14:57 +0000500 device, or it can be accessible over the network, as is the case with
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000501 NFS filesystems. Most people using BusyBox will also want to enable
Mike Frysinger55092282006-02-02 23:14:57 +0000502 the 'mount' utility.
503
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000504config FEATURE_MOUNT_FAKE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000505 bool "Support option -f"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200506 default y
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000507 depends on MOUNT
508 help
509 Enable support for faking a file system mount.
510
Denis Vlasenkof732e962008-02-18 12:07:49 +0000511config FEATURE_MOUNT_VERBOSE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000512 bool "Support option -v"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200513 default y
Denis Vlasenkof732e962008-02-18 12:07:49 +0000514 depends on MOUNT
515 help
516 Enable multi-level -v[vv...] verbose messages. Useful if you
517 debug mount problems and want to see what is exactly passed
518 to the kernel.
519
Denis Vlasenko2535f122007-09-15 13:28:30 +0000520config FEATURE_MOUNT_HELPERS
521 bool "Support mount helpers"
522 default n
523 depends on MOUNT
524 help
525 Enable mounting of virtual file systems via external helpers.
Denis Vlasenko32d49bc2008-02-03 23:52:41 +0000526 E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call
527 "obexfs -b00.11.22.33.44.55 /mnt"
528 Also "mount -t sometype [-o opts] fs /mnt" will try
529 "sometype [-o opts] fs /mnt" if simple mount syscall fails.
530 The idea is to use such virtual filesystems in /etc/fstab.
Denis Vlasenko2535f122007-09-15 13:28:30 +0000531
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000532config FEATURE_MOUNT_LABEL
Dan Fandricheafc6952010-06-17 23:30:27 -0700533 bool "Support specifying devices by label or UUID"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200534 default y
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000535 depends on MOUNT
Denis Vlasenko4824cca2008-03-21 18:29:01 +0000536 select VOLUMEID
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000537 help
538 This allows for specifying a device by label or uuid, rather than by
Denis Vlasenko1e19afd2008-10-12 11:20:08 +0000539 name. This feature utilizes the same functionality as blkid/findfs.
Natanael Copa9aff2992009-09-20 04:28:22 +0200540 This also enables label or uuid support for swapon.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000541
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000542config FEATURE_MOUNT_NFS
Rob Landley2ec922e2006-04-13 23:22:16 +0000543 bool "Support mounting NFS file systems"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200544 default y
Denis Vlasenkoa7825f22007-06-16 13:56:51 +0000545 depends on MOUNT
546 select FEATURE_HAVE_RPC
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000547 select FEATURE_SYSLOG
Mike Frysinger55092282006-02-02 23:14:57 +0000548 help
Rob Landleye3781b72006-08-08 01:39:49 +0000549 Enable mounting of NFS file systems.
550
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000551config FEATURE_MOUNT_CIFS
Rob Landley89d9d4d2006-09-01 08:10:44 +0000552 bool "Support mounting CIFS/SMB file systems"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200553 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000554 depends on MOUNT
Rob Landley89d9d4d2006-09-01 08:10:44 +0000555 help
556 Enable support for samba mounts.
Denis Vlasenko39e93cc2006-09-10 18:38:17 +0000557
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000558config FEATURE_MOUNT_FLAGS
559 depends on MOUNT
Denis Vlasenko39e93cc2006-09-10 18:38:17 +0000560 bool "Support lots of -o flags in mount"
Rob Landleye3781b72006-08-08 01:39:49 +0000561 default y
562 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000563 Without this, mount only supports ro/rw/remount. With this, it
Rob Landleye3781b72006-08-08 01:39:49 +0000564 supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
565 noatime, diratime, nodiratime, loud, bind, move, shared, slave,
566 private, unbindable, rshared, rslave, rprivate, and runbindable.
567
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000568config FEATURE_MOUNT_FSTAB
569 depends on MOUNT
Rob Landleye3781b72006-08-08 01:39:49 +0000570 bool "Support /etc/fstab and -a"
571 default y
572 help
573 Support mount all and looking for files in /etc/fstab.
Mike Frysinger55092282006-02-02 23:14:57 +0000574
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000575config PIVOT_ROOT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000576 bool "pivot_root"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200577 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200578 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000579 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000580 The pivot_root utility swaps the mount points for the root filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000581 with some other mounted filesystem. This allows you to do all sorts
Eric Andersena0ac4522003-02-27 03:14:04 +0000582 of wild and crazy things with your Linux system and is far more
583 powerful than 'chroot'.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000584
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000585 Note: This is for initrd in linux 2.4. Under initramfs (introduced
Rob Landley0f34a822005-10-27 22:55:50 +0000586 in linux 2.6) use switch_root instead.
587
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000588config RDATE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000589 bool "rdate"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200590 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000591 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000592 The rdate utility allows you to synchronize the date and time of your
Eric Andersena0ac4522003-02-27 03:14:04 +0000593 system clock with the date and time of a remote networked system using
594 the RFC868 protocol, which is built into the inetd daemon on most
595 systems.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000596
Bernhard Reutner-Fischerc77e8432008-08-19 11:28:52 +0000597config RDEV
Denys Vlasenko345e0932010-03-31 16:03:56 +0200598 bool "rdev"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200599 default y
Denys Vlasenko345e0932010-03-31 16:03:56 +0200600 help
Bernhard Reutner-Fischerc77e8432008-08-19 11:28:52 +0000601 Print the device node associated with the filesystem mounted at '/'.
602
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000603config READPROFILE
Mike Frysinger75aa1922005-09-24 23:12:38 +0000604 bool "readprofile"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200605 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200606 #depends on PLATFORM_LINUX
Mike Frysinger75aa1922005-09-24 23:12:38 +0000607 help
608 This allows you to parse /proc/profile for basic profiling.
609
Mike Frysinger6b160e42008-02-15 02:27:19 +0000610config RTCWAKE
611 bool "rtcwake"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200612 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200613 depends on PLATFORM_LINUX
Mike Frysinger6b160e42008-02-15 02:27:19 +0000614 help
615 Enter a system sleep state until specified wakeup time.
616
Denis Vlasenko376003b2008-04-21 05:05:17 +0000617config SCRIPT
618 bool "script"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200619 default y
Denis Vlasenko376003b2008-04-21 05:05:17 +0000620 help
621 The script makes typescript of terminal session.
622
Denys Vlasenko5e611152009-05-19 17:36:16 +0200623config SCRIPTREPLAY
624 bool "scriptreplay"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200625 default y
Denys Vlasenko5e611152009-05-19 17:36:16 +0200626 help
627 This program replays a typescript, using timing information
628 given by script -t.
629
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000630config SETARCH
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000631 bool "setarch"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200632 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200633 depends on PLATFORM_LINUX
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000634 help
635 The linux32 utility is used to create a 32bit environment for the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000636 specified program (usually a shell). It only makes sense to have
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000637 this util on a system that supports both 64bit and 32bit userland
638 (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
639
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000640config SWAPONOFF
Eric Andersenc9f20d92002-12-05 08:41:41 +0000641 bool "swaponoff"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200642 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200643 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000644 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000645 This option enables both the 'swapon' and the 'swapoff' utilities.
646 Once you have created some swap space using 'mkswap', you also need
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000647 to enable your swap space with the 'swapon' utility. The 'swapoff'
Eric Andersena0ac4522003-02-27 03:14:04 +0000648 utility is used, typically at system shutdown, to disable any swap
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000649 space. If you are not using any swap space, you can leave this
Eric Andersena0ac4522003-02-27 03:14:04 +0000650 option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000651
Denis Vlasenkoee56e012008-05-18 23:05:34 +0000652config FEATURE_SWAPON_PRI
Bernhard Reutner-Fischer3576bed2008-05-19 08:25:23 +0000653 bool "Support priority option -p"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200654 default y
Denis Vlasenkoee56e012008-05-18 23:05:34 +0000655 depends on SWAPONOFF
656 help
657 Enable support for setting swap device priority in swapon.
658
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000659config SWITCH_ROOT
Mike Frysinger55092282006-02-02 23:14:57 +0000660 bool "switch_root"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200661 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200662 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000663 help
Mike Frysinger55092282006-02-02 23:14:57 +0000664 The switch_root utility is used from initramfs to select a new
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000665 root device. Under initramfs, you have to use this instead of
666 pivot_root. (Stop reading here if you don't care why.)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000667
Mike Frysinger55092282006-02-02 23:14:57 +0000668 Booting with initramfs extracts a gzipped cpio archive into rootfs
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000669 (which is a variant of ramfs/tmpfs). Because rootfs can't be moved
670 or unmounted*, pivot_root will not work from initramfs. Instead,
Mike Frysinger55092282006-02-02 23:14:57 +0000671 switch_root deletes everything out of rootfs (including itself),
672 does a mount --move that overmounts rootfs with the new root, and
673 then execs the specified init program.
674
675 * Because the Linux kernel uses rootfs internally as the starting
676 and ending point for searching through the kernel's doubly linked
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000677 list of active mount points. That's why.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000678
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000679config UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000680 bool "umount"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200681 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200682 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000683 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000684 When you want to remove a mounted filesystem from its current mount
685 point, for example when you are shutting down the system, the
686 'umount' utility is the tool to use. If you enabled the 'mount'
687 utility, you almost certainly also want to enable 'umount'.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000688
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000689config FEATURE_UMOUNT_ALL
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000690 bool "Support option -a"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200691 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000692 depends on UMOUNT
Rob Landleycc6d8d32006-02-08 20:06:57 +0000693 help
694 Support -a option to unmount all currently mounted filesystems.
695
Eric Andersenc9f20d92002-12-05 08:41:41 +0000696comment "Common options for mount/umount"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000697 depends on MOUNT || UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000698
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000699config FEATURE_MOUNT_LOOP
Rob Landley2ec922e2006-04-13 23:22:16 +0000700 bool "Support loopback mounts"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200701 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000702 depends on MOUNT || UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000703 help
Rob Landley6a6798b2005-08-10 20:35:54 +0000704 Enabling this feature allows automatic mounting of files (containing
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000705 filesystem images) via the linux kernel's loopback devices.
706 The mount command will detect you are trying to mount a file instead
707 of a block device, and transparently associate the file with a
708 loopback device. The umount command will also free that loopback
709 device.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000710
Rob Landley6a6798b2005-08-10 20:35:54 +0000711 You can still use the 'losetup' utility (to manually associate files
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000712 with loop devices) if you need to do something advanced, such as
Rob Landley6a6798b2005-08-10 20:35:54 +0000713 specify an offset or cryptographic options to the loopback device.
714 (If you don't want umount to free the loop device, use "umount -D".)
Paul Fox3f6f3172005-07-19 20:55:37 +0000715
Lauri Kasanen375a8ef2010-04-14 12:31:26 -0700716config FEATURE_MOUNT_LOOP_CREATE
717 bool "Create new loopback devices if needed"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200718 default y
Lauri Kasanen375a8ef2010-04-14 12:31:26 -0700719 depends on FEATURE_MOUNT_LOOP
720 help
721 Linux kernels >= 2.6.24 support unlimited loopback devices. They are
722 allocated for use when trying to use a loop device. The loop device
723 must however exist.
724
725 This feature lets mount to try to create next /dev/loopN device
726 if it does not find a free one.
727
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000728config FEATURE_MTAB_SUPPORT
Rob Landley2ec922e2006-04-13 23:22:16 +0000729 bool "Support for the old /etc/mtab file"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000730 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000731 depends on MOUNT || UMOUNT
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000732 select FEATURE_MOUNT_FAKE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000733 help
Rob Landley6a6798b2005-08-10 20:35:54 +0000734 Historically, Unix systems kept track of the currently mounted
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000735 partitions in the file "/etc/mtab". These days, the kernel exports
Rob Landley6a6798b2005-08-10 20:35:54 +0000736 the list of currently mounted partitions in "/proc/mounts", rendering
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000737 the old mtab file obsolete. (In modern systems, /etc/mtab should be
Rob Landley6a6798b2005-08-10 20:35:54 +0000738 a symlink to /proc/mounts.)
Eric Andersena0ac4522003-02-27 03:14:04 +0000739
Rob Landley6a6798b2005-08-10 20:35:54 +0000740 The only reason to have mount maintain an /etc/mtab file itself is if
741 your stripped-down embedded system does not have a /proc directory.
742 If you must use this, keep in mind it's inherently brittle (for
743 example a mount under chroot won't update it), can't handle modern
744 features like separate per-process filesystem namespaces, requires
Dan Fandricheafc6952010-06-17 23:30:27 -0700745 that your /etc directory be writable, tends to get easily confused
Rob Landley17507fa2006-05-08 02:22:24 +0000746 by --bind or --move mounts, won't update if you rename a directory
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000747 that contains a mount point, and so on. (In brief: avoid.)
Rob Landley17507fa2006-05-08 02:22:24 +0000748
749 About the only reason to use this is if you've removed /proc from
750 your kernel.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000751
Denys Vlasenko0e450662010-07-14 07:10:47 +0200752config VOLUMEID
753 bool #No description makes it a hidden option
754 default n
755
756menu "Filesystem/Volume identification"
757 depends on VOLUMEID
758
759config FEATURE_VOLUMEID_EXT
760 bool "Ext filesystem"
761 default y
762 depends on VOLUMEID
763 help
764 TODO
765
766config FEATURE_VOLUMEID_BTRFS
767 bool "btrfs filesystem"
768 default y
769 depends on VOLUMEID
770 help
771 TODO
772
773config FEATURE_VOLUMEID_REISERFS
774 bool "Reiser filesystem"
775 default y
776 depends on VOLUMEID
777 help
778 TODO
779
780config FEATURE_VOLUMEID_FAT
781 bool "fat filesystem"
782 default y
783 depends on VOLUMEID
784 help
785 TODO
786
787config FEATURE_VOLUMEID_HFS
788 bool "hfs filesystem"
789 default y
790 depends on VOLUMEID
791 help
792 TODO
793
794config FEATURE_VOLUMEID_JFS
795 bool "jfs filesystem"
796 default y
797 depends on VOLUMEID
798 help
799 TODO
800
801### config FEATURE_VOLUMEID_UFS
802### bool "ufs filesystem"
803### default y
804### depends on VOLUMEID
805### help
806### TODO
807
808config FEATURE_VOLUMEID_XFS
809 bool "xfs filesystem"
810 default y
811 depends on VOLUMEID
812 help
813 TODO
814
815config FEATURE_VOLUMEID_NTFS
816 bool "ntfs filesystem"
817 default y
818 depends on VOLUMEID
819 help
820 TODO
821
822config FEATURE_VOLUMEID_ISO9660
823 bool "iso9660 filesystem"
824 default y
825 depends on VOLUMEID
826 help
827 TODO
828
829config FEATURE_VOLUMEID_UDF
830 bool "udf filesystem"
831 default y
832 depends on VOLUMEID
833 help
834 TODO
835
836config FEATURE_VOLUMEID_LUKS
837 bool "luks filesystem"
838 default y
839 depends on VOLUMEID
840 help
841 TODO
842
843config FEATURE_VOLUMEID_LINUXSWAP
844 bool "linux swap filesystem"
845 default y
846 depends on VOLUMEID
847 help
848 TODO
849
850### config FEATURE_VOLUMEID_LVM
851### bool "lvm"
852### default y
853### depends on VOLUMEID
854### help
855### TODO
856
857config FEATURE_VOLUMEID_CRAMFS
858 bool "cramfs filesystem"
859 default y
860 depends on VOLUMEID
861 help
862 TODO
863
864### config FEATURE_VOLUMEID_HPFS
865### bool "hpfs filesystem"
866### default y
867### depends on VOLUMEID
868### help
869### TODO
870
871config FEATURE_VOLUMEID_ROMFS
872 bool "romfs filesystem"
873 default y
874 depends on VOLUMEID
875 help
876 TODO
877
878config FEATURE_VOLUMEID_SYSV
879 bool "sysv filesystem"
880 default y
881 depends on VOLUMEID
882 help
883 TODO
884
885### config FEATURE_VOLUMEID_MINIX
886### bool "minix filesystem"
887### default y
888### depends on VOLUMEID
889### help
890### TODO
891
892### These only detect partition tables - not used (yet?)
893### config FEATURE_VOLUMEID_MAC
894### bool "mac filesystem"
895### default y
896### depends on VOLUMEID
897### help
898### TODO
899###
900### config FEATURE_VOLUMEID_MSDOS
901### bool "msdos filesystem"
902### default y
903### depends on VOLUMEID
904### help
905### TODO
906
907config FEATURE_VOLUMEID_OCFS2
908 bool "ocfs2 filesystem"
909 default y
910 depends on VOLUMEID
911 help
912 TODO
913
914### config FEATURE_VOLUMEID_HIGHPOINTRAID
915### bool "highpoint raid"
916### default y
917### depends on VOLUMEID
918### help
919### TODO
920
921### config FEATURE_VOLUMEID_ISWRAID
922### bool "intel raid"
923### default y
924### depends on VOLUMEID
925### help
926### TODO
927
928### config FEATURE_VOLUMEID_LSIRAID
929### bool "lsi raid"
930### default y
931### depends on VOLUMEID
932### help
933### TODO
934
935### config FEATURE_VOLUMEID_VIARAID
936### bool "via raid"
937### default y
938### depends on VOLUMEID
939### help
940### TODO
941
942### config FEATURE_VOLUMEID_SILICONRAID
943### bool "silicon raid"
944### default y
945### depends on VOLUMEID
946### help
947### TODO
948
949### config FEATURE_VOLUMEID_NVIDIARAID
950### bool "nvidia raid"
951### default y
952### depends on VOLUMEID
953### help
954### TODO
955
956### config FEATURE_VOLUMEID_PROMISERAID
957### bool "promise raid"
958### default y
959### depends on VOLUMEID
960### help
961### TODO
962
963config FEATURE_VOLUMEID_LINUXRAID
964 bool "linuxraid"
965 default y
966 depends on VOLUMEID
967 help
968 TODO
969
970endmenu
971
Eric Andersenc9f20d92002-12-05 08:41:41 +0000972endmenu