blob: 2ba9f01665555d7645203306329b47682cb2dd8f [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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00008config DMESG
Eric Andersenc9f20d92002-12-05 08:41:41 +00009 bool "dmesg"
10 default n
11 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000012 dmesg is used to examine or control the kernel ring buffer. When the
Eric Andersena0ac4522003-02-27 03:14:04 +000013 Linux kernel prints messages to the system log, they are stored in
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000014 the kernel ring buffer. You can use dmesg to print the kernel's ring
Eric Andersena0ac4522003-02-27 03:14:04 +000015 buffer, clear the kernel ring buffer, change the size of the kernel
16 ring buffer, and change the priority level at which kernel messages
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000017 are also logged to the system console. Enable this option if you
Eric Andersena0ac4522003-02-27 03:14:04 +000018 wish to enable the 'dmesg' utility.
Eric Andersenc9f20d92002-12-05 08:41:41 +000019
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000020config FEATURE_DMESG_PRETTY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +000021 bool "Pretty dmesg output"
Rob Landley446129a2006-07-27 16:40:55 +000022 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000023 depends on DMESG
Rob Landley446129a2006-07-27 16:40:55 +000024 help
25 If you wish to scrub the syslog level from the output, say 'Y' here.
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000026 The syslog level is a string prefixed to every line with the form
27 "<#>".
Rob Landley446129a2006-07-27 16:40:55 +000028
29 With this option you will see:
30 # dmesg
31 Linux version 2.6.17.4 .....
32 BIOS-provided physical RAM map:
33 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
34
35 Without this option you will see:
36 # dmesg
37 <5>Linux version 2.6.17.4 .....
38 <6>BIOS-provided physical RAM map:
39 <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
40
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000041config FBSET
Eric Andersenc9f20d92002-12-05 08:41:41 +000042 bool "fbset"
43 default n
44 help
Eric Andersena0ac4522003-02-27 03:14:04 +000045 fbset is used to show or change the settings of a Linux frame buffer
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000046 device. The frame buffer device provides a simple and unique
47 interface to access a graphics display. Enable this option
Eric Andersen88c916b2003-10-22 09:58:56 +000048 if you wish to enable the 'fbset' utility.
Eric Andersena0ac4522003-02-27 03:14:04 +000049
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000050config FEATURE_FBSET_FANCY
Rob Landley2ec922e2006-04-13 23:22:16 +000051 bool "Turn on extra fbset options"
Eric Andersenc9f20d92002-12-05 08:41:41 +000052 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000053 depends on FBSET
Eric Andersenc9f20d92002-12-05 08:41:41 +000054 help
Eric Andersena0ac4522003-02-27 03:14:04 +000055 This option enables extended fbset options, allowing one to set the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000056 framebuffer size, color depth, etc. interface to access a graphics
57 display. Enable this option if you wish to enable extended fbset
Eric Andersena0ac4522003-02-27 03:14:04 +000058 options.
Eric Andersenc9f20d92002-12-05 08:41:41 +000059
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000060config FEATURE_FBSET_READMODE
Rob Landley2ec922e2006-04-13 23:22:16 +000061 bool "Turn on fbset readmode support"
Eric Andersenc9f20d92002-12-05 08:41:41 +000062 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000063 depends on FBSET
Eric Andersenc9f20d92002-12-05 08:41:41 +000064 help
Eric Andersena0ac4522003-02-27 03:14:04 +000065 This option allows fbset to read the video mode database stored by
66 default as /etc/fb.modes, which can be used to set frame buffer
67 device to pre-defined video modes.
Eric Andersenc9f20d92002-12-05 08:41:41 +000068
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000069config FDFLUSH
Eric Andersenc9f20d92002-12-05 08:41:41 +000070 bool "fdflush"
71 default n
72 help
Eric Andersen88c916b2003-10-22 09:58:56 +000073 fdflush is only needed when changing media on slightly-broken
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000074 removable media drives. It is used to make Linux believe that a
Eric Andersena0ac4522003-02-27 03:14:04 +000075 hardware disk-change switch has been actuated, which causes Linux to
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000076 forget anything it has cached from the previous media. If you have
Eric Andersena0ac4522003-02-27 03:14:04 +000077 such a slightly-broken drive, you will need to run fdflush every time
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000078 you change a disk. Most people have working hardware and can safely
Eric Andersen88c916b2003-10-22 09:58:56 +000079 leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +000080
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000081config FDFORMAT
Eric Andersen01c3d402003-07-05 07:51:31 +000082 bool "fdformat"
83 default n
84 help
Eric Andersen88c916b2003-10-22 09:58:56 +000085 fdformat is used to low-level format a floppy disk.
Eric Andersen01c3d402003-07-05 07:51:31 +000086
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000087config FDISK
Eric Andersenc9f20d92002-12-05 08:41:41 +000088 bool "fdisk"
89 default n
90 help
Eric Andersena0ac4522003-02-27 03:14:04 +000091 The fdisk utility is used to divide hard disks into one or more
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000092 logical disks, which are generally called partitions. This utility
Eric Andersenc7bda1c2004-03-15 08:29:22 +000093 can be used to list and edit the set of partitions or BSD style
Eric Andersena0ac4522003-02-27 03:14:04 +000094 'disk slices' that are defined on a hard drive.
Eric Andersenc9f20d92002-12-05 08:41:41 +000095
Eric Andersen84bdea82004-05-19 10:49:17 +000096config FDISK_SUPPORT_LARGE_DISKS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +000097 bool "Support over 4GB disks"
Eric Andersen84bdea82004-05-19 10:49:17 +000098 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000099 depends on FDISK
Eric Andersen84bdea82004-05-19 10:49:17 +0000100 help
101 Enable this option to support large disks > 4GB.
102
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000103config FEATURE_FDISK_WRITABLE
Rob Landley2ec922e2006-04-13 23:22:16 +0000104 bool "Write support"
Glenn L McGrath4dcc2dd2003-01-04 11:56:06 +0000105 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000106 depends on FDISK
Glenn L McGrath4dcc2dd2003-01-04 11:56:06 +0000107 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000108 Enabling this option allows you to create or change a partition table
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000109 and write those changes out to disk. If you leave this option
Eric Andersena0ac4522003-02-27 03:14:04 +0000110 disabled, you will only be able to view the partition table.
Glenn L McGrath4dcc2dd2003-01-04 11:56:06 +0000111
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000112config FEATURE_AIX_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000113 bool "Support AIX disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000114 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000115 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000116 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000117 Enabling this option allows you to create or change AIX disklabels.
118 Most people can safely leave this option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000119
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000120config FEATURE_SGI_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000121 bool "Support SGI disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000122 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000123 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000124 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000125 Enabling this option allows you to create or change SGI disklabels.
126 Most people can safely leave this option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000127
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000128config FEATURE_SUN_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000129 bool "Support SUN disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000130 default n
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000131 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000132 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000133 Enabling this option allows you to create or change SUN disklabels.
134 Most people can safely leave this option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000135
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000136config FEATURE_OSF_LABEL
Rob Landley2ec922e2006-04-13 23:22:16 +0000137 bool "Support BSD disklabels"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000138 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000139 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000140 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000141 Enabling this option allows you to create or change BSD disklabels
142 and define and edit BSD disk slices.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000143
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000144config FEATURE_FDISK_ADVANCED
Rob Landley2ec922e2006-04-13 23:22:16 +0000145 bool "Support expert mode"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000146 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000147 depends on FDISK && FEATURE_FDISK_WRITABLE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000148 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000149 Enabling this option allows you to do terribly unsafe things like
150 define arbitrary drive geometry, move the beginning of data in a
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000151 partition, and similarly evil things. Unless you have a very good
Eric Andersena0ac4522003-02-27 03:14:04 +0000152 reason you would be wise to leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000153
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000154config FINDFS
155 bool "findfs"
156 default n
157 select VOLUMEID
158 help
159 This is similar to the findfs program that is part of the e2fsprogs
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000160 package. However, the e2fsprogs version only support ext2/3. This
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000161 version supports those in addition to FAT, swap, and ReiserFS.
162 WARNING:
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000163 With all submodules selected, it will add ~8k to busybox.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000164
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000165config FREERAMDISK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000166 bool "freeramdisk"
167 default n
168 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000169 Linux allows you to create ramdisks. This utility allows you to
Eric Andersena0ac4522003-02-27 03:14:04 +0000170 delete them and completely free all memory that was used for the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000171 ramdisk. For example, if you boot Linux into a ramdisk and later
Eric Andersena0ac4522003-02-27 03:14:04 +0000172 pivot_root, you may want to free the memory that is allocated to the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000173 ramdisk. If you have no use for freeing memory from a ramdisk, leave
Eric Andersena0ac4522003-02-27 03:14:04 +0000174 this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000175
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000176config FSCK_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000177 bool "fsck_minix"
178 default n
179 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000180 The minix filesystem is a nice, small, compact, read-write filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000181 with little overhead. It is not a journaling filesystem however and
Eric Andersen88c916b2003-10-22 09:58:56 +0000182 can experience corruption if it is not properly unmounted or if the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000183 power goes off in the middle of a write. This utility allows you to
Eric Andersena0ac4522003-02-27 03:14:04 +0000184 check for and attempt to repair any corruption that occurs to a minix
185 filesystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000186
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000187config MKFS_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000188 bool "mkfs_minix"
189 default n
190 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000191 The minix filesystem is a nice, small, compact, read-write filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000192 with little overhead. If you wish to be able to create minix
193 filesystems this utility will do the job for you.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000194
195comment "Minix filesystem support"
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000196 depends on FSCK_MINIX || MKFS_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000197
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000198config FEATURE_MINIX2
Rob Landley2ec922e2006-04-13 23:22:16 +0000199 bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000200 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000201 depends on FSCK_MINIX || MKFS_MINIX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000202 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000203 If you wish to be able to create version 2 minix filesystems, enable
204 this. If you enabled 'mkfs_minix' then you almost certainly want to
205 be using the version 2 filesystem support.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000206
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000207config GETOPT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000208 bool "getopt"
209 default n
210 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000211 The getopt utility is used to break up (parse) options in command
212 lines to make it easy to write complex shell scripts that also check
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000213 for legal (and illegal) options. If you want to write horribly
Eric Andersena0ac4522003-02-27 03:14:04 +0000214 complex shell scripts, or use some horribly complex shell script
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000215 written by others, this utility may be for you. Most people will
Eric Andersena0ac4522003-02-27 03:14:04 +0000216 wisely leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000217
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000218config HEXDUMP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000219 bool "hexdump"
220 default n
221 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000222 The hexdump utility is used to display binary data in a readable
223 way that is comparable to the output from most hex editors.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000224
Denis Vlasenkofbe5f392007-11-18 05:36:50 +0000225config FEATURE_HEXDUMP_REVERSE
226 bool "Support -R, reverse of 'hexdump -Cv'"
227 default n
228 depends on HEXDUMP
229 help
230 The hexdump utility is used to display binary data in an ascii
231 readable way. This option creates binary data from an ascii input.
232 NB: this option is non-standard. It's unwise to use it in scripts
233 aimed to be portable.
234
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000235config HD
236 bool "hd"
237 default n
238 select HEXDUMP
239 help
240 hd is an alias to hexdump -C.
241
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000242config HWCLOCK
Eric Andersenc9f20d92002-12-05 08:41:41 +0000243 bool "hwclock"
244 default n
245 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000246 The hwclock utility is used to read and set the hardware clock
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000247 on a system. This is primarily used to set the current time on
Eric Andersen88c916b2003-10-22 09:58:56 +0000248 shutdown in the hardware clock, so the hardware will keep the
249 correct time when Linux is _not_ running.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000250
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000251config FEATURE_HWCLOCK_LONG_OPTIONS
Rob Landley2ec922e2006-04-13 23:22:16 +0000252 bool "Support long options (--hctosys,...)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000253 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000254 depends on HWCLOCK && GETOPT_LONG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000255 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000256 By default, the hwclock utility only uses short options. If you
Eric Andersen88c916b2003-10-22 09:58:56 +0000257 are overly fond of its long options, such as --hctosys, --utc, etc)
Eric Andersena0ac4522003-02-27 03:14:04 +0000258 then enable this option.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000259
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000260config FEATURE_HWCLOCK_ADJTIME_FHS
Rob Landley2ec922e2006-04-13 23:22:16 +0000261 bool "Use FHS /var/lib/hwclock/adjtime"
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000262 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000263 depends on HWCLOCK
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000264 help
265 Starting with FHS 2.3, the adjtime state file is supposed to exist
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000266 at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000267 to use the FHS behavior, answer Y here, otherwise answer N for the
268 classic /etc/adjtime path.
269
Bernhard Reutner-Fischere99a92d2008-07-22 18:32:06 +0000270 pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
Mike Frysinger747fc5d2005-09-28 03:21:21 +0000271
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000272config IPCRM
Rob Landley6eb1e412005-06-20 04:30:36 +0000273 bool "ipcrm"
274 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000275 select FEATURE_SUID
Rob Landley6eb1e412005-06-20 04:30:36 +0000276 help
277 The ipcrm utility allows the removal of System V interprocess
278 communication (IPC) objects and the associated data structures
279 from the system.
280
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000281config IPCS
Rob Landley6eb1e412005-06-20 04:30:36 +0000282 bool "ipcs"
283 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000284 select FEATURE_SUID
Rob Landley6eb1e412005-06-20 04:30:36 +0000285 help
286 The ipcs utility is used to provide information on the currently
287 allocated System V interprocess (IPC) objects in the system.
288
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000289config LOSETUP
Mike Frysinger75aa1922005-09-24 23:12:38 +0000290 bool "losetup"
291 default n
292 help
293 losetup is used to associate or detach a loop device with a regular
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000294 file or block device, and to query the status of a loop device. This
Mike Frysinger75aa1922005-09-24 23:12:38 +0000295 version does not currently support enabling data encryption.
296
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000297config MDEV
Rob Landley70f7ef72005-12-13 08:21:33 +0000298 bool "mdev"
299 default n
300 help
Mike Frysingerae302102007-02-14 13:20:29 +0000301 mdev is a mini-udev implementation for dynamically creating device
302 nodes in the /dev directory.
303
304 For more information, please see docs/mdev.txt
Rob Landley70f7ef72005-12-13 08:21:33 +0000305
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000306config FEATURE_MDEV_CONF
Rob Landley2ec922e2006-04-13 23:22:16 +0000307 bool "Support /etc/mdev.conf"
Rob Landley70f7ef72005-12-13 08:21:33 +0000308 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000309 depends on MDEV
Rob Landley70f7ef72005-12-13 08:21:33 +0000310 help
Mike Frysingerae302102007-02-14 13:20:29 +0000311 Add support for the mdev config file to control ownership and
312 permissions of the device nodes.
Rob Landley70f7ef72005-12-13 08:21:33 +0000313
Mike Frysingerae302102007-02-14 13:20:29 +0000314 For more information, please see docs/mdev.txt
Rob Landley70f7ef72005-12-13 08:21:33 +0000315
Mike Frysingerf0044c42008-02-01 06:53:50 +0000316config FEATURE_MDEV_RENAME
317 bool "Support subdirs/symlinks"
318 default n
319 depends on FEATURE_MDEV_CONF
320 help
321 Add support for renaming devices and creating symlinks.
322
323 For more information, please see docs/mdev.txt
324
Denis Vlasenkof2f38682008-03-29 17:26:10 +0000325config FEATURE_MDEV_RENAME_REGEXP
326 bool "Support regular expressions substitutions when renaming device"
327 default n
328 depends on FEATURE_MDEV_RENAME
329 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000330 Add support for regular expressions substitutions when renaming
331 device.
Denis Vlasenkof2f38682008-03-29 17:26:10 +0000332
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000333config FEATURE_MDEV_EXEC
Rob Landleyef10d522006-06-26 14:11:33 +0000334 bool "Support command execution at device addition/removal"
335 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000336 depends on FEATURE_MDEV_CONF
Rob Landleyef10d522006-06-26 14:11:33 +0000337 help
Mike Frysingerae302102007-02-14 13:20:29 +0000338 This adds support for an optional field to /etc/mdev.conf for
339 executing commands when devices are created/removed.
Rob Landleyef10d522006-06-26 14:11:33 +0000340
Mike Frysingerae302102007-02-14 13:20:29 +0000341 For more information, please see docs/mdev.txt
Rob Landleyef10d522006-06-26 14:11:33 +0000342
Mike Frysingera78ef2c2007-06-13 07:34:15 +0000343config FEATURE_MDEV_LOAD_FIRMWARE
344 bool "Support loading of firmwares"
345 default n
346 depends on MDEV
347 help
348 Some devices need to load firmware before they can be usable.
349
350 These devices will request userspace look up the files in
351 /lib/firmware/ and if it exists, send it to the kernel for
352 loading into the hardware.
353
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000354config MKSWAP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000355 bool "mkswap"
356 default n
357 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000358 The mkswap utility is used to configure a file or disk partition as
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000359 Linux swap space. This allows Linux to use the entire file or
Eric Andersena0ac4522003-02-27 03:14:04 +0000360 partition as if it were additional RAM, which can greatly increase
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000361 the capability of low-memory machines. This additional memory is
Eric Andersena0ac4522003-02-27 03:14:04 +0000362 much slower than real RAM, but can be very helpful at preventing your
Eric Andersen88c916b2003-10-22 09:58:56 +0000363 applications being killed by the Linux out of memory (OOM) killer.
364 Once you have created swap space using 'mkswap' you need to enable
365 the swap space using the 'swapon' utility.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000366
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000367config FEATURE_MKSWAP_V0
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000368 bool "Version 0 support"
Bernhard Reutner-Fischer56dd0bf2006-03-29 17:32:24 +0000369 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000370 depends on MKSWAP
371# depends on MKSWAP && DEPRECATED
Bernhard Reutner-Fischer56dd0bf2006-03-29 17:32:24 +0000372 help
373 Enable support for the old v0 style.
374 If your kernel is older than 2.1.117, then v0 support is the
375 only option.
376
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000377config MORE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000378 bool "more"
379 default n
380 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000381 more is a simple utility which allows you to read text one screen
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000382 sized page at a time. If you want to read text that is larger than
Eric Andersena0ac4522003-02-27 03:14:04 +0000383 the screen, and you are using anything faster than a 300 baud modem,
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000384 you will probably find this utility very helpful. If you don't have
Eric Andersena0ac4522003-02-27 03:14:04 +0000385 any need to reading text files, you can leave this disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000386
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000387config FEATURE_USE_TERMIOS
Rob Landley2ec922e2006-04-13 23:22:16 +0000388 bool "Use termios to manipulate the screen"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000389 default y
Paul Fox9e1f92d2008-03-20 16:04:36 +0000390 depends on MORE || TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000391 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000392 This option allows utilities such as 'more' and 'top' to determine
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000393 the size of the screen. If you leave this disabled, your utilities
Eric Andersen88c916b2003-10-22 09:58:56 +0000394 that display things on the screen will be especially primitive and
Eric Andersena0ac4522003-02-27 03:14:04 +0000395 will be unable to determine the current screen size, and will be
396 unable to move the cursor.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000397
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000398config VOLUMEID
399 bool "Routines for detecting label and uuid on common filesystems"
400 default n
401 help
402 TODO
403
404config FEATURE_VOLUMEID_EXT
405 bool "Ext filesystem"
406 default n
407 depends on VOLUMEID
408 help
409 TODO
410
411config FEATURE_VOLUMEID_REISERFS
412 bool "Reiser filesystem"
413 default n
414 depends on VOLUMEID
415 help
416 TODO
417
418config FEATURE_VOLUMEID_FAT
419 bool "fat filesystem"
420 default n
421 depends on VOLUMEID
422 help
423 TODO
424
425config FEATURE_VOLUMEID_HFS
426 bool "hfs filesystem"
427 default n
428 depends on VOLUMEID
429 help
430 TODO
431
432config FEATURE_VOLUMEID_JFS
433 bool "jfs filesystem"
434 default n
435 depends on VOLUMEID
436 help
437 TODO
438
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000439### config FEATURE_VOLUMEID_UFS
440### bool "ufs filesystem"
441### default n
442### depends on VOLUMEID
443### help
444### TODO
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000445
446config FEATURE_VOLUMEID_XFS
447 bool "xfs filesystem"
448 default n
449 depends on VOLUMEID
450 help
451 TODO
452
453config FEATURE_VOLUMEID_NTFS
454 bool "ntfs filesystem"
455 default n
456 depends on VOLUMEID
457 help
458 TODO
459
460config FEATURE_VOLUMEID_ISO9660
461 bool "iso9660 filesystem"
462 default n
463 depends on VOLUMEID
464 help
465 TODO
466
467config FEATURE_VOLUMEID_UDF
468 bool "udf filesystem"
469 default n
470 depends on VOLUMEID
471 help
472 TODO
473
474config FEATURE_VOLUMEID_LUKS
475 bool "luks filesystem"
476 default n
477 depends on VOLUMEID
478 help
479 TODO
480
481config FEATURE_VOLUMEID_LINUXSWAP
482 bool "linux swap filesystem"
483 default n
484 depends on VOLUMEID
485 help
486 TODO
487
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000488### config FEATURE_VOLUMEID_LVM
489### bool "lvm"
490### default n
491### depends on VOLUMEID
492### help
493### TODO
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000494
495config FEATURE_VOLUMEID_CRAMFS
496 bool "cramfs filesystem"
497 default n
498 depends on VOLUMEID
499 help
500 TODO
501
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000502### config FEATURE_VOLUMEID_HPFS
503### bool "hpfs filesystem"
504### default n
505### depends on VOLUMEID
506### help
507### TODO
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000508
509config FEATURE_VOLUMEID_ROMFS
510 bool "romfs filesystem"
511 default n
512 depends on VOLUMEID
513 help
514 TODO
515
516config FEATURE_VOLUMEID_SYSV
517 bool "sysv filesystem"
518 default n
519 depends on VOLUMEID
520 help
521 TODO
522
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000523### config FEATURE_VOLUMEID_MINIX
524### bool "minix filesystem"
525### default n
526### depends on VOLUMEID
527### help
528### TODO
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000529
Denis Vlasenkoc5b73722008-03-17 09:21:26 +0000530### These only detect partition tables - not used (yet?)
531### config FEATURE_VOLUMEID_MAC
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000532### bool "mac filesystem"
533### default n
534### depends on VOLUMEID
535### help
536### TODO
Denis Vlasenko1f228982008-04-22 00:16:29 +0000537###
Denis Vlasenkoc5b73722008-03-17 09:21:26 +0000538### config FEATURE_VOLUMEID_MSDOS
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000539### bool "msdos filesystem"
540### default n
541### depends on VOLUMEID
542### help
543### TODO
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000544
545config FEATURE_VOLUMEID_OCFS2
546 bool "ocfs2 filesystem"
547 default n
548 depends on VOLUMEID
549 help
550 TODO
551
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000552### config FEATURE_VOLUMEID_HIGHPOINTRAID
553### bool "highpoint raid"
554### default n
555### depends on VOLUMEID
556### help
557### TODO
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000558
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000559### config FEATURE_VOLUMEID_ISWRAID
560### bool "intel raid"
561### default n
562### depends on VOLUMEID
563### help
564### TODO
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000565
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000566### config FEATURE_VOLUMEID_LSIRAID
567### bool "lsi raid"
568### default n
569### depends on VOLUMEID
570### help
571### TODO
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000572
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000573### config FEATURE_VOLUMEID_VIARAID
574### bool "via raid"
575### default n
576### depends on VOLUMEID
577### help
578### TODO
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000579
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000580### config FEATURE_VOLUMEID_SILICONRAID
581### bool "silicon raid"
582### default n
583### depends on VOLUMEID
584### help
585### TODO
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000586
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000587### config FEATURE_VOLUMEID_NVIDIARAID
588### bool "nvidia raid"
589### default n
590### depends on VOLUMEID
591### help
592### TODO
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000593
Denis Vlasenkod25c33f2008-03-17 09:25:05 +0000594### config FEATURE_VOLUMEID_PROMISERAID
595### bool "promise raid"
596### default n
597### depends on VOLUMEID
598### help
599### TODO
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000600
601config FEATURE_VOLUMEID_LINUXRAID
602 bool "linuxraid"
603 default n
604 depends on VOLUMEID
605 help
606 TODO
607
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000608config MOUNT
Mike Frysinger55092282006-02-02 23:14:57 +0000609 bool "mount"
610 default n
611 help
612 All files and filesystems in Unix are arranged into one big directory
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000613 tree. The 'mount' utility is used to graft a filesystem onto a
614 particular part of the tree. A filesystem can either live on a block
Mike Frysinger55092282006-02-02 23:14:57 +0000615 device, or it can be accessible over the network, as is the case with
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000616 NFS filesystems. Most people using BusyBox will also want to enable
Mike Frysinger55092282006-02-02 23:14:57 +0000617 the 'mount' utility.
618
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000619config FEATURE_MOUNT_FAKE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000620 bool "Support option -f"
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000621 default n
622 depends on MOUNT
623 help
624 Enable support for faking a file system mount.
625
Denis Vlasenkof732e962008-02-18 12:07:49 +0000626config FEATURE_MOUNT_VERBOSE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000627 bool "Support option -v"
Denis Vlasenkof732e962008-02-18 12:07:49 +0000628 default n
629 depends on MOUNT
630 help
631 Enable multi-level -v[vv...] verbose messages. Useful if you
632 debug mount problems and want to see what is exactly passed
633 to the kernel.
634
Denis Vlasenko2535f122007-09-15 13:28:30 +0000635config FEATURE_MOUNT_HELPERS
636 bool "Support mount helpers"
637 default n
638 depends on MOUNT
639 help
640 Enable mounting of virtual file systems via external helpers.
Denis Vlasenko32d49bc2008-02-03 23:52:41 +0000641 E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call
642 "obexfs -b00.11.22.33.44.55 /mnt"
643 Also "mount -t sometype [-o opts] fs /mnt" will try
644 "sometype [-o opts] fs /mnt" if simple mount syscall fails.
645 The idea is to use such virtual filesystems in /etc/fstab.
Denis Vlasenko2535f122007-09-15 13:28:30 +0000646
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000647config FEATURE_MOUNT_LABEL
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000648 bool "Support specifiying devices by label or UUID"
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000649 default n
650 depends on MOUNT
Denis Vlasenko4824cca2008-03-21 18:29:01 +0000651 select VOLUMEID
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000652 help
653 This allows for specifying a device by label or uuid, rather than by
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000654 name. This feature utilizes the same functionality as findfs.
Denis Vlasenkode7684a2008-02-18 21:08:49 +0000655
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000656config FEATURE_MOUNT_NFS
Rob Landley2ec922e2006-04-13 23:22:16 +0000657 bool "Support mounting NFS file systems"
Mike Frysinger55092282006-02-02 23:14:57 +0000658 default n
Denis Vlasenkoa7825f22007-06-16 13:56:51 +0000659 depends on MOUNT
660 select FEATURE_HAVE_RPC
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000661 select FEATURE_SYSLOG
Mike Frysinger55092282006-02-02 23:14:57 +0000662 help
Rob Landleye3781b72006-08-08 01:39:49 +0000663 Enable mounting of NFS file systems.
664
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000665config FEATURE_MOUNT_CIFS
Rob Landley89d9d4d2006-09-01 08:10:44 +0000666 bool "Support mounting CIFS/SMB file systems"
667 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000668 depends on MOUNT
Rob Landley89d9d4d2006-09-01 08:10:44 +0000669 help
670 Enable support for samba mounts.
Denis Vlasenko39e93cc2006-09-10 18:38:17 +0000671
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000672config FEATURE_MOUNT_FLAGS
673 depends on MOUNT
Denis Vlasenko39e93cc2006-09-10 18:38:17 +0000674 bool "Support lots of -o flags in mount"
Rob Landleye3781b72006-08-08 01:39:49 +0000675 default y
676 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000677 Without this, mount only supports ro/rw/remount. With this, it
Rob Landleye3781b72006-08-08 01:39:49 +0000678 supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
679 noatime, diratime, nodiratime, loud, bind, move, shared, slave,
680 private, unbindable, rshared, rslave, rprivate, and runbindable.
681
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000682config FEATURE_MOUNT_FSTAB
683 depends on MOUNT
Rob Landleye3781b72006-08-08 01:39:49 +0000684 bool "Support /etc/fstab and -a"
685 default y
686 help
687 Support mount all and looking for files in /etc/fstab.
Mike Frysinger55092282006-02-02 23:14:57 +0000688
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000689config PIVOT_ROOT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000690 bool "pivot_root"
691 default n
692 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000693 The pivot_root utility swaps the mount points for the root filesystem
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000694 with some other mounted filesystem. This allows you to do all sorts
Eric Andersena0ac4522003-02-27 03:14:04 +0000695 of wild and crazy things with your Linux system and is far more
696 powerful than 'chroot'.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000697
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000698 Note: This is for initrd in linux 2.4. Under initramfs (introduced
Rob Landley0f34a822005-10-27 22:55:50 +0000699 in linux 2.6) use switch_root instead.
700
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000701config RDATE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000702 bool "rdate"
703 default n
704 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000705 The rdate utility allows you to synchronize the date and time of your
Eric Andersena0ac4522003-02-27 03:14:04 +0000706 system clock with the date and time of a remote networked system using
707 the RFC868 protocol, which is built into the inetd daemon on most
708 systems.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000709
Bernhard Reutner-Fischerc77e8432008-08-19 11:28:52 +0000710config RDEV
711 bool "rdev"
712 default n
713 help
714 Print the device node associated with the filesystem mounted at '/'.
715
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000716config READPROFILE
Mike Frysinger75aa1922005-09-24 23:12:38 +0000717 bool "readprofile"
718 default n
719 help
720 This allows you to parse /proc/profile for basic profiling.
721
Mike Frysinger6b160e42008-02-15 02:27:19 +0000722config RTCWAKE
723 bool "rtcwake"
724 default n
725 help
726 Enter a system sleep state until specified wakeup time.
727
Denis Vlasenko376003b2008-04-21 05:05:17 +0000728config SCRIPT
729 bool "script"
730 default n
731 help
732 The script makes typescript of terminal session.
733
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000734config SETARCH
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000735 bool "setarch"
736 default n
737 help
738 The linux32 utility is used to create a 32bit environment for the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000739 specified program (usually a shell). It only makes sense to have
Mike Frysinger0a6b0bf2006-02-21 04:26:52 +0000740 this util on a system that supports both 64bit and 32bit userland
741 (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
742
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000743config SWAPONOFF
Eric Andersenc9f20d92002-12-05 08:41:41 +0000744 bool "swaponoff"
745 default n
746 help
Eric Andersena0ac4522003-02-27 03:14:04 +0000747 This option enables both the 'swapon' and the 'swapoff' utilities.
748 Once you have created some swap space using 'mkswap', you also need
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000749 to enable your swap space with the 'swapon' utility. The 'swapoff'
Eric Andersena0ac4522003-02-27 03:14:04 +0000750 utility is used, typically at system shutdown, to disable any swap
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000751 space. If you are not using any swap space, you can leave this
Eric Andersena0ac4522003-02-27 03:14:04 +0000752 option disabled.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000753
Denis Vlasenkoee56e012008-05-18 23:05:34 +0000754config FEATURE_SWAPON_PRI
Bernhard Reutner-Fischer3576bed2008-05-19 08:25:23 +0000755 bool "Support priority option -p"
Denis Vlasenkoee56e012008-05-18 23:05:34 +0000756 default n
757 depends on SWAPONOFF
758 help
759 Enable support for setting swap device priority in swapon.
760
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000761config SWITCH_ROOT
Mike Frysinger55092282006-02-02 23:14:57 +0000762 bool "switch_root"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000763 default n
764 help
Mike Frysinger55092282006-02-02 23:14:57 +0000765 The switch_root utility is used from initramfs to select a new
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000766 root device. Under initramfs, you have to use this instead of
767 pivot_root. (Stop reading here if you don't care why.)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000768
Mike Frysinger55092282006-02-02 23:14:57 +0000769 Booting with initramfs extracts a gzipped cpio archive into rootfs
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000770 (which is a variant of ramfs/tmpfs). Because rootfs can't be moved
771 or unmounted*, pivot_root will not work from initramfs. Instead,
Mike Frysinger55092282006-02-02 23:14:57 +0000772 switch_root deletes everything out of rootfs (including itself),
773 does a mount --move that overmounts rootfs with the new root, and
774 then execs the specified init program.
775
776 * Because the Linux kernel uses rootfs internally as the starting
777 and ending point for searching through the kernel's doubly linked
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000778 list of active mount points. That's why.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000779
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000780config UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000781 bool "umount"
782 default n
783 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000784 When you want to remove a mounted filesystem from its current mount
785 point, for example when you are shutting down the system, the
786 'umount' utility is the tool to use. If you enabled the 'mount'
787 utility, you almost certainly also want to enable 'umount'.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000788
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000789config FEATURE_UMOUNT_ALL
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000790 bool "Support option -a"
Rob Landleycc6d8d32006-02-08 20:06:57 +0000791 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000792 depends on UMOUNT
Rob Landleycc6d8d32006-02-08 20:06:57 +0000793 help
794 Support -a option to unmount all currently mounted filesystems.
795
Eric Andersenc9f20d92002-12-05 08:41:41 +0000796comment "Common options for mount/umount"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000797 depends on MOUNT || UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000798
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000799config FEATURE_MOUNT_LOOP
Rob Landley2ec922e2006-04-13 23:22:16 +0000800 bool "Support loopback mounts"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000801 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000802 depends on MOUNT || UMOUNT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000803 help
Rob Landley6a6798b2005-08-10 20:35:54 +0000804 Enabling this feature allows automatic mounting of files (containing
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000805 filesystem images) via the linux kernel's loopback devices.
806 The mount command will detect you are trying to mount a file instead
807 of a block device, and transparently associate the file with a
808 loopback device. The umount command will also free that loopback
809 device.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000810
Rob Landley6a6798b2005-08-10 20:35:54 +0000811 You can still use the 'losetup' utility (to manually associate files
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000812 with loop devices) if you need to do something advanced, such as
Rob Landley6a6798b2005-08-10 20:35:54 +0000813 specify an offset or cryptographic options to the loopback device.
814 (If you don't want umount to free the loop device, use "umount -D".)
Paul Fox3f6f3172005-07-19 20:55:37 +0000815
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000816config FEATURE_MTAB_SUPPORT
Rob Landley2ec922e2006-04-13 23:22:16 +0000817 bool "Support for the old /etc/mtab file"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000818 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000819 depends on MOUNT || UMOUNT
Denis Vlasenkob1d8e7d2008-02-16 23:28:42 +0000820 select FEATURE_MOUNT_FAKE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000821 help
Rob Landley6a6798b2005-08-10 20:35:54 +0000822 Historically, Unix systems kept track of the currently mounted
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000823 partitions in the file "/etc/mtab". These days, the kernel exports
Rob Landley6a6798b2005-08-10 20:35:54 +0000824 the list of currently mounted partitions in "/proc/mounts", rendering
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000825 the old mtab file obsolete. (In modern systems, /etc/mtab should be
Rob Landley6a6798b2005-08-10 20:35:54 +0000826 a symlink to /proc/mounts.)
Eric Andersena0ac4522003-02-27 03:14:04 +0000827
Rob Landley6a6798b2005-08-10 20:35:54 +0000828 The only reason to have mount maintain an /etc/mtab file itself is if
829 your stripped-down embedded system does not have a /proc directory.
830 If you must use this, keep in mind it's inherently brittle (for
831 example a mount under chroot won't update it), can't handle modern
832 features like separate per-process filesystem namespaces, requires
833 that your /etc directory be writeable, tends to get easily confused
Rob Landley17507fa2006-05-08 02:22:24 +0000834 by --bind or --move mounts, won't update if you rename a directory
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000835 that contains a mount point, and so on. (In brief: avoid.)
Rob Landley17507fa2006-05-08 02:22:24 +0000836
837 About the only reason to use this is if you've removed /proc from
838 your kernel.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000839
Eric Andersenc9f20d92002-12-05 08:41:41 +0000840endmenu