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