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