summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-02-27 03:14:04 +0000
committerEric Andersen <andersen@codepoet.org>2003-02-27 03:14:04 +0000
commita0ac4523b1ebceff60ced8c7d079caf0ffc0db8b (patch)
tree5fb61747545ebe080102f4cd2aeb9a0d5439edd8 /util-linux
parentee6da5527c982b40aef002616bf7d401ee2d434a (diff)
downloadbusybox-w32-a0ac4523b1ebceff60ced8c7d079caf0ffc0db8b.tar.gz
busybox-w32-a0ac4523b1ebceff60ced8c7d079caf0ffc0db8b.tar.bz2
busybox-w32-a0ac4523b1ebceff60ced8c7d079caf0ffc0db8b.zip
Write all the help text for the util-linux utilities. Allow
people to locate the mtab file somewhere other that /etc to accomodate read only root filesystems. -Erik
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/Config.in186
1 files changed, 152 insertions, 34 deletions
diff --git a/util-linux/Config.in b/util-linux/Config.in
index 2494e6e1c..be56020f4 100644
--- a/util-linux/Config.in
+++ b/util-linux/Config.in
@@ -10,100 +10,144 @@ config CONFIG_DMESG
10 bool "dmesg" 10 bool "dmesg"
11 default n 11 default n
12 help 12 help
13 Please submit a patch to add help text for this item. 13 dmesg is used to examine or control the kernel ring buffer. When the
14 Linux kernel prints messages to the system log, they are stored in
15 the kernel ring buffer. You can use dmesg to print the kernel's ring
16 buffer, clear the kernel ring buffer, change the size of the kernel
17 ring buffer, and change the priority level at which kernel messages
18 are also logged to the system console. Enable this option if you
19 wish to enable the 'dmesg' utility.
14 20
15config CONFIG_FBSET 21config CONFIG_FBSET
16 bool "fbset" 22 bool "fbset"
17 default n 23 default n
18 help 24 help
19 Please submit a patch to add help text for this item. 25 fbset is used to show or change the settings of a Linux frame buffer
26 device. The frame buffer device provides a simple and unique
27 interface to access a graphic display. Enable this option if you wish
28 to enable the 'fbset' utility.
29
20 30
21config CONFIG_FEATURE_FBSET_FANCY 31config CONFIG_FEATURE_FBSET_FANCY
22 bool " Turn on extra fbset options" 32 bool " Turn on extra fbset options"
23 default n 33 default n
24 depends on CONFIG_FBSET 34 depends on CONFIG_FBSET
25 help 35 help
26 Please submit a patch to add help text for this item. 36 This option enables extended fbset options, allowing one to set the
37 framebuffer size, color depth, etc. interface to access a graphic
38 display. Enable this option if you wish to enable extended fbset
39 options.
27 40
28config CONFIG_FEATURE_FBSET_READMODE 41config CONFIG_FEATURE_FBSET_READMODE
29 bool " Turn on fbset readmode support" 42 bool " Turn on fbset readmode support"
30 default n 43 default n
31 depends on CONFIG_FBSET 44 depends on CONFIG_FBSET
32 help 45 help
33 Please submit a patch to add help text for this item. 46 This option allows fbset to read the video mode database stored by
47 default as /etc/fb.modes, which can be used to set frame buffer
48 device to pre-defined video modes.
34 49
35config CONFIG_FDFLUSH 50config CONFIG_FDFLUSH
36 bool "fdflush" 51 bool "fdflush"
37 default n 52 default n
38 help 53 help
39 Please submit a patch to add help text for this item. 54 Fdflush is only needed when changing media on slightly-broken
55 removable media drives. It is used to make Linux believe that a
56 hardware disk-change switch has been actuated, which causes Linux to
57 forget anything it has cached from the previous media. If you have
58 such a slightly-broken drive, you will need to run fdflush every time
59 you change a disk. Most people have working hardware and can safely
60 say leave this disabled.
40 61
41config CONFIG_FDISK 62config CONFIG_FDISK
42 bool "fdisk" 63 bool "fdisk"
43 default n 64 default n
44 help 65 help
45 Please submit a patch to add help text for this item. 66 The fdisk utility is used to divide hard disks into one or more
67 logical disks, which are generally called partitions. This utility
68 can be used to list and edit the set of partitions or BSD style
69 'disk slices' that are defined on a hard drive.
46 70
47config CONFIG_FEATURE_FDISK_WRITABLE 71config CONFIG_FEATURE_FDISK_WRITABLE
48 bool " Write support" 72 bool " Write support"
49 default y 73 default y
50 depends on CONFIG_FDISK 74 depends on CONFIG_FDISK
51 help 75 help
52 Allow changes to be written to disk, without this you 76 Enabling this option allows you to create or change a partition table
53 will only be able to view the partition table. 77 and write those changes out to disk. If you leave this option
78 disabled, you will only be able to view the partition table.
54 79
55config CONFIG_FEATURE_AIX_LABEL 80config CONFIG_FEATURE_AIX_LABEL
56 bool " Support AIX disklabels" 81 bool " Support AIX disklabels"
57 default n 82 default n
58 depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE 83 depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
59 help 84 help
60 Please submit a patch to add help text for this item. 85 Enabling this option allows you to create or change AIX disklabels.
86 Most people can safely leave this option disabled.
61 87
62config CONFIG_FEATURE_SGI_LABEL 88config CONFIG_FEATURE_SGI_LABEL
63 bool " Support SGI disklabels" 89 bool " Support SGI disklabels"
64 default n 90 default n
65 depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE 91 depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
66 help 92 help
67 Please submit a patch to add help text for this item. 93 Enabling this option allows you to create or change SGI disklabels.
94 Most people can safely leave this option disabled.
68 95
69config CONFIG_FEATURE_SUN_LABEL 96config CONFIG_FEATURE_SUN_LABEL
70 bool " Support SUN disklabels" 97 bool " Support SUN disklabels"
71 default n 98 default n
72 depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE 99 depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
73 help 100 help
74 Please submit a patch to add help text for this item. 101 Enabling this option allows you to create or change SUN disklabels.
102 Most people can safely leave this option disabled.
75 103
76config CONFIG_FEATURE_OSF_LABEL 104config CONFIG_FEATURE_OSF_LABEL
77 bool " Support BSD disklabels" 105 bool " Support BSD disklabels"
78 default n 106 default n
79 depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE 107 depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
80 help 108 help
81 Please submit a patch to add help text for this item. 109 Enabling this option allows you to create or change BSD disklabels
110 and define and edit BSD disk slices.
82 111
83config CONFIG_FEATURE_FDISK_ADVANCED 112config CONFIG_FEATURE_FDISK_ADVANCED
84 bool " Support expert mode" 113 bool " Support expert mode"
85 default n 114 default n
86 depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE 115 depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
87 help 116 help
88 Please submit a patch to add help text for this item. 117 Enabling this option allows you to do terribly unsafe things like
118 define arbitrary drive geometry, move the beginning of data in a
119 partition, and similarly evil things. Unless you have a very good
120 reason you would be wise to leave this disabled.
89 121
90config CONFIG_FREERAMDISK 122config CONFIG_FREERAMDISK
91 bool "freeramdisk" 123 bool "freeramdisk"
92 default n 124 default n
93 help 125 help
94 Please submit a patch to add help text for this item. 126 Linux allows you to create ramdisks. This utility allows you to
127 delete them and completely free all memory that was used for the
128 ramdisk. For example, if you boot Linux into a ramdisk and later
129 pivot_root, you may want to free the memory that is allocated to the
130 ramdisk. If you have no use for freeing memory from a ramdisk, leave
131 this disabled.
95 132
96config CONFIG_FSCK_MINIX 133config CONFIG_FSCK_MINIX
97 bool "fsck_minix" 134 bool "fsck_minix"
98 default n 135 default n
99 help 136 help
100 Please submit a patch to add help text for this item. 137 The minix filesystem is a nice, small, compact, read-write filesystem
138 with little overhead. It is not a journaling filesystem however and
139 can encounted corruption if it is not properly unmounted or if the
140 power goes off in the middle of a write. This utility allows you to
141 check for and attempt to repair any corruption that occurs to a minix
142 filesystem.
101 143
102config CONFIG_MKFS_MINIX 144config CONFIG_MKFS_MINIX
103 bool "mkfs_minix" 145 bool "mkfs_minix"
104 default n 146 default n
105 help 147 help
106 Please submit a patch to add help text for this item. 148 The minix filesystem is a nice, small, compact, read-write filesystem
149 with little overhead. If you wish to be able to create minix filesystems
150 this utility will do the job for you.
107 151
108comment "Minix filesystem support" 152comment "Minix filesystem support"
109 depends on CONFIG_FSCK_MINIX || CONFIG_MKFS_MINIX 153 depends on CONFIG_FSCK_MINIX || CONFIG_MKFS_MINIX
@@ -113,57 +157,87 @@ config CONFIG_FEATURE_MINIX2
113 default y 157 default y
114 depends on CONFIG_FSCK_MINIX || CONFIG_MKFS_MINIX 158 depends on CONFIG_FSCK_MINIX || CONFIG_MKFS_MINIX
115 help 159 help
116 Please submit a patch to add help text for this item. 160 If you wish to be able to create version 2 minix filesystems, enable this.
161 If you enabled 'mkfs_minix' then you almost certainly want to be using the
162 version 2 filesystem support.
117 163
118config CONFIG_GETOPT 164config CONFIG_GETOPT
119 bool "getopt" 165 bool "getopt"
120 default n 166 default n
121 help 167 help
122 Please submit a patch to add help text for this item. 168 The getopt utility is used to break up (parse) options in command
169 lines to make it easy to write complex shell scripts that also check
170 for legal (and illegal) options. If you want to write horribly
171 complex shell scripts, or use some horribly complex shell script
172 written by others, this utility may be for you. Most people will
173 wisely leave this disabled.
123 174
124config CONFIG_HEXDUMP 175config CONFIG_HEXDUMP
125 bool "hexdump" 176 bool "hexdump"
126 default n 177 default n
127 help 178 help
128 Please submit a patch to add help text for this item. 179 The hexdump utility is used to display binary data in a readable
180 way that is comparable to the output from most hex editors.
129 181
130config CONFIG_HWCLOCK 182config CONFIG_HWCLOCK
131 bool "hwclock" 183 bool "hwclock"
132 default n 184 default n
133 help 185 help
134 Please submit a patch to add help text for this item. 186 The hwclock utility is used to read and set the hardware clock
187 on a system. This is primarily used to set the correct time in
188 the hardware close, so the hardware will keep the correct time
189 when Linux is _not_ running.
135 190
136config CONFIG_FEATURE_HWCLOCK_LONGOPTIONS 191config CONFIG_FEATURE_HWCLOCK_LONGOPTIONS
137 bool " Support long options (--hctosys,...)" 192 bool " Support long options (--hctosys,...)"
138 default n 193 default n
139 depends on CONFIG_HWCLOCK 194 depends on CONFIG_HWCLOCK
140 help 195 help
141 Please submit a patch to add help text for this item. 196 By default, the hwclock utility only uses short options. If you
197 are overly fond of the long options, such as --hctosys, --utc, etc)
198 then enable this option.
142 199
143config CONFIG_LOSETUP 200config CONFIG_LOSETUP
144 bool "losetup" 201 bool "losetup"
145 default n 202 default n
146 help 203 help
147 Please submit a patch to add help text for this item. 204 losetup is used to associate or detach a loop device with a regular
205 file or block device, and to query the status of a loop device. This
206 version does not currently support enabling data encryption.
148 207
149config CONFIG_MKSWAP 208config CONFIG_MKSWAP
150 bool "mkswap" 209 bool "mkswap"
151 default n 210 default n
152 help 211 help
153 Please submit a patch to add help text for this item. 212 The mkswap utility is used to configure a file or disk partition as
213 Linux swap space. This allows Linux to use the entire file or
214 partition as if it were additional RAM, which can greatly increase
215 the capability of low-memory machines. This additional memory is
216 much slower than real RAM, but can be very helpful at preventing your
217 applications being killed by the Linux out of memory (OOM) killer. Once
218 you have created swap space using 'mkswap' you need to enable the swap
219 space using the 'swapon' utility.
154 220
155config CONFIG_MORE 221config CONFIG_MORE
156 bool "more" 222 bool "more"
157 default n 223 default n
158 help 224 help
159 Please submit a patch to add help text for this item. 225 More is a simple utility which allows you to read text one screen
226 sized page at a time. If you want to read text that is larger than
227 the screen, and you are using anything faster than a 300 baud modem,
228 you will probably find this utility very helpful. If you don't have
229 any need to reading text files, you can leave this disabled.
160 230
161config CONFIG_FEATURE_USE_TERMIOS 231config CONFIG_FEATURE_USE_TERMIOS
162 bool " Use termios to manipulate the screen" 232 bool " Use termios to manipulate the screen"
163 default y 233 default y
164 depends on CONFIG_MORE 234 depends on CONFIG_MORE
165 help 235 help
166 Please submit a patch to add help text for this item. 236 This option allows utilities such as 'more' and 'top' to determine
237 the size of the screen. If you leave this disabled, your utilities
238 that display things on the screen with be especially primitive and
239 will be unable to determine the current screen size, and will be
240 unable to move the cursor.
167 241
168comment "Common options for ls and more" 242comment "Common options for ls and more"
169 depends on CONFIG_LS || CONFIG_MORE 243 depends on CONFIG_LS || CONFIG_MORE
@@ -173,31 +247,51 @@ config CONFIG_FEATURE_AUTOWIDTH
173 default y 247 default y
174 depends on CONFIG_LS || CONFIG_MORE 248 depends on CONFIG_LS || CONFIG_MORE
175 help 249 help
176 Please submit a patch to add help text for this item. 250 This option allows utilities such as 'ls' and 'more' to determine the
251 width of the screen, which can allow them to display additional text
252 or avoid wrapping text onto the next line. If you leave this
253 disabled, your utilities will be especially primitive and will be
254 unable to determine the current screen width.
177 255
178config CONFIG_PIVOT_ROOT 256config CONFIG_PIVOT_ROOT
179 bool "pivot_root" 257 bool "pivot_root"
180 default n 258 default n
181 help 259 help
182 Please submit a patch to add help text for this item. 260 The pivot_root utility swaps the mount points for the root filesystem
261 with some other mounted filesystem. This allows you to do all sorts
262 of wild and crazy things with your Linux system and is far more
263 powerful than 'chroot'.
183 264
184config CONFIG_RDATE 265config CONFIG_RDATE
185 bool "rdate" 266 bool "rdate"
186 default n 267 default n
187 help 268 help
188 Please submit a patch to add help text for this item. 269 The rdate utility allows you to syncronize the date and time of your
270 system clock with the date and time of a remote networked system using
271 the RFC868 protocol, which is built into the inetd daemon on most
272 systems.
189 273
190config CONFIG_SWAPONOFF 274config CONFIG_SWAPONOFF
191 bool "swaponoff" 275 bool "swaponoff"
192 default n 276 default n
193 help 277 help
194 Please submit a patch to add help text for this item. 278 This option enables both the 'swapon' and the 'swapoff' utilities.
279 Once you have created some swap space using 'mkswap', you also need
280 to enable your swap space with the 'swapon' utility. The 'swapoff'
281 utility is used, typically at system shutdown, to disable any swap
282 space. If you are not using any swap space, you can leave this
283 option disabled.
195 284
196config CONFIG_MOUNT 285config CONFIG_MOUNT
197 bool "mount" 286 bool "mount"
198 default n 287 default n
199 help 288 help
200 Please submit a patch to add help text for this item. 289 All files and filesystems in Unix are arranged into one big directory
290 tree. The 'mount' utility is used to graft a filesystem onto a
291 particular part of the tree. A filesystem can either live on a block
292 device, or it can be accessible over the network, as is the case with
293 NFS filesystems. Most people using BusyBox will also want to enable
294 the 'mount' utility.
201 295
202config CONFIG_NFSMOUNT 296config CONFIG_NFSMOUNT
203 bool " Support mounting nfs file systems" 297 bool " Support mounting nfs file systems"
@@ -210,14 +304,18 @@ config CONFIG_UMOUNT
210 bool "umount" 304 bool "umount"
211 default n 305 default n
212 help 306 help
213 Please submit a patch to add help text for this item. 307 When you want to remove a mounted filesystem from its current mount point,
308 for example when you are shutting down the system, the 'umount' utility is
309 the tool to use. If you enabled the 'mount' utility, you almost certainly
310 also want to enable 'umount'.
214 311
215config CONFIG_FEATURE_MOUNT_FORCE 312config CONFIG_FEATURE_MOUNT_FORCE
216 bool " Support forced filesystem unmounting" 313 bool " Support forced filesystem unmounting"
217 default n 314 default n
218 depends on CONFIG_UMOUNT 315 depends on CONFIG_UMOUNT
219 help 316 help
220 Please submit a patch to add help text for this item. 317 This allows you to _force_ a filesystem to be umounted. This is generally
318 only useful when you want to get rid of an unreachable NFS system.
221 319
222comment "Common options for mount/umount" 320comment "Common options for mount/umount"
223 depends on CONFIG_MOUNT || CONFIG_UMOUNT 321 depends on CONFIG_MOUNT || CONFIG_UMOUNT
@@ -227,14 +325,34 @@ config CONFIG_FEATURE_MOUNT_LOOP
227 default n 325 default n
228 depends on CONFIG_MOUNT || CONFIG_UMOUNT 326 depends on CONFIG_MOUNT || CONFIG_UMOUNT
229 help 327 help
230 Please submit a patch to add help text for this item. 328 Enabling this feature allows mount to use the '-o' loop options,
329 which lets you loop mount files. Mount will automagically setup and
330 free the necessary loop devices so you do not need to mess with the
331 'losetup' utility unless you really want to. This is really only useful
332 if you plan to loop mount files.
231 333
232config CONFIG_FEATURE_MTAB_SUPPORT 334config CONFIG_FEATURE_MTAB_SUPPORT
233 bool " Support for a real /etc/mtab (instead of /proc/mounts)" 335 bool " Support for a real /etc/mtab (instead of /proc/mounts)"
234 default n 336 default n
235 depends on CONFIG_MOUNT || CONFIG_UMOUNT 337 depends on CONFIG_MOUNT || CONFIG_UMOUNT
236 help 338 help
237 Please submit a patch to add help text for this item. 339 If your root filesystem is writable and you wish to have the 'mount'
340 utility create an mtab file listing the filesystems which have been
341 mounted then you should enable this option. Most people that use
342 BusyBox have a read-only root filesystem, so they will leave this
343 option disabled and BusyBox will use the /proc/mounts file.
344
345config CONFIG_FEATURE_MTAB_FILENAME
346 string " mtab file location"
347 default "/etc/mtab"
348 depends on CONFIG_FEATURE_MTAB_SUPPORT
349 help
350 Some people have a read only root filesystem, but they also wish to
351 have the 'mount' utility create an mtab file listing the filesystems
352 which have been mounted. This option allows you to specify an alternative
353 location for the mtab file, such as /var/mtab, or /tmp/mtab. The default
354 value is /etc/mtab, which is where this file is located on most desktop
355 Linux systems.
238 356
239endmenu 357endmenu
240 358