Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see scripts/kbuild/config-language.txt. |
| 4 | # |
| 5 | |
| 6 | menu "Linux System Utilities" |
| 7 | |
Denys Vlasenko | d70e0e9 | 2010-06-08 12:15:11 +0200 | [diff] [blame] | 8 | INSERT |
| 9 | |
Denis Vlasenko | d16950d | 2008-11-29 09:05:50 +0000 | [diff] [blame] | 10 | config ACPID |
| 11 | bool "acpid" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 12 | default y |
Denis Vlasenko | d16950d | 2008-11-29 09:05:50 +0000 | [diff] [blame] | 13 | help |
| 14 | acpid listens to ACPI events coming either in textual form from |
| 15 | /proc/acpi/event (though it is marked deprecated it is still widely |
| 16 | used and _is_ a standard) or in binary form from specified evdevs |
| 17 | (just use /dev/input/event*). |
| 18 | |
| 19 | It parses the event to retrieve ACTION and a possible PARAMETER. |
| 20 | It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts |
| 21 | (if the resulting path is a directory) or directly as an executable. |
| 22 | |
| 23 | N.B. acpid relies on run-parts so have the latter installed. |
| 24 | |
| 25 | config FEATURE_ACPID_COMPAT |
| 26 | bool "Accept and ignore redundant options" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 27 | default y |
Denis Vlasenko | d16950d | 2008-11-29 09:05:50 +0000 | [diff] [blame] | 28 | depends on ACPID |
| 29 | help |
| 30 | Accept and ignore compatibility options -g -m -s -S -v. |
| 31 | |
Denis Vlasenko | 1e19afd | 2008-10-12 11:20:08 +0000 | [diff] [blame] | 32 | config BLKID |
| 33 | bool "blkid" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 34 | default y |
Denis Vlasenko | 1e19afd | 2008-10-12 11:20:08 +0000 | [diff] [blame] | 35 | select VOLUMEID |
| 36 | help |
| 37 | Lists labels and UUIDs of all filesystems. |
| 38 | WARNING: |
| 39 | With all submodules selected, it will add ~8k to busybox. |
| 40 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 41 | config DMESG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 42 | bool "dmesg" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 43 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 44 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 45 | dmesg is used to examine or control the kernel ring buffer. When the |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 46 | Linux kernel prints messages to the system log, they are stored in |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 47 | the kernel ring buffer. You can use dmesg to print the kernel's ring |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 48 | buffer, clear the kernel ring buffer, change the size of the kernel |
| 49 | ring buffer, and change the priority level at which kernel messages |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 50 | are also logged to the system console. Enable this option if you |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 51 | wish to enable the 'dmesg' utility. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 52 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 53 | config FEATURE_DMESG_PRETTY |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 54 | bool "Pretty dmesg output" |
Rob Landley | 446129a | 2006-07-27 16:40:55 +0000 | [diff] [blame] | 55 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 56 | depends on DMESG |
Rob Landley | 446129a | 2006-07-27 16:40:55 +0000 | [diff] [blame] | 57 | help |
| 58 | If you wish to scrub the syslog level from the output, say 'Y' here. |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 59 | The syslog level is a string prefixed to every line with the form |
| 60 | "<#>". |
Rob Landley | 446129a | 2006-07-27 16:40:55 +0000 | [diff] [blame] | 61 | |
| 62 | With this option you will see: |
| 63 | # dmesg |
| 64 | Linux version 2.6.17.4 ..... |
| 65 | BIOS-provided physical RAM map: |
| 66 | BIOS-e820: 0000000000000000 - 000000000009f000 (usable) |
| 67 | |
| 68 | Without this option you will see: |
| 69 | # dmesg |
| 70 | <5>Linux version 2.6.17.4 ..... |
| 71 | <6>BIOS-provided physical RAM map: |
| 72 | <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable) |
| 73 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 74 | config FBSET |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 75 | bool "fbset" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 76 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 77 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 78 | fbset is used to show or change the settings of a Linux frame buffer |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 79 | device. The frame buffer device provides a simple and unique |
| 80 | interface to access a graphics display. Enable this option |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 81 | if you wish to enable the 'fbset' utility. |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 82 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 83 | config FEATURE_FBSET_FANCY |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 84 | bool "Turn on extra fbset options" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 85 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 86 | depends on FBSET |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 87 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 88 | This option enables extended fbset options, allowing one to set the |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 89 | framebuffer size, color depth, etc. interface to access a graphics |
| 90 | display. Enable this option if you wish to enable extended fbset |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 91 | options. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 92 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 93 | config FEATURE_FBSET_READMODE |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 94 | bool "Turn on fbset readmode support" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 95 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 96 | depends on FBSET |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 97 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 98 | This option allows fbset to read the video mode database stored by |
| 99 | default as /etc/fb.modes, which can be used to set frame buffer |
| 100 | device to pre-defined video modes. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 101 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 102 | config FDFLUSH |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 103 | bool "fdflush" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 104 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 105 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 106 | fdflush is only needed when changing media on slightly-broken |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 107 | removable media drives. It is used to make Linux believe that a |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 108 | hardware disk-change switch has been actuated, which causes Linux to |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 109 | forget anything it has cached from the previous media. If you have |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 110 | such a slightly-broken drive, you will need to run fdflush every time |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 111 | you change a disk. Most people have working hardware and can safely |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 112 | leave this disabled. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 113 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 114 | config FDFORMAT |
Eric Andersen | 01c3d40 | 2003-07-05 07:51:31 +0000 | [diff] [blame] | 115 | bool "fdformat" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 116 | default y |
Eric Andersen | 01c3d40 | 2003-07-05 07:51:31 +0000 | [diff] [blame] | 117 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 118 | fdformat is used to low-level format a floppy disk. |
Eric Andersen | 01c3d40 | 2003-07-05 07:51:31 +0000 | [diff] [blame] | 119 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 120 | config FDISK |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 121 | bool "fdisk" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 122 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 123 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 124 | The fdisk utility is used to divide hard disks into one or more |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 125 | logical disks, which are generally called partitions. This utility |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 126 | can be used to list and edit the set of partitions or BSD style |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 127 | 'disk slices' that are defined on a hard drive. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 128 | |
Eric Andersen | 84bdea8 | 2004-05-19 10:49:17 +0000 | [diff] [blame] | 129 | config FDISK_SUPPORT_LARGE_DISKS |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 130 | bool "Support over 4GB disks" |
Eric Andersen | 84bdea8 | 2004-05-19 10:49:17 +0000 | [diff] [blame] | 131 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 132 | depends on FDISK |
Eric Andersen | 84bdea8 | 2004-05-19 10:49:17 +0000 | [diff] [blame] | 133 | help |
| 134 | Enable this option to support large disks > 4GB. |
| 135 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 136 | config FEATURE_FDISK_WRITABLE |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 137 | bool "Write support" |
Glenn L McGrath | 4dcc2dd | 2003-01-04 11:56:06 +0000 | [diff] [blame] | 138 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 139 | depends on FDISK |
Glenn L McGrath | 4dcc2dd | 2003-01-04 11:56:06 +0000 | [diff] [blame] | 140 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 141 | Enabling this option allows you to create or change a partition table |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 142 | and write those changes out to disk. If you leave this option |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 143 | disabled, you will only be able to view the partition table. |
Glenn L McGrath | 4dcc2dd | 2003-01-04 11:56:06 +0000 | [diff] [blame] | 144 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 145 | config FEATURE_AIX_LABEL |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 146 | bool "Support AIX disklabels" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 147 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 148 | depends on FDISK && FEATURE_FDISK_WRITABLE |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 149 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 150 | Enabling this option allows you to create or change AIX disklabels. |
| 151 | Most people can safely leave this option disabled. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 152 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 153 | config FEATURE_SGI_LABEL |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 154 | bool "Support SGI disklabels" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 155 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 156 | depends on FDISK && FEATURE_FDISK_WRITABLE |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 157 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 158 | Enabling this option allows you to create or change SGI disklabels. |
| 159 | Most people can safely leave this option disabled. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 160 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 161 | config FEATURE_SUN_LABEL |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 162 | bool "Support SUN disklabels" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 163 | default n |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 164 | depends on FDISK && FEATURE_FDISK_WRITABLE |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 165 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 166 | Enabling this option allows you to create or change SUN disklabels. |
| 167 | Most people can safely leave this option disabled. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 168 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 169 | config FEATURE_OSF_LABEL |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 170 | bool "Support BSD disklabels" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 171 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 172 | depends on FDISK && FEATURE_FDISK_WRITABLE |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 173 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 174 | Enabling this option allows you to create or change BSD disklabels |
| 175 | and define and edit BSD disk slices. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 176 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 177 | config FEATURE_FDISK_ADVANCED |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 178 | bool "Support expert mode" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 179 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 180 | depends on FDISK && FEATURE_FDISK_WRITABLE |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 181 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 182 | Enabling this option allows you to do terribly unsafe things like |
| 183 | define arbitrary drive geometry, move the beginning of data in a |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 184 | partition, and similarly evil things. Unless you have a very good |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 185 | reason you would be wise to leave this disabled. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 186 | |
Denis Vlasenko | de7684a | 2008-02-18 21:08:49 +0000 | [diff] [blame] | 187 | config FINDFS |
| 188 | bool "findfs" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 189 | default y |
Denis Vlasenko | de7684a | 2008-02-18 21:08:49 +0000 | [diff] [blame] | 190 | select VOLUMEID |
| 191 | help |
Denis Vlasenko | 22d10a0 | 2008-10-13 08:53:43 +0000 | [diff] [blame] | 192 | Prints the name of a filesystem with given label or UUID. |
Denis Vlasenko | de7684a | 2008-02-18 21:08:49 +0000 | [diff] [blame] | 193 | WARNING: |
Denis Vlasenko | d25c33f | 2008-03-17 09:25:05 +0000 | [diff] [blame] | 194 | With all submodules selected, it will add ~8k to busybox. |
Denis Vlasenko | de7684a | 2008-02-18 21:08:49 +0000 | [diff] [blame] | 195 | |
Timo Teras | 892d4b6 | 2010-03-18 22:45:35 +0100 | [diff] [blame] | 196 | config FLOCK |
| 197 | bool "flock" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 198 | default y |
Timo Teras | 892d4b6 | 2010-03-18 22:45:35 +0100 | [diff] [blame] | 199 | help |
| 200 | Manage locks from shell scripts |
| 201 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 202 | config FREERAMDISK |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 203 | bool "freeramdisk" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 204 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 205 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 206 | Linux allows you to create ramdisks. This utility allows you to |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 207 | delete them and completely free all memory that was used for the |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 208 | ramdisk. For example, if you boot Linux into a ramdisk and later |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 209 | pivot_root, you may want to free the memory that is allocated to the |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 210 | ramdisk. If you have no use for freeing memory from a ramdisk, leave |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 211 | this disabled. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 212 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 213 | config FSCK_MINIX |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 214 | bool "fsck_minix" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 215 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 216 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 217 | The minix filesystem is a nice, small, compact, read-write filesystem |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 218 | with little overhead. It is not a journaling filesystem however and |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 219 | can experience corruption if it is not properly unmounted or if the |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 220 | power goes off in the middle of a write. This utility allows you to |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 221 | check for and attempt to repair any corruption that occurs to a minix |
| 222 | filesystem. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 223 | |
Vladimir Dronnikov | 0d8ea64 | 2009-11-02 10:41:46 +0100 | [diff] [blame] | 224 | config MKFS_EXT2 |
| 225 | bool "mkfs_ext2" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 226 | default y |
Vladimir Dronnikov | 0d8ea64 | 2009-11-02 10:41:46 +0100 | [diff] [blame] | 227 | help |
| 228 | Utility to create EXT2 filesystems. |
| 229 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 230 | config MKFS_MINIX |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 231 | bool "mkfs_minix" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 232 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 233 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 234 | The minix filesystem is a nice, small, compact, read-write filesystem |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 235 | with little overhead. If you wish to be able to create minix |
| 236 | filesystems this utility will do the job for you. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 237 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 238 | config FEATURE_MINIX2 |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 239 | bool "Support Minix fs v2 (fsck_minix/mkfs_minix)" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 240 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 241 | depends on FSCK_MINIX || MKFS_MINIX |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 242 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 243 | If you wish to be able to create version 2 minix filesystems, enable |
| 244 | this. If you enabled 'mkfs_minix' then you almost certainly want to |
| 245 | be using the version 2 filesystem support. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 246 | |
Vladimir Dronnikov | 0d8ea64 | 2009-11-02 10:41:46 +0100 | [diff] [blame] | 247 | config MKFS_REISER |
| 248 | bool "mkfs_reiser" |
| 249 | default n |
| 250 | help |
| 251 | Utility to create ReiserFS filesystems. |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 252 | Note: this applet needs a lot of testing and polishing. |
Vladimir Dronnikov | 0d8ea64 | 2009-11-02 10:41:46 +0100 | [diff] [blame] | 253 | |
Denis Vlasenko | 9d04b6b | 2009-03-28 02:13:01 +0000 | [diff] [blame] | 254 | config MKFS_VFAT |
| 255 | bool "mkfs_vfat" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 256 | default y |
Denis Vlasenko | 9d04b6b | 2009-03-28 02:13:01 +0000 | [diff] [blame] | 257 | help |
| 258 | Utility to create FAT32 filesystems. |
| 259 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 260 | config GETOPT |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 261 | bool "getopt" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 262 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 263 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 264 | The getopt utility is used to break up (parse) options in command |
| 265 | lines to make it easy to write complex shell scripts that also check |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 266 | for legal (and illegal) options. If you want to write horribly |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 267 | complex shell scripts, or use some horribly complex shell script |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 268 | written by others, this utility may be for you. Most people will |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 269 | wisely leave this disabled. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 270 | |
Denys Vlasenko | f3b92d3 | 2009-06-19 12:10:38 +0200 | [diff] [blame] | 271 | config FEATURE_GETOPT_LONG |
| 272 | bool "Support option -l" |
| 273 | default y if LONG_OPTS |
Denys Vlasenko | b22bbff | 2009-07-04 16:50:43 +0200 | [diff] [blame] | 274 | depends on GETOPT |
Denys Vlasenko | f3b92d3 | 2009-06-19 12:10:38 +0200 | [diff] [blame] | 275 | help |
Denys Vlasenko | b22bbff | 2009-07-04 16:50:43 +0200 | [diff] [blame] | 276 | Enable support for long options (option -l). |
Denys Vlasenko | f3b92d3 | 2009-06-19 12:10:38 +0200 | [diff] [blame] | 277 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 278 | config HEXDUMP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 279 | bool "hexdump" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 280 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 281 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 282 | The hexdump utility is used to display binary data in a readable |
| 283 | way that is comparable to the output from most hex editors. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 284 | |
Denis Vlasenko | fbe5f39 | 2007-11-18 05:36:50 +0000 | [diff] [blame] | 285 | config FEATURE_HEXDUMP_REVERSE |
| 286 | bool "Support -R, reverse of 'hexdump -Cv'" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 287 | default y |
Denis Vlasenko | fbe5f39 | 2007-11-18 05:36:50 +0000 | [diff] [blame] | 288 | depends on HEXDUMP |
| 289 | help |
| 290 | The hexdump utility is used to display binary data in an ascii |
| 291 | readable way. This option creates binary data from an ascii input. |
| 292 | NB: this option is non-standard. It's unwise to use it in scripts |
| 293 | aimed to be portable. |
| 294 | |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 295 | config HD |
| 296 | bool "hd" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 297 | default y |
Denys Vlasenko | 161bb8f | 2010-06-06 05:07:11 +0200 | [diff] [blame] | 298 | depends on HEXDUMP |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 299 | help |
| 300 | hd is an alias to hexdump -C. |
| 301 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 302 | config HWCLOCK |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 303 | bool "hwclock" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 304 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 305 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 306 | The hwclock utility is used to read and set the hardware clock |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 307 | on a system. This is primarily used to set the current time on |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 308 | shutdown in the hardware clock, so the hardware will keep the |
| 309 | correct time when Linux is _not_ running. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 310 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 311 | config FEATURE_HWCLOCK_LONG_OPTIONS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 312 | bool "Support long options (--hctosys,...)" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 313 | default y |
Denys Vlasenko | f3b92d3 | 2009-06-19 12:10:38 +0200 | [diff] [blame] | 314 | depends on HWCLOCK && LONG_OPTS |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 315 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 316 | By default, the hwclock utility only uses short options. If you |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 317 | are overly fond of its long options, such as --hctosys, --utc, etc) |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 318 | then enable this option. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 319 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 320 | config FEATURE_HWCLOCK_ADJTIME_FHS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 321 | bool "Use FHS /var/lib/hwclock/adjtime" |
Mike Frysinger | 747fc5d | 2005-09-28 03:21:21 +0000 | [diff] [blame] | 322 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 323 | depends on HWCLOCK |
Mike Frysinger | 747fc5d | 2005-09-28 03:21:21 +0000 | [diff] [blame] | 324 | help |
| 325 | Starting with FHS 2.3, the adjtime state file is supposed to exist |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 326 | at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish |
Mike Frysinger | 747fc5d | 2005-09-28 03:21:21 +0000 | [diff] [blame] | 327 | to use the FHS behavior, answer Y here, otherwise answer N for the |
| 328 | classic /etc/adjtime path. |
| 329 | |
Bernhard Reutner-Fischer | e99a92d | 2008-07-22 18:32:06 +0000 | [diff] [blame] | 330 | pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO |
Mike Frysinger | 747fc5d | 2005-09-28 03:21:21 +0000 | [diff] [blame] | 331 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 332 | config IPCRM |
Rob Landley | 6eb1e41 | 2005-06-20 04:30:36 +0000 | [diff] [blame] | 333 | bool "ipcrm" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 334 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 335 | select FEATURE_SUID |
Rob Landley | 6eb1e41 | 2005-06-20 04:30:36 +0000 | [diff] [blame] | 336 | help |
| 337 | The ipcrm utility allows the removal of System V interprocess |
| 338 | communication (IPC) objects and the associated data structures |
| 339 | from the system. |
| 340 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 341 | config IPCS |
Rob Landley | 6eb1e41 | 2005-06-20 04:30:36 +0000 | [diff] [blame] | 342 | bool "ipcs" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 343 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 344 | select FEATURE_SUID |
Rob Landley | 6eb1e41 | 2005-06-20 04:30:36 +0000 | [diff] [blame] | 345 | help |
| 346 | The ipcs utility is used to provide information on the currently |
| 347 | allocated System V interprocess (IPC) objects in the system. |
| 348 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 349 | config LOSETUP |
Mike Frysinger | 75aa192 | 2005-09-24 23:12:38 +0000 | [diff] [blame] | 350 | bool "losetup" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 351 | default y |
Mike Frysinger | 75aa192 | 2005-09-24 23:12:38 +0000 | [diff] [blame] | 352 | help |
| 353 | losetup is used to associate or detach a loop device with a regular |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 354 | file or block device, and to query the status of a loop device. This |
Mike Frysinger | 75aa192 | 2005-09-24 23:12:38 +0000 | [diff] [blame] | 355 | version does not currently support enabling data encryption. |
| 356 | |
Souf Oued | 982bc71 | 2009-12-05 17:56:25 +0100 | [diff] [blame] | 357 | config LSPCI |
| 358 | bool "lspci" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 359 | default y |
Souf Oued | 982bc71 | 2009-12-05 17:56:25 +0100 | [diff] [blame] | 360 | help |
| 361 | lspci is a utility for displaying information about PCI buses in the |
| 362 | system and devices connected to them. |
| 363 | |
| 364 | This version uses sysfs (/sys/bus/pci/devices) only. |
| 365 | |
Souf Oued | 11a802a | 2009-12-07 01:37:34 +0100 | [diff] [blame] | 366 | config LSUSB |
| 367 | bool "lsusb" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 368 | default y |
Souf Oued | 11a802a | 2009-12-07 01:37:34 +0100 | [diff] [blame] | 369 | help |
| 370 | lsusb is a utility for displaying information about USB buses in the |
| 371 | system and devices connected to them. |
| 372 | |
| 373 | This version uses sysfs (/sys/bus/usb/devices) only. |
| 374 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 375 | config MDEV |
Rob Landley | 70f7ef7 | 2005-12-13 08:21:33 +0000 | [diff] [blame] | 376 | bool "mdev" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 377 | default y |
Rob Landley | 70f7ef7 | 2005-12-13 08:21:33 +0000 | [diff] [blame] | 378 | help |
Mike Frysinger | ae30210 | 2007-02-14 13:20:29 +0000 | [diff] [blame] | 379 | mdev is a mini-udev implementation for dynamically creating device |
| 380 | nodes in the /dev directory. |
| 381 | |
| 382 | For more information, please see docs/mdev.txt |
Rob Landley | 70f7ef7 | 2005-12-13 08:21:33 +0000 | [diff] [blame] | 383 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 384 | config FEATURE_MDEV_CONF |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 385 | bool "Support /etc/mdev.conf" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 386 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 387 | depends on MDEV |
Rob Landley | 70f7ef7 | 2005-12-13 08:21:33 +0000 | [diff] [blame] | 388 | help |
Mike Frysinger | ae30210 | 2007-02-14 13:20:29 +0000 | [diff] [blame] | 389 | Add support for the mdev config file to control ownership and |
| 390 | permissions of the device nodes. |
Rob Landley | 70f7ef7 | 2005-12-13 08:21:33 +0000 | [diff] [blame] | 391 | |
Mike Frysinger | ae30210 | 2007-02-14 13:20:29 +0000 | [diff] [blame] | 392 | For more information, please see docs/mdev.txt |
Rob Landley | 70f7ef7 | 2005-12-13 08:21:33 +0000 | [diff] [blame] | 393 | |
Mike Frysinger | f0044c4 | 2008-02-01 06:53:50 +0000 | [diff] [blame] | 394 | config FEATURE_MDEV_RENAME |
| 395 | bool "Support subdirs/symlinks" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 396 | default y |
Mike Frysinger | f0044c4 | 2008-02-01 06:53:50 +0000 | [diff] [blame] | 397 | depends on FEATURE_MDEV_CONF |
| 398 | help |
| 399 | Add support for renaming devices and creating symlinks. |
| 400 | |
| 401 | For more information, please see docs/mdev.txt |
| 402 | |
Denis Vlasenko | f2f3868 | 2008-03-29 17:26:10 +0000 | [diff] [blame] | 403 | config FEATURE_MDEV_RENAME_REGEXP |
| 404 | bool "Support regular expressions substitutions when renaming device" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 405 | default y |
Denis Vlasenko | f2f3868 | 2008-03-29 17:26:10 +0000 | [diff] [blame] | 406 | depends on FEATURE_MDEV_RENAME |
| 407 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 408 | Add support for regular expressions substitutions when renaming |
| 409 | device. |
Denis Vlasenko | f2f3868 | 2008-03-29 17:26:10 +0000 | [diff] [blame] | 410 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 411 | config FEATURE_MDEV_EXEC |
Rob Landley | ef10d52 | 2006-06-26 14:11:33 +0000 | [diff] [blame] | 412 | bool "Support command execution at device addition/removal" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 413 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 414 | depends on FEATURE_MDEV_CONF |
Rob Landley | ef10d52 | 2006-06-26 14:11:33 +0000 | [diff] [blame] | 415 | help |
Mike Frysinger | ae30210 | 2007-02-14 13:20:29 +0000 | [diff] [blame] | 416 | This adds support for an optional field to /etc/mdev.conf for |
| 417 | executing commands when devices are created/removed. |
Rob Landley | ef10d52 | 2006-06-26 14:11:33 +0000 | [diff] [blame] | 418 | |
Mike Frysinger | ae30210 | 2007-02-14 13:20:29 +0000 | [diff] [blame] | 419 | For more information, please see docs/mdev.txt |
Rob Landley | ef10d52 | 2006-06-26 14:11:33 +0000 | [diff] [blame] | 420 | |
Mike Frysinger | a78ef2c | 2007-06-13 07:34:15 +0000 | [diff] [blame] | 421 | config FEATURE_MDEV_LOAD_FIRMWARE |
| 422 | bool "Support loading of firmwares" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 423 | default y |
Mike Frysinger | a78ef2c | 2007-06-13 07:34:15 +0000 | [diff] [blame] | 424 | depends on MDEV |
| 425 | help |
| 426 | Some devices need to load firmware before they can be usable. |
| 427 | |
| 428 | These devices will request userspace look up the files in |
| 429 | /lib/firmware/ and if it exists, send it to the kernel for |
| 430 | loading into the hardware. |
| 431 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 432 | config MKSWAP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 433 | bool "mkswap" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 434 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 435 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 436 | The mkswap utility is used to configure a file or disk partition as |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 437 | Linux swap space. This allows Linux to use the entire file or |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 438 | partition as if it were additional RAM, which can greatly increase |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 439 | the capability of low-memory machines. This additional memory is |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 440 | much slower than real RAM, but can be very helpful at preventing your |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 441 | applications being killed by the Linux out of memory (OOM) killer. |
| 442 | Once you have created swap space using 'mkswap' you need to enable |
| 443 | the swap space using the 'swapon' utility. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 444 | |
Denys Vlasenko | beca96f | 2009-06-19 13:14:48 +0200 | [diff] [blame] | 445 | config FEATURE_MKSWAP_UUID |
| 446 | bool "UUID support" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 447 | default y |
Denys Vlasenko | beca96f | 2009-06-19 13:14:48 +0200 | [diff] [blame] | 448 | depends on MKSWAP |
| 449 | help |
| 450 | Generate swap spaces with universally unique identifiers. |
| 451 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 452 | config MORE |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 453 | bool "more" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 454 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 455 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 456 | more is a simple utility which allows you to read text one screen |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 457 | sized page at a time. If you want to read text that is larger than |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 458 | the screen, and you are using anything faster than a 300 baud modem, |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 459 | you will probably find this utility very helpful. If you don't have |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 460 | any need to reading text files, you can leave this disabled. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 461 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 462 | config FEATURE_USE_TERMIOS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 463 | bool "Use termios to manipulate the screen" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 464 | default y |
Paul Fox | 9e1f92d | 2008-03-20 16:04:36 +0000 | [diff] [blame] | 465 | depends on MORE || TOP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 466 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 467 | This option allows utilities such as 'more' and 'top' to determine |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 468 | the size of the screen. If you leave this disabled, your utilities |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 469 | that display things on the screen will be especially primitive and |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 470 | will be unable to determine the current screen size, and will be |
| 471 | unable to move the cursor. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 472 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 473 | config MOUNT |
Mike Frysinger | 5509228 | 2006-02-02 23:14:57 +0000 | [diff] [blame] | 474 | bool "mount" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 475 | default y |
Mike Frysinger | 5509228 | 2006-02-02 23:14:57 +0000 | [diff] [blame] | 476 | help |
| 477 | All files and filesystems in Unix are arranged into one big directory |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 478 | tree. The 'mount' utility is used to graft a filesystem onto a |
| 479 | particular part of the tree. A filesystem can either live on a block |
Mike Frysinger | 5509228 | 2006-02-02 23:14:57 +0000 | [diff] [blame] | 480 | device, or it can be accessible over the network, as is the case with |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 481 | NFS filesystems. Most people using BusyBox will also want to enable |
Mike Frysinger | 5509228 | 2006-02-02 23:14:57 +0000 | [diff] [blame] | 482 | the 'mount' utility. |
| 483 | |
Denis Vlasenko | b1d8e7d | 2008-02-16 23:28:42 +0000 | [diff] [blame] | 484 | config FEATURE_MOUNT_FAKE |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 485 | bool "Support option -f" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 486 | default y |
Denis Vlasenko | b1d8e7d | 2008-02-16 23:28:42 +0000 | [diff] [blame] | 487 | depends on MOUNT |
| 488 | help |
| 489 | Enable support for faking a file system mount. |
| 490 | |
Denis Vlasenko | f732e96 | 2008-02-18 12:07:49 +0000 | [diff] [blame] | 491 | config FEATURE_MOUNT_VERBOSE |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 492 | bool "Support option -v" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 493 | default y |
Denis Vlasenko | f732e96 | 2008-02-18 12:07:49 +0000 | [diff] [blame] | 494 | depends on MOUNT |
| 495 | help |
| 496 | Enable multi-level -v[vv...] verbose messages. Useful if you |
| 497 | debug mount problems and want to see what is exactly passed |
| 498 | to the kernel. |
| 499 | |
Denis Vlasenko | 2535f12 | 2007-09-15 13:28:30 +0000 | [diff] [blame] | 500 | config FEATURE_MOUNT_HELPERS |
| 501 | bool "Support mount helpers" |
| 502 | default n |
| 503 | depends on MOUNT |
| 504 | help |
| 505 | Enable mounting of virtual file systems via external helpers. |
Denis Vlasenko | 32d49bc | 2008-02-03 23:52:41 +0000 | [diff] [blame] | 506 | E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call |
| 507 | "obexfs -b00.11.22.33.44.55 /mnt" |
| 508 | Also "mount -t sometype [-o opts] fs /mnt" will try |
| 509 | "sometype [-o opts] fs /mnt" if simple mount syscall fails. |
| 510 | The idea is to use such virtual filesystems in /etc/fstab. |
Denis Vlasenko | 2535f12 | 2007-09-15 13:28:30 +0000 | [diff] [blame] | 511 | |
Denis Vlasenko | de7684a | 2008-02-18 21:08:49 +0000 | [diff] [blame] | 512 | config FEATURE_MOUNT_LABEL |
Dan Fandrich | eafc695 | 2010-06-17 23:30:27 -0700 | [diff] [blame] | 513 | bool "Support specifying devices by label or UUID" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 514 | default y |
Denis Vlasenko | de7684a | 2008-02-18 21:08:49 +0000 | [diff] [blame] | 515 | depends on MOUNT |
Denis Vlasenko | 4824cca | 2008-03-21 18:29:01 +0000 | [diff] [blame] | 516 | select VOLUMEID |
Denis Vlasenko | de7684a | 2008-02-18 21:08:49 +0000 | [diff] [blame] | 517 | help |
| 518 | This allows for specifying a device by label or uuid, rather than by |
Denis Vlasenko | 1e19afd | 2008-10-12 11:20:08 +0000 | [diff] [blame] | 519 | name. This feature utilizes the same functionality as blkid/findfs. |
Natanael Copa | 9aff299 | 2009-09-20 04:28:22 +0200 | [diff] [blame] | 520 | This also enables label or uuid support for swapon. |
Denis Vlasenko | de7684a | 2008-02-18 21:08:49 +0000 | [diff] [blame] | 521 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 522 | config FEATURE_MOUNT_NFS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 523 | bool "Support mounting NFS file systems" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 524 | default y |
Denis Vlasenko | a7825f2 | 2007-06-16 13:56:51 +0000 | [diff] [blame] | 525 | depends on MOUNT |
| 526 | select FEATURE_HAVE_RPC |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 527 | select FEATURE_SYSLOG |
Mike Frysinger | 5509228 | 2006-02-02 23:14:57 +0000 | [diff] [blame] | 528 | help |
Rob Landley | e3781b7 | 2006-08-08 01:39:49 +0000 | [diff] [blame] | 529 | Enable mounting of NFS file systems. |
| 530 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 531 | config FEATURE_MOUNT_CIFS |
Rob Landley | 89d9d4d | 2006-09-01 08:10:44 +0000 | [diff] [blame] | 532 | bool "Support mounting CIFS/SMB file systems" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 533 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 534 | depends on MOUNT |
Rob Landley | 89d9d4d | 2006-09-01 08:10:44 +0000 | [diff] [blame] | 535 | help |
| 536 | Enable support for samba mounts. |
Denis Vlasenko | 39e93cc | 2006-09-10 18:38:17 +0000 | [diff] [blame] | 537 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 538 | config FEATURE_MOUNT_FLAGS |
| 539 | depends on MOUNT |
Denis Vlasenko | 39e93cc | 2006-09-10 18:38:17 +0000 | [diff] [blame] | 540 | bool "Support lots of -o flags in mount" |
Rob Landley | e3781b7 | 2006-08-08 01:39:49 +0000 | [diff] [blame] | 541 | default y |
| 542 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 543 | Without this, mount only supports ro/rw/remount. With this, it |
Rob Landley | e3781b7 | 2006-08-08 01:39:49 +0000 | [diff] [blame] | 544 | supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime, |
| 545 | noatime, diratime, nodiratime, loud, bind, move, shared, slave, |
| 546 | private, unbindable, rshared, rslave, rprivate, and runbindable. |
| 547 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 548 | config FEATURE_MOUNT_FSTAB |
| 549 | depends on MOUNT |
Rob Landley | e3781b7 | 2006-08-08 01:39:49 +0000 | [diff] [blame] | 550 | bool "Support /etc/fstab and -a" |
| 551 | default y |
| 552 | help |
| 553 | Support mount all and looking for files in /etc/fstab. |
Mike Frysinger | 5509228 | 2006-02-02 23:14:57 +0000 | [diff] [blame] | 554 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 555 | config PIVOT_ROOT |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 556 | bool "pivot_root" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 557 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 558 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 559 | The pivot_root utility swaps the mount points for the root filesystem |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 560 | with some other mounted filesystem. This allows you to do all sorts |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 561 | of wild and crazy things with your Linux system and is far more |
| 562 | powerful than 'chroot'. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 563 | |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 564 | Note: This is for initrd in linux 2.4. Under initramfs (introduced |
Rob Landley | 0f34a82 | 2005-10-27 22:55:50 +0000 | [diff] [blame] | 565 | in linux 2.6) use switch_root instead. |
| 566 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 567 | config RDATE |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 568 | bool "rdate" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 569 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 570 | help |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 571 | The rdate utility allows you to synchronize the date and time of your |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 572 | system clock with the date and time of a remote networked system using |
| 573 | the RFC868 protocol, which is built into the inetd daemon on most |
| 574 | systems. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 575 | |
Bernhard Reutner-Fischer | c77e843 | 2008-08-19 11:28:52 +0000 | [diff] [blame] | 576 | config RDEV |
Denys Vlasenko | 345e093 | 2010-03-31 16:03:56 +0200 | [diff] [blame] | 577 | bool "rdev" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 578 | default y |
Denys Vlasenko | 345e093 | 2010-03-31 16:03:56 +0200 | [diff] [blame] | 579 | help |
Bernhard Reutner-Fischer | c77e843 | 2008-08-19 11:28:52 +0000 | [diff] [blame] | 580 | Print the device node associated with the filesystem mounted at '/'. |
| 581 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 582 | config READPROFILE |
Mike Frysinger | 75aa192 | 2005-09-24 23:12:38 +0000 | [diff] [blame] | 583 | bool "readprofile" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 584 | default y |
Mike Frysinger | 75aa192 | 2005-09-24 23:12:38 +0000 | [diff] [blame] | 585 | help |
| 586 | This allows you to parse /proc/profile for basic profiling. |
| 587 | |
Mike Frysinger | 6b160e4 | 2008-02-15 02:27:19 +0000 | [diff] [blame] | 588 | config RTCWAKE |
| 589 | bool "rtcwake" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 590 | default y |
Mike Frysinger | 6b160e4 | 2008-02-15 02:27:19 +0000 | [diff] [blame] | 591 | help |
| 592 | Enter a system sleep state until specified wakeup time. |
| 593 | |
Denis Vlasenko | 376003b | 2008-04-21 05:05:17 +0000 | [diff] [blame] | 594 | config SCRIPT |
| 595 | bool "script" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 596 | default y |
Denis Vlasenko | 376003b | 2008-04-21 05:05:17 +0000 | [diff] [blame] | 597 | help |
| 598 | The script makes typescript of terminal session. |
| 599 | |
Denys Vlasenko | 5e61115 | 2009-05-19 17:36:16 +0200 | [diff] [blame] | 600 | config SCRIPTREPLAY |
| 601 | bool "scriptreplay" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 602 | default y |
Denys Vlasenko | 5e61115 | 2009-05-19 17:36:16 +0200 | [diff] [blame] | 603 | help |
| 604 | This program replays a typescript, using timing information |
| 605 | given by script -t. |
| 606 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 607 | config SETARCH |
Mike Frysinger | 0a6b0bf | 2006-02-21 04:26:52 +0000 | [diff] [blame] | 608 | bool "setarch" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 609 | default y |
Mike Frysinger | 0a6b0bf | 2006-02-21 04:26:52 +0000 | [diff] [blame] | 610 | help |
| 611 | The linux32 utility is used to create a 32bit environment for the |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 612 | specified program (usually a shell). It only makes sense to have |
Mike Frysinger | 0a6b0bf | 2006-02-21 04:26:52 +0000 | [diff] [blame] | 613 | this util on a system that supports both 64bit and 32bit userland |
| 614 | (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...). |
| 615 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 616 | config SWAPONOFF |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 617 | bool "swaponoff" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 618 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 619 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 620 | This option enables both the 'swapon' and the 'swapoff' utilities. |
| 621 | Once you have created some swap space using 'mkswap', you also need |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 622 | to enable your swap space with the 'swapon' utility. The 'swapoff' |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 623 | utility is used, typically at system shutdown, to disable any swap |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 624 | space. If you are not using any swap space, you can leave this |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 625 | option disabled. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 626 | |
Denis Vlasenko | ee56e01 | 2008-05-18 23:05:34 +0000 | [diff] [blame] | 627 | config FEATURE_SWAPON_PRI |
Bernhard Reutner-Fischer | 3576bed | 2008-05-19 08:25:23 +0000 | [diff] [blame] | 628 | bool "Support priority option -p" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 629 | default y |
Denis Vlasenko | ee56e01 | 2008-05-18 23:05:34 +0000 | [diff] [blame] | 630 | depends on SWAPONOFF |
| 631 | help |
| 632 | Enable support for setting swap device priority in swapon. |
| 633 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 634 | config SWITCH_ROOT |
Mike Frysinger | 5509228 | 2006-02-02 23:14:57 +0000 | [diff] [blame] | 635 | bool "switch_root" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 636 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 637 | help |
Mike Frysinger | 5509228 | 2006-02-02 23:14:57 +0000 | [diff] [blame] | 638 | The switch_root utility is used from initramfs to select a new |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 639 | root device. Under initramfs, you have to use this instead of |
| 640 | pivot_root. (Stop reading here if you don't care why.) |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 641 | |
Mike Frysinger | 5509228 | 2006-02-02 23:14:57 +0000 | [diff] [blame] | 642 | Booting with initramfs extracts a gzipped cpio archive into rootfs |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 643 | (which is a variant of ramfs/tmpfs). Because rootfs can't be moved |
| 644 | or unmounted*, pivot_root will not work from initramfs. Instead, |
Mike Frysinger | 5509228 | 2006-02-02 23:14:57 +0000 | [diff] [blame] | 645 | switch_root deletes everything out of rootfs (including itself), |
| 646 | does a mount --move that overmounts rootfs with the new root, and |
| 647 | then execs the specified init program. |
| 648 | |
| 649 | * Because the Linux kernel uses rootfs internally as the starting |
| 650 | and ending point for searching through the kernel's doubly linked |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 651 | list of active mount points. That's why. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 652 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 653 | config UMOUNT |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 654 | bool "umount" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 655 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 656 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 657 | When you want to remove a mounted filesystem from its current mount |
| 658 | point, for example when you are shutting down the system, the |
| 659 | 'umount' utility is the tool to use. If you enabled the 'mount' |
| 660 | utility, you almost certainly also want to enable 'umount'. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 661 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 662 | config FEATURE_UMOUNT_ALL |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 663 | bool "Support option -a" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 664 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 665 | depends on UMOUNT |
Rob Landley | cc6d8d3 | 2006-02-08 20:06:57 +0000 | [diff] [blame] | 666 | help |
| 667 | Support -a option to unmount all currently mounted filesystems. |
| 668 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 669 | comment "Common options for mount/umount" |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 670 | depends on MOUNT || UMOUNT |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 671 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 672 | config FEATURE_MOUNT_LOOP |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 673 | bool "Support loopback mounts" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 674 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 675 | depends on MOUNT || UMOUNT |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 676 | help |
Rob Landley | 6a6798b | 2005-08-10 20:35:54 +0000 | [diff] [blame] | 677 | Enabling this feature allows automatic mounting of files (containing |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 678 | filesystem images) via the linux kernel's loopback devices. |
| 679 | The mount command will detect you are trying to mount a file instead |
| 680 | of a block device, and transparently associate the file with a |
| 681 | loopback device. The umount command will also free that loopback |
| 682 | device. |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 683 | |
Rob Landley | 6a6798b | 2005-08-10 20:35:54 +0000 | [diff] [blame] | 684 | You can still use the 'losetup' utility (to manually associate files |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 685 | with loop devices) if you need to do something advanced, such as |
Rob Landley | 6a6798b | 2005-08-10 20:35:54 +0000 | [diff] [blame] | 686 | specify an offset or cryptographic options to the loopback device. |
| 687 | (If you don't want umount to free the loop device, use "umount -D".) |
Paul Fox | 3f6f317 | 2005-07-19 20:55:37 +0000 | [diff] [blame] | 688 | |
Lauri Kasanen | 375a8ef | 2010-04-14 12:31:26 -0700 | [diff] [blame] | 689 | config FEATURE_MOUNT_LOOP_CREATE |
| 690 | bool "Create new loopback devices if needed" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 691 | default y |
Lauri Kasanen | 375a8ef | 2010-04-14 12:31:26 -0700 | [diff] [blame] | 692 | depends on FEATURE_MOUNT_LOOP |
| 693 | help |
| 694 | Linux kernels >= 2.6.24 support unlimited loopback devices. They are |
| 695 | allocated for use when trying to use a loop device. The loop device |
| 696 | must however exist. |
| 697 | |
| 698 | This feature lets mount to try to create next /dev/loopN device |
| 699 | if it does not find a free one. |
| 700 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 701 | config FEATURE_MTAB_SUPPORT |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 702 | bool "Support for the old /etc/mtab file" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 703 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 704 | depends on MOUNT || UMOUNT |
Denis Vlasenko | b1d8e7d | 2008-02-16 23:28:42 +0000 | [diff] [blame] | 705 | select FEATURE_MOUNT_FAKE |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 706 | help |
Rob Landley | 6a6798b | 2005-08-10 20:35:54 +0000 | [diff] [blame] | 707 | Historically, Unix systems kept track of the currently mounted |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 708 | partitions in the file "/etc/mtab". These days, the kernel exports |
Rob Landley | 6a6798b | 2005-08-10 20:35:54 +0000 | [diff] [blame] | 709 | the list of currently mounted partitions in "/proc/mounts", rendering |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 710 | the old mtab file obsolete. (In modern systems, /etc/mtab should be |
Rob Landley | 6a6798b | 2005-08-10 20:35:54 +0000 | [diff] [blame] | 711 | a symlink to /proc/mounts.) |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 712 | |
Rob Landley | 6a6798b | 2005-08-10 20:35:54 +0000 | [diff] [blame] | 713 | The only reason to have mount maintain an /etc/mtab file itself is if |
| 714 | your stripped-down embedded system does not have a /proc directory. |
| 715 | If you must use this, keep in mind it's inherently brittle (for |
| 716 | example a mount under chroot won't update it), can't handle modern |
| 717 | features like separate per-process filesystem namespaces, requires |
Dan Fandrich | eafc695 | 2010-06-17 23:30:27 -0700 | [diff] [blame] | 718 | that your /etc directory be writable, tends to get easily confused |
Rob Landley | 17507fa | 2006-05-08 02:22:24 +0000 | [diff] [blame] | 719 | by --bind or --move mounts, won't update if you rename a directory |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 720 | that contains a mount point, and so on. (In brief: avoid.) |
Rob Landley | 17507fa | 2006-05-08 02:22:24 +0000 | [diff] [blame] | 721 | |
| 722 | About the only reason to use this is if you've removed /proc from |
| 723 | your kernel. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 724 | |
Denys Vlasenko | 0e45066 | 2010-07-14 07:10:47 +0200 | [diff] [blame^] | 725 | config VOLUMEID |
| 726 | bool #No description makes it a hidden option |
| 727 | default n |
| 728 | |
| 729 | menu "Filesystem/Volume identification" |
| 730 | depends on VOLUMEID |
| 731 | |
| 732 | config FEATURE_VOLUMEID_EXT |
| 733 | bool "Ext filesystem" |
| 734 | default y |
| 735 | depends on VOLUMEID |
| 736 | help |
| 737 | TODO |
| 738 | |
| 739 | config FEATURE_VOLUMEID_BTRFS |
| 740 | bool "btrfs filesystem" |
| 741 | default y |
| 742 | depends on VOLUMEID |
| 743 | help |
| 744 | TODO |
| 745 | |
| 746 | config FEATURE_VOLUMEID_REISERFS |
| 747 | bool "Reiser filesystem" |
| 748 | default y |
| 749 | depends on VOLUMEID |
| 750 | help |
| 751 | TODO |
| 752 | |
| 753 | config FEATURE_VOLUMEID_FAT |
| 754 | bool "fat filesystem" |
| 755 | default y |
| 756 | depends on VOLUMEID |
| 757 | help |
| 758 | TODO |
| 759 | |
| 760 | config FEATURE_VOLUMEID_HFS |
| 761 | bool "hfs filesystem" |
| 762 | default y |
| 763 | depends on VOLUMEID |
| 764 | help |
| 765 | TODO |
| 766 | |
| 767 | config FEATURE_VOLUMEID_JFS |
| 768 | bool "jfs filesystem" |
| 769 | default y |
| 770 | depends on VOLUMEID |
| 771 | help |
| 772 | TODO |
| 773 | |
| 774 | ### config FEATURE_VOLUMEID_UFS |
| 775 | ### bool "ufs filesystem" |
| 776 | ### default y |
| 777 | ### depends on VOLUMEID |
| 778 | ### help |
| 779 | ### TODO |
| 780 | |
| 781 | config FEATURE_VOLUMEID_XFS |
| 782 | bool "xfs filesystem" |
| 783 | default y |
| 784 | depends on VOLUMEID |
| 785 | help |
| 786 | TODO |
| 787 | |
| 788 | config FEATURE_VOLUMEID_NTFS |
| 789 | bool "ntfs filesystem" |
| 790 | default y |
| 791 | depends on VOLUMEID |
| 792 | help |
| 793 | TODO |
| 794 | |
| 795 | config FEATURE_VOLUMEID_ISO9660 |
| 796 | bool "iso9660 filesystem" |
| 797 | default y |
| 798 | depends on VOLUMEID |
| 799 | help |
| 800 | TODO |
| 801 | |
| 802 | config FEATURE_VOLUMEID_UDF |
| 803 | bool "udf filesystem" |
| 804 | default y |
| 805 | depends on VOLUMEID |
| 806 | help |
| 807 | TODO |
| 808 | |
| 809 | config FEATURE_VOLUMEID_LUKS |
| 810 | bool "luks filesystem" |
| 811 | default y |
| 812 | depends on VOLUMEID |
| 813 | help |
| 814 | TODO |
| 815 | |
| 816 | config FEATURE_VOLUMEID_LINUXSWAP |
| 817 | bool "linux swap filesystem" |
| 818 | default y |
| 819 | depends on VOLUMEID |
| 820 | help |
| 821 | TODO |
| 822 | |
| 823 | ### config FEATURE_VOLUMEID_LVM |
| 824 | ### bool "lvm" |
| 825 | ### default y |
| 826 | ### depends on VOLUMEID |
| 827 | ### help |
| 828 | ### TODO |
| 829 | |
| 830 | config FEATURE_VOLUMEID_CRAMFS |
| 831 | bool "cramfs filesystem" |
| 832 | default y |
| 833 | depends on VOLUMEID |
| 834 | help |
| 835 | TODO |
| 836 | |
| 837 | ### config FEATURE_VOLUMEID_HPFS |
| 838 | ### bool "hpfs filesystem" |
| 839 | ### default y |
| 840 | ### depends on VOLUMEID |
| 841 | ### help |
| 842 | ### TODO |
| 843 | |
| 844 | config FEATURE_VOLUMEID_ROMFS |
| 845 | bool "romfs filesystem" |
| 846 | default y |
| 847 | depends on VOLUMEID |
| 848 | help |
| 849 | TODO |
| 850 | |
| 851 | config FEATURE_VOLUMEID_SYSV |
| 852 | bool "sysv filesystem" |
| 853 | default y |
| 854 | depends on VOLUMEID |
| 855 | help |
| 856 | TODO |
| 857 | |
| 858 | ### config FEATURE_VOLUMEID_MINIX |
| 859 | ### bool "minix filesystem" |
| 860 | ### default y |
| 861 | ### depends on VOLUMEID |
| 862 | ### help |
| 863 | ### TODO |
| 864 | |
| 865 | ### These only detect partition tables - not used (yet?) |
| 866 | ### config FEATURE_VOLUMEID_MAC |
| 867 | ### bool "mac filesystem" |
| 868 | ### default y |
| 869 | ### depends on VOLUMEID |
| 870 | ### help |
| 871 | ### TODO |
| 872 | ### |
| 873 | ### config FEATURE_VOLUMEID_MSDOS |
| 874 | ### bool "msdos filesystem" |
| 875 | ### default y |
| 876 | ### depends on VOLUMEID |
| 877 | ### help |
| 878 | ### TODO |
| 879 | |
| 880 | config FEATURE_VOLUMEID_OCFS2 |
| 881 | bool "ocfs2 filesystem" |
| 882 | default y |
| 883 | depends on VOLUMEID |
| 884 | help |
| 885 | TODO |
| 886 | |
| 887 | ### config FEATURE_VOLUMEID_HIGHPOINTRAID |
| 888 | ### bool "highpoint raid" |
| 889 | ### default y |
| 890 | ### depends on VOLUMEID |
| 891 | ### help |
| 892 | ### TODO |
| 893 | |
| 894 | ### config FEATURE_VOLUMEID_ISWRAID |
| 895 | ### bool "intel raid" |
| 896 | ### default y |
| 897 | ### depends on VOLUMEID |
| 898 | ### help |
| 899 | ### TODO |
| 900 | |
| 901 | ### config FEATURE_VOLUMEID_LSIRAID |
| 902 | ### bool "lsi raid" |
| 903 | ### default y |
| 904 | ### depends on VOLUMEID |
| 905 | ### help |
| 906 | ### TODO |
| 907 | |
| 908 | ### config FEATURE_VOLUMEID_VIARAID |
| 909 | ### bool "via raid" |
| 910 | ### default y |
| 911 | ### depends on VOLUMEID |
| 912 | ### help |
| 913 | ### TODO |
| 914 | |
| 915 | ### config FEATURE_VOLUMEID_SILICONRAID |
| 916 | ### bool "silicon raid" |
| 917 | ### default y |
| 918 | ### depends on VOLUMEID |
| 919 | ### help |
| 920 | ### TODO |
| 921 | |
| 922 | ### config FEATURE_VOLUMEID_NVIDIARAID |
| 923 | ### bool "nvidia raid" |
| 924 | ### default y |
| 925 | ### depends on VOLUMEID |
| 926 | ### help |
| 927 | ### TODO |
| 928 | |
| 929 | ### config FEATURE_VOLUMEID_PROMISERAID |
| 930 | ### bool "promise raid" |
| 931 | ### default y |
| 932 | ### depends on VOLUMEID |
| 933 | ### help |
| 934 | ### TODO |
| 935 | |
| 936 | config FEATURE_VOLUMEID_LINUXRAID |
| 937 | bool "linuxraid" |
| 938 | default y |
| 939 | depends on VOLUMEID |
| 940 | help |
| 941 | TODO |
| 942 | |
| 943 | endmenu |
| 944 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 945 | endmenu |