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 PIVOT_ROOT |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 438 | bool "pivot_root" |
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 |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 441 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 442 | 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] | 443 | with some other mounted filesystem. This allows you to do all sorts |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 444 | of wild and crazy things with your Linux system and is far more |
| 445 | powerful than 'chroot'. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 446 | |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 447 | Note: This is for initrd in linux 2.4. Under initramfs (introduced |
Rob Landley | 0f34a82 | 2005-10-27 22:55:50 +0000 | [diff] [blame] | 448 | in linux 2.6) use switch_root instead. |
| 449 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 450 | config RDATE |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 451 | bool "rdate" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 452 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 453 | help |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 454 | 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] | 455 | system clock with the date and time of a remote networked system using |
| 456 | the RFC868 protocol, which is built into the inetd daemon on most |
| 457 | systems. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 458 | |
Bernhard Reutner-Fischer | c77e843 | 2008-08-19 11:28:52 +0000 | [diff] [blame] | 459 | config RDEV |
Denys Vlasenko | 345e093 | 2010-03-31 16:03:56 +0200 | [diff] [blame] | 460 | bool "rdev" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 461 | default y |
Denys Vlasenko | 345e093 | 2010-03-31 16:03:56 +0200 | [diff] [blame] | 462 | help |
Bernhard Reutner-Fischer | c77e843 | 2008-08-19 11:28:52 +0000 | [diff] [blame] | 463 | Print the device node associated with the filesystem mounted at '/'. |
| 464 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 465 | config READPROFILE |
Mike Frysinger | 75aa192 | 2005-09-24 23:12:38 +0000 | [diff] [blame] | 466 | bool "readprofile" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 467 | default y |
Denys Vlasenko | e3b1a1f | 2011-02-26 22:24:08 +0100 | [diff] [blame] | 468 | #select PLATFORM_LINUX |
Mike Frysinger | 75aa192 | 2005-09-24 23:12:38 +0000 | [diff] [blame] | 469 | help |
| 470 | This allows you to parse /proc/profile for basic profiling. |
| 471 | |
Mike Frysinger | 6b160e4 | 2008-02-15 02:27:19 +0000 | [diff] [blame] | 472 | config RTCWAKE |
| 473 | bool "rtcwake" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 474 | default y |
Denys Vlasenko | e3b1a1f | 2011-02-26 22:24:08 +0100 | [diff] [blame] | 475 | select PLATFORM_LINUX |
Mike Frysinger | 6b160e4 | 2008-02-15 02:27:19 +0000 | [diff] [blame] | 476 | help |
| 477 | Enter a system sleep state until specified wakeup time. |
| 478 | |
Denis Vlasenko | 376003b | 2008-04-21 05:05:17 +0000 | [diff] [blame] | 479 | config SCRIPT |
| 480 | bool "script" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 481 | default y |
Denis Vlasenko | 376003b | 2008-04-21 05:05:17 +0000 | [diff] [blame] | 482 | help |
| 483 | The script makes typescript of terminal session. |
| 484 | |
Denys Vlasenko | 5e61115 | 2009-05-19 17:36:16 +0200 | [diff] [blame] | 485 | config SCRIPTREPLAY |
| 486 | bool "scriptreplay" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 487 | default y |
Denys Vlasenko | 5e61115 | 2009-05-19 17:36:16 +0200 | [diff] [blame] | 488 | help |
| 489 | This program replays a typescript, using timing information |
| 490 | given by script -t. |
| 491 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 492 | config SETARCH |
Mike Frysinger | 0a6b0bf | 2006-02-21 04:26:52 +0000 | [diff] [blame] | 493 | bool "setarch" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 494 | default y |
Denys Vlasenko | e3b1a1f | 2011-02-26 22:24:08 +0100 | [diff] [blame] | 495 | select PLATFORM_LINUX |
Mike Frysinger | 0a6b0bf | 2006-02-21 04:26:52 +0000 | [diff] [blame] | 496 | help |
| 497 | 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] | 498 | specified program (usually a shell). It only makes sense to have |
Mike Frysinger | 0a6b0bf | 2006-02-21 04:26:52 +0000 | [diff] [blame] | 499 | this util on a system that supports both 64bit and 32bit userland |
| 500 | (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...). |
| 501 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 502 | config SWAPONOFF |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 503 | bool "swaponoff" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 504 | default y |
Denys Vlasenko | e3b1a1f | 2011-02-26 22:24:08 +0100 | [diff] [blame] | 505 | select PLATFORM_LINUX |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 506 | help |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 507 | This option enables both the 'swapon' and the 'swapoff' utilities. |
| 508 | Once you have created some swap space using 'mkswap', you also need |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 509 | to enable your swap space with the 'swapon' utility. The 'swapoff' |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 510 | utility is used, typically at system shutdown, to disable any swap |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 511 | 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] | 512 | option disabled. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 513 | |
Matt Whitlock | 0a53b20 | 2014-03-22 19:21:01 -0400 | [diff] [blame] | 514 | config FEATURE_SWAPON_DISCARD |
| 515 | bool "Support discard option -d" |
| 516 | default y |
| 517 | depends on SWAPONOFF |
| 518 | help |
| 519 | Enable support for discarding swap area blocks at swapon and/or as |
| 520 | the kernel frees them. This option enables both the -d option on |
| 521 | 'swapon' and the 'discard' option for swap entries in /etc/fstab. |
| 522 | |
Denis Vlasenko | ee56e01 | 2008-05-18 23:05:34 +0000 | [diff] [blame] | 523 | config FEATURE_SWAPON_PRI |
Bernhard Reutner-Fischer | 3576bed | 2008-05-19 08:25:23 +0000 | [diff] [blame] | 524 | bool "Support priority option -p" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 525 | default y |
Denis Vlasenko | ee56e01 | 2008-05-18 23:05:34 +0000 | [diff] [blame] | 526 | depends on SWAPONOFF |
| 527 | help |
| 528 | Enable support for setting swap device priority in swapon. |
| 529 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 530 | config SWITCH_ROOT |
Mike Frysinger | 5509228 | 2006-02-02 23:14:57 +0000 | [diff] [blame] | 531 | bool "switch_root" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 532 | default y |
Denys Vlasenko | e3b1a1f | 2011-02-26 22:24:08 +0100 | [diff] [blame] | 533 | select PLATFORM_LINUX |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 534 | help |
Mike Frysinger | 5509228 | 2006-02-02 23:14:57 +0000 | [diff] [blame] | 535 | 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] | 536 | root device. Under initramfs, you have to use this instead of |
| 537 | pivot_root. (Stop reading here if you don't care why.) |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 538 | |
Mike Frysinger | 5509228 | 2006-02-02 23:14:57 +0000 | [diff] [blame] | 539 | Booting with initramfs extracts a gzipped cpio archive into rootfs |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 540 | (which is a variant of ramfs/tmpfs). Because rootfs can't be moved |
| 541 | or unmounted*, pivot_root will not work from initramfs. Instead, |
Mike Frysinger | 5509228 | 2006-02-02 23:14:57 +0000 | [diff] [blame] | 542 | switch_root deletes everything out of rootfs (including itself), |
| 543 | does a mount --move that overmounts rootfs with the new root, and |
| 544 | then execs the specified init program. |
| 545 | |
| 546 | * Because the Linux kernel uses rootfs internally as the starting |
| 547 | and ending point for searching through the kernel's doubly linked |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 548 | list of active mount points. That's why. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 549 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 550 | config UMOUNT |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 551 | bool "umount" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 552 | default y |
Denys Vlasenko | e3b1a1f | 2011-02-26 22:24:08 +0100 | [diff] [blame] | 553 | select PLATFORM_LINUX |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 554 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 555 | When you want to remove a mounted filesystem from its current mount |
| 556 | point, for example when you are shutting down the system, the |
| 557 | 'umount' utility is the tool to use. If you enabled the 'mount' |
| 558 | utility, you almost certainly also want to enable 'umount'. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 559 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 560 | config FEATURE_UMOUNT_ALL |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 561 | bool "Support option -a" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 562 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 563 | depends on UMOUNT |
Rob Landley | cc6d8d3 | 2006-02-08 20:06:57 +0000 | [diff] [blame] | 564 | help |
| 565 | Support -a option to unmount all currently mounted filesystems. |
| 566 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 567 | comment "Common options for mount/umount" |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 568 | depends on MOUNT || UMOUNT |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 569 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 570 | config FEATURE_MOUNT_LOOP |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 571 | bool "Support loopback mounts" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 572 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 573 | depends on MOUNT || UMOUNT |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 574 | help |
Rob Landley | 6a6798b | 2005-08-10 20:35:54 +0000 | [diff] [blame] | 575 | Enabling this feature allows automatic mounting of files (containing |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 576 | filesystem images) via the linux kernel's loopback devices. |
| 577 | The mount command will detect you are trying to mount a file instead |
| 578 | of a block device, and transparently associate the file with a |
| 579 | loopback device. The umount command will also free that loopback |
| 580 | device. |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 581 | |
Rob Landley | 6a6798b | 2005-08-10 20:35:54 +0000 | [diff] [blame] | 582 | You can still use the 'losetup' utility (to manually associate files |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 583 | with loop devices) if you need to do something advanced, such as |
Rob Landley | 6a6798b | 2005-08-10 20:35:54 +0000 | [diff] [blame] | 584 | specify an offset or cryptographic options to the loopback device. |
| 585 | (If you don't want umount to free the loop device, use "umount -D".) |
Paul Fox | 3f6f317 | 2005-07-19 20:55:37 +0000 | [diff] [blame] | 586 | |
Lauri Kasanen | 375a8ef | 2010-04-14 12:31:26 -0700 | [diff] [blame] | 587 | config FEATURE_MOUNT_LOOP_CREATE |
| 588 | bool "Create new loopback devices if needed" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 589 | default y |
Lauri Kasanen | 375a8ef | 2010-04-14 12:31:26 -0700 | [diff] [blame] | 590 | depends on FEATURE_MOUNT_LOOP |
| 591 | help |
| 592 | Linux kernels >= 2.6.24 support unlimited loopback devices. They are |
| 593 | allocated for use when trying to use a loop device. The loop device |
| 594 | must however exist. |
| 595 | |
| 596 | This feature lets mount to try to create next /dev/loopN device |
| 597 | if it does not find a free one. |
| 598 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 599 | config FEATURE_MTAB_SUPPORT |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 600 | bool "Support for the old /etc/mtab file" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 601 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 602 | depends on MOUNT || UMOUNT |
Denis Vlasenko | b1d8e7d | 2008-02-16 23:28:42 +0000 | [diff] [blame] | 603 | select FEATURE_MOUNT_FAKE |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 604 | help |
Rob Landley | 6a6798b | 2005-08-10 20:35:54 +0000 | [diff] [blame] | 605 | Historically, Unix systems kept track of the currently mounted |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 606 | partitions in the file "/etc/mtab". These days, the kernel exports |
Rob Landley | 6a6798b | 2005-08-10 20:35:54 +0000 | [diff] [blame] | 607 | the list of currently mounted partitions in "/proc/mounts", rendering |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 608 | the old mtab file obsolete. (In modern systems, /etc/mtab should be |
Rob Landley | 6a6798b | 2005-08-10 20:35:54 +0000 | [diff] [blame] | 609 | a symlink to /proc/mounts.) |
Eric Andersen | a0ac452 | 2003-02-27 03:14:04 +0000 | [diff] [blame] | 610 | |
Rob Landley | 6a6798b | 2005-08-10 20:35:54 +0000 | [diff] [blame] | 611 | The only reason to have mount maintain an /etc/mtab file itself is if |
| 612 | your stripped-down embedded system does not have a /proc directory. |
| 613 | If you must use this, keep in mind it's inherently brittle (for |
| 614 | example a mount under chroot won't update it), can't handle modern |
| 615 | features like separate per-process filesystem namespaces, requires |
Dan Fandrich | eafc695 | 2010-06-17 23:30:27 -0700 | [diff] [blame] | 616 | that your /etc directory be writable, tends to get easily confused |
Rob Landley | 17507fa | 2006-05-08 02:22:24 +0000 | [diff] [blame] | 617 | 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] | 618 | that contains a mount point, and so on. (In brief: avoid.) |
Rob Landley | 17507fa | 2006-05-08 02:22:24 +0000 | [diff] [blame] | 619 | |
| 620 | About the only reason to use this is if you've removed /proc from |
| 621 | your kernel. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 622 | |
Sven-Göran Bergh | 15d0a86 | 2013-07-31 15:57:59 +0200 | [diff] [blame] | 623 | source util-linux/volume_id/Config.in |
Denys Vlasenko | 0e45066 | 2010-07-14 07:10:47 +0200 | [diff] [blame] | 624 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 625 | endmenu |