blob: 854b3682e0f757a849c5179a7bb84090524c22d8 [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Linux System Utilities"
7
Denys Vlasenkod70e0e92010-06-08 12:15:11 +02008INSERT
9
Denis Vlasenkod16950d2008-11-29 09:05:50 +000010config ACPID
11 bool "acpid"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020012 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +010013 select PLATFORM_LINUX
Denis Vlasenkod16950d2008-11-29 09:05:50 +000014 help
15 acpid listens to ACPI events coming either in textual form from
16 /proc/acpi/event (though it is marked deprecated it is still widely
17 used and _is_ a standard) or in binary form from specified evdevs
18 (just use /dev/input/event*).
19
20 It parses the event to retrieve ACTION and a possible PARAMETER.
21 It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts
22 (if the resulting path is a directory) or directly as an executable.
23
24 N.B. acpid relies on run-parts so have the latter installed.
25
26config FEATURE_ACPID_COMPAT
27 bool "Accept and ignore redundant options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020028 default y
Denis Vlasenkod16950d2008-11-29 09:05:50 +000029 depends on ACPID
30 help
31 Accept and ignore compatibility options -g -m -s -S -v.
32
Denis Vlasenko1e19afd2008-10-12 11:20:08 +000033config BLKID
34 bool "blkid"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020035 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +010036 select PLATFORM_LINUX
Denis Vlasenko1e19afd2008-10-12 11:20:08 +000037 select VOLUMEID
38 help
39 Lists labels and UUIDs of all filesystems.
40 WARNING:
41 With all submodules selected, it will add ~8k to busybox.
42
Denys Vlasenko90615a02010-12-30 00:40:11 +010043config FEATURE_BLKID_TYPE
44 bool "Print filesystem type"
45 default n
46 depends on BLKID
47 help
48 Show TYPE="filesystem type"
49
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000050config DMESG
Eric Andersenc9f20d92002-12-05 08:41:41 +000051 bool "dmesg"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020052 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +010053 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +000054 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000055 dmesg is used to examine or control the kernel ring buffer. When the
Eric Andersena0ac4522003-02-27 03:14:04 +000056 Linux kernel prints messages to the system log, they are stored in
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000057 the kernel ring buffer. You can use dmesg to print the kernel's ring
Eric Andersena0ac4522003-02-27 03:14:04 +000058 buffer, clear the kernel ring buffer, change the size of the kernel
59 ring buffer, and change the priority level at which kernel messages
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000060 are also logged to the system console. Enable this option if you
Eric Andersena0ac4522003-02-27 03:14:04 +000061 wish to enable the 'dmesg' utility.
Eric Andersenc9f20d92002-12-05 08:41:41 +000062
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000063config FEATURE_DMESG_PRETTY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +000064 bool "Pretty dmesg output"
Rob Landley446129a2006-07-27 16:40:55 +000065 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000066 depends on DMESG
Rob Landley446129a2006-07-27 16:40:55 +000067 help
68 If you wish to scrub the syslog level from the output, say 'Y' here.
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000069 The syslog level is a string prefixed to every line with the form
70 "<#>".
Rob Landley446129a2006-07-27 16:40:55 +000071
72 With this option you will see:
73 # dmesg
74 Linux version 2.6.17.4 .....
75 BIOS-provided physical RAM map:
76 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
77
78 Without this option you will see:
79 # dmesg
80 <5>Linux version 2.6.17.4 .....
81 <6>BIOS-provided physical RAM map:
82 <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
83
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000084config FBSET
Eric Andersenc9f20d92002-12-05 08:41:41 +000085 bool "fbset"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020086 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +010087 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +000088 help
Eric Andersena0ac4522003-02-27 03:14:04 +000089 fbset is used to show or change the settings of a Linux frame buffer
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000090 device. The frame buffer device provides a simple and unique
91 interface to access a graphics display. Enable this option
Eric Andersen88c916b2003-10-22 09:58:56 +000092 if you wish to enable the 'fbset' utility.
Eric Andersena0ac4522003-02-27 03:14:04 +000093
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000094config FEATURE_FBSET_FANCY
Rob Landley2ec922e2006-04-13 23:22:16 +000095 bool "Turn on extra fbset options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020096 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000097 depends on FBSET
Eric Andersenc9f20d92002-12-05 08:41:41 +000098 help
Eric Andersena0ac4522003-02-27 03:14:04 +000099 This option enables extended fbset options, allowing one to set the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000100 framebuffer size, color depth, etc. interface to access a graphics
101 display. Enable this option if you wish to enable extended fbset
Eric Andersena0ac4522003-02-27 03:14:04 +0000102 options.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000103
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000104config FEATURE_FBSET_READMODE
Rob Landley2ec922e2006-04-13 23:22:16 +0000105 bool "Turn on fbset readmode support"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200106 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000107 depends on FBSET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000108 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000109 This option allows fbset to read the video mode database stored by
110 default as /etc/fb.modes, which can be used to set frame buffer
111 device to pre-defined video modes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000112
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000113config FDFLUSH
Eric Andersenc9f20d92002-12-05 08:41:41 +0000114 bool "fdflush"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200115 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100116 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000117 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000118 fdflush is only needed when changing media on slightly-broken
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000119 removable media drives. It is used to make Linux believe that a
Eric Andersena0ac4522003-02-27 03:14:04 +0000120 hardware disk-change switch has been actuated, which causes Linux to
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000121 forget anything it has cached from the previous media. If you have
Eric Andersena0ac4522003-02-27 03:14:04 +0000122 such a slightly-broken drive, you will need to run fdflush every time
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000123 you change a disk. Most people have working hardware and can safely
Eric Andersen88c916b2003-10-22 09:58:56 +0000124 leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000125
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000126config FDFORMAT
Eric Andersen01c3d402003-07-05 07:51:31 +0000127 bool "fdformat"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200128 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100129 select PLATFORM_LINUX
Eric Andersen01c3d402003-07-05 07:51:31 +0000130 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000131 fdformat is used to low-level format a floppy disk.
Eric Andersen01c3d402003-07-05 07:51:31 +0000132
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000133config FDISK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000134 bool "fdisk"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200135 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100136 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000137 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000138 The fdisk utility is used to divide hard disks into one or more
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000139 logical disks, which are generally called partitions. This utility
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000140 can be used to list and edit the set of partitions or BSD style
Eric Andersena0ac4522003-02-27 03:14:04 +0000141 'disk slices' that are defined on a hard drive.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000142
Eric Andersen84bdea82004-05-19 10:49:17 +0000143config FDISK_SUPPORT_LARGE_DISKS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000144 bool "Support over 4GB disks"
Eric Andersen84bdea82004-05-19 10:49:17 +0000145 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000146 depends on FDISK
Denys Vlasenko8c498b62011-04-16 18:07:35 +0200147 depends on !LFS # with LFS no special code is needed
Eric Andersen84bdea82004-05-19 10:49:17 +0000148 help
149 Enable this option to support large disks > 4GB.
150
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000151config FEATURE_FDISK_WRITABLE
Rob Landley2ec922e2006-04-13 23:22:16 +0000152 bool "Write support"
Glenn L McGrath4dcc2dd2003-01-04 11:56:06 +0000153 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000154 depends on FDISK
Glenn L McGrath4dcc2dd2003-01-04 11:56:06 +0000155 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000156 Enabling this option allows you to create or change a partition table
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000157 and write those changes out to disk. If you leave this option
Eric Andersena0ac4522003-02-27 03:14:04 +0000158 disabled, you will only be able to view the partition table.
Glenn L McGrath4dcc2dd2003-01-04 11:56:06 +0000159
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000160config FEATURE_AIX_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000161 bool "Support AIX 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 AIX 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_SGI_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000169 bool "Support SGI disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000170 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +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 SGI 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_SUN_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000177 bool "Support SUN disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000178 default n
Mike Frysinger71a6a4e2007-01-24 08:24:43 +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 SUN disklabels.
182 Most people can safely leave this option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000183
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000184config FEATURE_OSF_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000185 bool "Support BSD disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000186 default n
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 create or change BSD disklabels
190 and define and edit BSD disk slices.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000191
Kevin Cernekeeccb07042010-10-25 02:00:24 +0200192config FEATURE_GPT_LABEL
193 bool "Support GPT disklabels"
194 default n
195 depends on FDISK && FEATURE_FDISK_WRITABLE
196 help
197 Enabling this option allows you to view GUID Partition Table
198 disklabels.
199
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000200config FEATURE_FDISK_ADVANCED
Rob Landley2ec922e2006-04-13 23:22:16 +0000201 bool "Support expert mode"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200202 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000203 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000204 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000205 Enabling this option allows you to do terribly unsafe things like
206 define arbitrary drive geometry, move the beginning of data in a
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000207 partition, and similarly evil things. Unless you have a very good
Eric Andersena0ac4522003-02-27 03:14:04 +0000208 reason you would be wise to leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000209
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000210config FINDFS
211 bool "findfs"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200212 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100213 select PLATFORM_LINUX
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000214 select VOLUMEID
215 help
Denis Vlasenko22d10a02008-10-13 08:53:43 +0000216 Prints the name of a filesystem with given label or UUID.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000217 WARNING:
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000218 With all submodules selected, it will add ~8k to busybox.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000219
Timo Teras892d4b62010-03-18 22:45:35 +0100220config FLOCK
221 bool "flock"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200222 default y
Timo Teras892d4b62010-03-18 22:45:35 +0100223 help
224 Manage locks from shell scripts
225
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000226config FREERAMDISK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000227 bool "freeramdisk"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200228 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100229 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000230 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000231 Linux allows you to create ramdisks. This utility allows you to
Eric Andersena0ac4522003-02-27 03:14:04 +0000232 delete them and completely free all memory that was used for the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000233 ramdisk. For example, if you boot Linux into a ramdisk and later
Eric Andersena0ac4522003-02-27 03:14:04 +0000234 pivot_root, you may want to free the memory that is allocated to the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000235 ramdisk. If you have no use for freeing memory from a ramdisk, leave
Eric Andersena0ac4522003-02-27 03:14:04 +0000236 this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000237
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000238config FSCK_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000239 bool "fsck_minix"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200240 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000241 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000242 The minix filesystem is a nice, small, compact, read-write filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000243 with little overhead. It is not a journaling filesystem however and
Eric Andersen88c916b2003-10-22 09:58:56 +0000244 can experience corruption if it is not properly unmounted or if the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000245 power goes off in the middle of a write. This utility allows you to
Eric Andersena0ac4522003-02-27 03:14:04 +0000246 check for and attempt to repair any corruption that occurs to a minix
247 filesystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000248
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100249config MKFS_EXT2
250 bool "mkfs_ext2"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200251 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100252 select PLATFORM_LINUX
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100253 help
254 Utility to create EXT2 filesystems.
255
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000256config MKFS_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000257 bool "mkfs_minix"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200258 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100259 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000260 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000261 The minix filesystem is a nice, small, compact, read-write filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000262 with little overhead. If you wish to be able to create minix
263 filesystems this utility will do the job for you.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000264
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000265config FEATURE_MINIX2
Rob Landley2ec922e2006-04-13 23:22:16 +0000266 bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000267 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000268 depends on FSCK_MINIX || MKFS_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000269 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000270 If you wish to be able to create version 2 minix filesystems, enable
271 this. If you enabled 'mkfs_minix' then you almost certainly want to
272 be using the version 2 filesystem support.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000273
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100274config MKFS_REISER
275 bool "mkfs_reiser"
276 default n
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100277 select PLATFORM_LINUX
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100278 help
279 Utility to create ReiserFS filesystems.
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200280 Note: this applet needs a lot of testing and polishing.
Vladimir Dronnikov0d8ea642009-11-02 10:41:46 +0100281
Denis Vlasenko9d04b6b2009-03-28 02:13:01 +0000282config MKFS_VFAT
283 bool "mkfs_vfat"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200284 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100285 select PLATFORM_LINUX
Denis Vlasenko9d04b6b2009-03-28 02:13:01 +0000286 help
287 Utility to create FAT32 filesystems.
288
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000289config GETOPT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000290 bool "getopt"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200291 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000292 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000293 The getopt utility is used to break up (parse) options in command
294 lines to make it easy to write complex shell scripts that also check
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000295 for legal (and illegal) options. If you want to write horribly
Eric Andersena0ac4522003-02-27 03:14:04 +0000296 complex shell scripts, or use some horribly complex shell script
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000297 written by others, this utility may be for you. Most people will
Eric Andersena0ac4522003-02-27 03:14:04 +0000298 wisely leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000299
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200300config FEATURE_GETOPT_LONG
301 bool "Support option -l"
302 default y if LONG_OPTS
Denys Vlasenkob22bbff2009-07-04 16:50:43 +0200303 depends on GETOPT
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200304 help
Denys Vlasenkob22bbff2009-07-04 16:50:43 +0200305 Enable support for long options (option -l).
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200306
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000307config HEXDUMP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000308 bool "hexdump"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200309 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000310 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000311 The hexdump utility is used to display binary data in a readable
312 way that is comparable to the output from most hex editors.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000313
Denis Vlasenkofbe5f392007-11-18 05:36:50 +0000314config FEATURE_HEXDUMP_REVERSE
315 bool "Support -R, reverse of 'hexdump -Cv'"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200316 default y
Denis Vlasenkofbe5f392007-11-18 05:36:50 +0000317 depends on HEXDUMP
318 help
319 The hexdump utility is used to display binary data in an ascii
320 readable way. This option creates binary data from an ascii input.
321 NB: this option is non-standard. It's unwise to use it in scripts
322 aimed to be portable.
323
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000324config HD
325 bool "hd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200326 default y
Denys Vlasenko161bb8f2010-06-06 05:07:11 +0200327 depends on HEXDUMP
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000328 help
329 hd is an alias to hexdump -C.
330
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000331config HWCLOCK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000332 bool "hwclock"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200333 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100334 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000335 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000336 The hwclock utility is used to read and set the hardware clock
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000337 on a system. This is primarily used to set the current time on
Eric Andersen88c916b2003-10-22 09:58:56 +0000338 shutdown in the hardware clock, so the hardware will keep the
339 correct time when Linux is _not_ running.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000340
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000341config FEATURE_HWCLOCK_LONG_OPTIONS
Rob Landley2ec922e2006-04-13 23:22:16 +0000342 bool "Support long options (--hctosys,...)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200343 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200344 depends on HWCLOCK && LONG_OPTS
Eric Andersenc9f20d92002-12-05 08:41:41 +0000345 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000346 By default, the hwclock utility only uses short options. If you
Eric Andersen88c916b2003-10-22 09:58:56 +0000347 are overly fond of its long options, such as --hctosys, --utc, etc)
Eric Andersena0ac4522003-02-27 03:14:04 +0000348 then enable this option.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000349
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000350config FEATURE_HWCLOCK_ADJTIME_FHS
Rob Landley2ec922e2006-04-13 23:22:16 +0000351 bool "Use FHS /var/lib/hwclock/adjtime"
Denys Vlasenko81d9e602010-08-10 15:14:36 +0200352 default n # util-linux-ng in Fedora 13 still uses /etc/adjtime
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000353 depends on HWCLOCK
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000354 help
355 Starting with FHS 2.3, the adjtime state file is supposed to exist
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000356 at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000357 to use the FHS behavior, answer Y here, otherwise answer N for the
358 classic /etc/adjtime path.
359
Bernhard Reutner-Fischere99a92d2008-07-22 18:32:06 +0000360 pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000361
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000362config IPCRM
Rob Landley6eb1e412005-06-20 04:30:36 +0000363 bool "ipcrm"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200364 default y
Rob Landley6eb1e412005-06-20 04:30:36 +0000365 help
366 The ipcrm utility allows the removal of System V interprocess
367 communication (IPC) objects and the associated data structures
368 from the system.
369
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000370config IPCS
Rob Landley6eb1e412005-06-20 04:30:36 +0000371 bool "ipcs"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200372 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100373 select PLATFORM_LINUX
Rob Landley6eb1e412005-06-20 04:30:36 +0000374 help
375 The ipcs utility is used to provide information on the currently
376 allocated System V interprocess (IPC) objects in the system.
377
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000378config LOSETUP
Mike Frysinger75aa1922005-09-24 23:12:38 +0000379 bool "losetup"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200380 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100381 select PLATFORM_LINUX
Mike Frysinger75aa1922005-09-24 23:12:38 +0000382 help
383 losetup is used to associate or detach a loop device with a regular
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000384 file or block device, and to query the status of a loop device. This
Mike Frysinger75aa1922005-09-24 23:12:38 +0000385 version does not currently support enabling data encryption.
386
Souf Oued982bc712009-12-05 17:56:25 +0100387config LSPCI
388 bool "lspci"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200389 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100390 #select PLATFORM_LINUX
Souf Oued982bc712009-12-05 17:56:25 +0100391 help
392 lspci is a utility for displaying information about PCI buses in the
393 system and devices connected to them.
394
395 This version uses sysfs (/sys/bus/pci/devices) only.
396
Souf Oued11a802a2009-12-07 01:37:34 +0100397config LSUSB
398 bool "lsusb"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200399 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100400 #select PLATFORM_LINUX
Souf Oued11a802a2009-12-07 01:37:34 +0100401 help
402 lsusb is a utility for displaying information about USB buses in the
403 system and devices connected to them.
404
405 This version uses sysfs (/sys/bus/usb/devices) only.
406
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000407config MKSWAP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000408 bool "mkswap"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200409 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000410 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000411 The mkswap utility is used to configure a file or disk partition as
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000412 Linux swap space. This allows Linux to use the entire file or
Eric Andersena0ac4522003-02-27 03:14:04 +0000413 partition as if it were additional RAM, which can greatly increase
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000414 the capability of low-memory machines. This additional memory is
Eric Andersena0ac4522003-02-27 03:14:04 +0000415 much slower than real RAM, but can be very helpful at preventing your
Eric Andersen88c916b2003-10-22 09:58:56 +0000416 applications being killed by the Linux out of memory (OOM) killer.
417 Once you have created swap space using 'mkswap' you need to enable
418 the swap space using the 'swapon' utility.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000419
Denys Vlasenkobeca96f2009-06-19 13:14:48 +0200420config FEATURE_MKSWAP_UUID
421 bool "UUID support"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200422 default y
Denys Vlasenkobeca96f2009-06-19 13:14:48 +0200423 depends on MKSWAP
424 help
425 Generate swap spaces with universally unique identifiers.
426
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000427config MORE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000428 bool "more"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200429 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000430 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000431 more is a simple utility which allows you to read text one screen
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000432 sized page at a time. If you want to read text that is larger than
Eric Andersena0ac4522003-02-27 03:14:04 +0000433 the screen, and you are using anything faster than a 300 baud modem,
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000434 you will probably find this utility very helpful. If you don't have
Eric Andersena0ac4522003-02-27 03:14:04 +0000435 any need to reading text files, you can leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000436
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000437config PIVOT_ROOT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000438 bool "pivot_root"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200439 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100440 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000441 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000442 The pivot_root utility swaps the mount points for the root filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000443 with some other mounted filesystem. This allows you to do all sorts
Eric Andersena0ac4522003-02-27 03:14:04 +0000444 of wild and crazy things with your Linux system and is far more
445 powerful than 'chroot'.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000446
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000447 Note: This is for initrd in linux 2.4. Under initramfs (introduced
Rob Landley0f34a822005-10-27 22:55:50 +0000448 in linux 2.6) use switch_root instead.
449
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000450config RDATE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000451 bool "rdate"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200452 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000453 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000454 The rdate utility allows you to synchronize the date and time of your
Eric Andersena0ac4522003-02-27 03:14:04 +0000455 system clock with the date and time of a remote networked system using
456 the RFC868 protocol, which is built into the inetd daemon on most
457 systems.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000458
Bernhard Reutner-Fischerc77e8432008-08-19 11:28:52 +0000459config RDEV
Denys Vlasenko345e0932010-03-31 16:03:56 +0200460 bool "rdev"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200461 default y
Denys Vlasenko345e0932010-03-31 16:03:56 +0200462 help
Bernhard Reutner-Fischerc77e8432008-08-19 11:28:52 +0000463 Print the device node associated with the filesystem mounted at '/'.
464
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000465config READPROFILE
Mike Frysinger75aa1922005-09-24 23:12:38 +0000466 bool "readprofile"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200467 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100468 #select PLATFORM_LINUX
Mike Frysinger75aa1922005-09-24 23:12:38 +0000469 help
470 This allows you to parse /proc/profile for basic profiling.
471
Mike Frysinger6b160e42008-02-15 02:27:19 +0000472config RTCWAKE
473 bool "rtcwake"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200474 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100475 select PLATFORM_LINUX
Mike Frysinger6b160e42008-02-15 02:27:19 +0000476 help
477 Enter a system sleep state until specified wakeup time.
478
Denis Vlasenko376003b2008-04-21 05:05:17 +0000479config SCRIPT
480 bool "script"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200481 default y
Denis Vlasenko376003b2008-04-21 05:05:17 +0000482 help
483 The script makes typescript of terminal session.
484
Denys Vlasenko5e611152009-05-19 17:36:16 +0200485config SCRIPTREPLAY
486 bool "scriptreplay"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200487 default y
Denys Vlasenko5e611152009-05-19 17:36:16 +0200488 help
489 This program replays a typescript, using timing information
490 given by script -t.
491
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000492config SETARCH
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000493 bool "setarch"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200494 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100495 select PLATFORM_LINUX
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000496 help
497 The linux32 utility is used to create a 32bit environment for the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000498 specified program (usually a shell). It only makes sense to have
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000499 this util on a system that supports both 64bit and 32bit userland
500 (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
501
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000502config SWAPONOFF
Eric Andersenc9f20d92002-12-05 08:41:41 +0000503 bool "swaponoff"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200504 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100505 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000506 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000507 This option enables both the 'swapon' and the 'swapoff' utilities.
508 Once you have created some swap space using 'mkswap', you also need
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000509 to enable your swap space with the 'swapon' utility. The 'swapoff'
Eric Andersena0ac4522003-02-27 03:14:04 +0000510 utility is used, typically at system shutdown, to disable any swap
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000511 space. If you are not using any swap space, you can leave this
Eric Andersena0ac4522003-02-27 03:14:04 +0000512 option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000513
Matt Whitlock0a53b202014-03-22 19:21:01 -0400514config FEATURE_SWAPON_DISCARD
515 bool "Support discard option -d"
516 default y
517 depends on SWAPONOFF
518 help
519 Enable support for discarding swap area blocks at swapon and/or as
520 the kernel frees them. This option enables both the -d option on
521 'swapon' and the 'discard' option for swap entries in /etc/fstab.
522
Denis Vlasenkoee56e012008-05-18 23:05:34 +0000523config FEATURE_SWAPON_PRI
Bernhard Reutner-Fischer3576bed2008-05-19 08:25:23 +0000524 bool "Support priority option -p"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200525 default y
Denis Vlasenkoee56e012008-05-18 23:05:34 +0000526 depends on SWAPONOFF
527 help
528 Enable support for setting swap device priority in swapon.
529
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000530config SWITCH_ROOT
Mike Frysinger55092282006-02-02 23:14:57 +0000531 bool "switch_root"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200532 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100533 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000534 help
Mike Frysinger55092282006-02-02 23:14:57 +0000535 The switch_root utility is used from initramfs to select a new
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000536 root device. Under initramfs, you have to use this instead of
537 pivot_root. (Stop reading here if you don't care why.)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000538
Mike Frysinger55092282006-02-02 23:14:57 +0000539 Booting with initramfs extracts a gzipped cpio archive into rootfs
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000540 (which is a variant of ramfs/tmpfs). Because rootfs can't be moved
541 or unmounted*, pivot_root will not work from initramfs. Instead,
Mike Frysinger55092282006-02-02 23:14:57 +0000542 switch_root deletes everything out of rootfs (including itself),
543 does a mount --move that overmounts rootfs with the new root, and
544 then execs the specified init program.
545
546 * Because the Linux kernel uses rootfs internally as the starting
547 and ending point for searching through the kernel's doubly linked
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000548 list of active mount points. That's why.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000549
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000550config UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000551 bool "umount"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200552 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100553 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000554 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000555 When you want to remove a mounted filesystem from its current mount
556 point, for example when you are shutting down the system, the
557 'umount' utility is the tool to use. If you enabled the 'mount'
558 utility, you almost certainly also want to enable 'umount'.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000559
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000560config FEATURE_UMOUNT_ALL
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000561 bool "Support option -a"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200562 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000563 depends on UMOUNT
Rob Landleycc6d8d32006-02-08 20:06:57 +0000564 help
565 Support -a option to unmount all currently mounted filesystems.
566
Eric Andersenc9f20d92002-12-05 08:41:41 +0000567comment "Common options for mount/umount"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000568 depends on MOUNT || UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000569
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000570config FEATURE_MOUNT_LOOP
Rob Landley2ec922e2006-04-13 23:22:16 +0000571 bool "Support loopback mounts"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200572 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000573 depends on MOUNT || UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000574 help
Rob Landley6a6798b2005-08-10 20:35:54 +0000575 Enabling this feature allows automatic mounting of files (containing
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000576 filesystem images) via the linux kernel's loopback devices.
577 The mount command will detect you are trying to mount a file instead
578 of a block device, and transparently associate the file with a
579 loopback device. The umount command will also free that loopback
580 device.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000581
Rob Landley6a6798b2005-08-10 20:35:54 +0000582 You can still use the 'losetup' utility (to manually associate files
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000583 with loop devices) if you need to do something advanced, such as
Rob Landley6a6798b2005-08-10 20:35:54 +0000584 specify an offset or cryptographic options to the loopback device.
585 (If you don't want umount to free the loop device, use "umount -D".)
Paul Fox3f6f3172005-07-19 20:55:37 +0000586
Lauri Kasanen375a8ef2010-04-14 12:31:26 -0700587config FEATURE_MOUNT_LOOP_CREATE
588 bool "Create new loopback devices if needed"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200589 default y
Lauri Kasanen375a8ef2010-04-14 12:31:26 -0700590 depends on FEATURE_MOUNT_LOOP
591 help
592 Linux kernels >= 2.6.24 support unlimited loopback devices. They are
593 allocated for use when trying to use a loop device. The loop device
594 must however exist.
595
596 This feature lets mount to try to create next /dev/loopN device
597 if it does not find a free one.
598
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000599config FEATURE_MTAB_SUPPORT
Rob Landley2ec922e2006-04-13 23:22:16 +0000600 bool "Support for the old /etc/mtab file"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000601 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000602 depends on MOUNT || UMOUNT
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000603 select FEATURE_MOUNT_FAKE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000604 help
Rob Landley6a6798b2005-08-10 20:35:54 +0000605 Historically, Unix systems kept track of the currently mounted
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000606 partitions in the file "/etc/mtab". These days, the kernel exports
Rob Landley6a6798b2005-08-10 20:35:54 +0000607 the list of currently mounted partitions in "/proc/mounts", rendering
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000608 the old mtab file obsolete. (In modern systems, /etc/mtab should be
Rob Landley6a6798b2005-08-10 20:35:54 +0000609 a symlink to /proc/mounts.)
Eric Andersena0ac4522003-02-27 03:14:04 +0000610
Rob Landley6a6798b2005-08-10 20:35:54 +0000611 The only reason to have mount maintain an /etc/mtab file itself is if
612 your stripped-down embedded system does not have a /proc directory.
613 If you must use this, keep in mind it's inherently brittle (for
614 example a mount under chroot won't update it), can't handle modern
615 features like separate per-process filesystem namespaces, requires
Dan Fandricheafc6952010-06-17 23:30:27 -0700616 that your /etc directory be writable, tends to get easily confused
Rob Landley17507fa2006-05-08 02:22:24 +0000617 by --bind or --move mounts, won't update if you rename a directory
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000618 that contains a mount point, and so on. (In brief: avoid.)
Rob Landley17507fa2006-05-08 02:22:24 +0000619
620 About the only reason to use this is if you've removed /proc from
621 your kernel.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000622
Sven-Göran Bergh15d0a862013-07-31 15:57:59 +0200623source util-linux/volume_id/Config.in
Denys Vlasenko0e450662010-07-14 07:10:47 +0200624
Eric Andersenc9f20d92002-12-05 08:41:41 +0000625endmenu