nbd's makefile/menuconfig rewrite
[openwrt/svn-archive/archive.git] / openwrt / package / busybox / config / util-linux / Config.in
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
8
9 config BUSYBOX_CONFIG_DMESG
10 bool "dmesg"
11 default y
12 help
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.
20
21 config BUSYBOX_CONFIG_FBSET
22 bool "fbset"
23 default n
24 help
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 graphics display. Enable this option
28 if you wish to enable the 'fbset' utility.
29
30
31 config BUSYBOX_CONFIG_FEATURE_FBSET_FANCY
32 bool " Turn on extra fbset options"
33 default n
34 depends on BUSYBOX_CONFIG_FBSET
35 help
36 This option enables extended fbset options, allowing one to set the
37 framebuffer size, color depth, etc. interface to access a graphics
38 display. Enable this option if you wish to enable extended fbset
39 options.
40
41 config BUSYBOX_CONFIG_FEATURE_FBSET_READMODE
42 bool " Turn on fbset readmode support"
43 default n
44 depends on BUSYBOX_CONFIG_FBSET
45 help
46 This option allows fbset to read the video mode database stored by
47 default n /etc/fb.modes, which can be used to set frame buffer
48 device to pre-defined video modes.
49
50 config BUSYBOX_CONFIG_FDFLUSH
51 bool "fdflush"
52 default n
53 help
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 leave this disabled.
61
62 config BUSYBOX_CONFIG_FDFORMAT
63 bool "fdformat"
64 default n
65 help
66 fdformat is used to low-level format a floppy disk.
67
68 config BUSYBOX_CONFIG_FDISK
69 bool "fdisk"
70 default n
71 help
72 The fdisk utility is used to divide hard disks into one or more
73 logical disks, which are generally called partitions. This utility
74 can be used to list and edit the set of partitions or BSD style
75 'disk slices' that are defined on a hard drive.
76
77 config BUSYBOX_FDISK_SUPPORT_LARGE_DISKS
78 bool
79 default y
80 depends on BUSYBOX_CONFIG_FDISK
81 help
82 Enable this option to support large disks > 4GB.
83
84 config BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
85 bool " Write support"
86 default n
87 depends on BUSYBOX_CONFIG_FDISK
88 help
89 Enabling this option allows you to create or change a partition table
90 and write those changes out to disk. If you leave this option
91 disabled, you will only be able to view the partition table.
92
93 config BUSYBOX_CONFIG_FEATURE_AIX_LABEL
94 bool " Support AIX disklabels"
95 default n
96 depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
97 help
98 Enabling this option allows you to create or change AIX disklabels.
99 Most people can safely leave this option disabled.
100
101 config BUSYBOX_CONFIG_FEATURE_SGI_LABEL
102 bool " Support SGI disklabels"
103 default n
104 depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
105 help
106 Enabling this option allows you to create or change SGI disklabels.
107 Most people can safely leave this option disabled.
108
109 config BUSYBOX_CONFIG_FEATURE_SUN_LABEL
110 bool " Support SUN disklabels"
111 default n
112 depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
113 help
114 Enabling this option allows you to create or change SUN disklabels.
115 Most people can safely leave this option disabled.
116
117 config BUSYBOX_CONFIG_FEATURE_OSF_LABEL
118 bool " Support BSD disklabels"
119 default n
120 depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
121 help
122 Enabling this option allows you to create or change BSD disklabels
123 and define and edit BSD disk slices.
124
125 config BUSYBOX_CONFIG_FEATURE_FDISK_ADVANCED
126 bool " Support expert mode"
127 default n
128 depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
129 help
130 Enabling this option allows you to do terribly unsafe things like
131 define arbitrary drive geometry, move the beginning of data in a
132 partition, and similarly evil things. Unless you have a very good
133 reason you would be wise to leave this disabled.
134
135 config BUSYBOX_CONFIG_FREERAMDISK
136 bool "freeramdisk"
137 default n
138 help
139 Linux allows you to create ramdisks. This utility allows you to
140 delete them and completely free all memory that was used for the
141 ramdisk. For example, if you boot Linux into a ramdisk and later
142 pivot_root, you may want to free the memory that is allocated to the
143 ramdisk. If you have no use for freeing memory from a ramdisk, leave
144 this disabled.
145
146 config BUSYBOX_CONFIG_FSCK_MINIX
147 bool "fsck_minix"
148 default n
149 help
150 The minix filesystem is a nice, small, compact, read-write filesystem
151 with little overhead. It is not a journaling filesystem however and
152 can experience corruption if it is not properly unmounted or if the
153 power goes off in the middle of a write. This utility allows you to
154 check for and attempt to repair any corruption that occurs to a minix
155 filesystem.
156
157 config BUSYBOX_CONFIG_MKFS_MINIX
158 bool "mkfs_minix"
159 default n
160 help
161 The minix filesystem is a nice, small, compact, read-write filesystem
162 with little overhead. If you wish to be able to create minix filesystems
163 this utility will do the job for you.
164
165 comment "Minix filesystem support"
166 depends on BUSYBOX_CONFIG_FSCK_MINIX || BUSYBOX_CONFIG_MKFS_MINIX
167
168 config BUSYBOX_CONFIG_FEATURE_MINIX2
169 bool " Support Minix fs v2 (fsck_minix/mkfs_minix)"
170 default n
171 depends on BUSYBOX_CONFIG_FSCK_MINIX || BUSYBOX_CONFIG_MKFS_MINIX
172 help
173 If you wish to be able to create version 2 minix filesystems, enable this.
174 If you enabled 'mkfs_minix' then you almost certainly want to be using the
175 version 2 filesystem support.
176
177 config BUSYBOX_CONFIG_GETOPT
178 bool "getopt"
179 default n
180 help
181 The getopt utility is used to break up (parse) options in command
182 lines to make it easy to write complex shell scripts that also check
183 for legal (and illegal) options. If you want to write horribly
184 complex shell scripts, or use some horribly complex shell script
185 written by others, this utility may be for you. Most people will
186 wisely leave this disabled.
187
188 config BUSYBOX_CONFIG_HEXDUMP
189 bool "hexdump"
190 default y
191 help
192 The hexdump utility is used to display binary data in a readable
193 way that is comparable to the output from most hex editors.
194
195 config BUSYBOX_CONFIG_HWCLOCK
196 bool "hwclock"
197 default n
198 help
199 The hwclock utility is used to read and set the hardware clock
200 on a system. This is primarily used to set the current time on
201 shutdown in the hardware clock, so the hardware will keep the
202 correct time when Linux is _not_ running.
203
204 config BUSYBOX_CONFIG_FEATURE_HWCLOCK_LONGOPTIONS
205 bool " Support long options (--hctosys,...)"
206 default n
207 depends on BUSYBOX_CONFIG_HWCLOCK
208 help
209 By default, the hwclock utility only uses short options. If you
210 are overly fond of its long options, such as --hctosys, --utc, etc)
211 then enable this option.
212
213 config BUSYBOX_CONFIG_LOSETUP
214 bool "losetup"
215 default n
216 help
217 losetup is used to associate or detach a loop device with a regular
218 file or block device, and to query the status of a loop device. This
219 version does not currently support enabling data encryption.
220
221 config BUSYBOX_CONFIG_MKSWAP
222 bool "mkswap"
223 default n
224 help
225 The mkswap utility is used to configure a file or disk partition as
226 Linux swap space. This allows Linux to use the entire file or
227 partition as if it were additional RAM, which can greatly increase
228 the capability of low-memory machines. This additional memory is
229 much slower than real RAM, but can be very helpful at preventing your
230 applications being killed by the Linux out of memory (OOM) killer.
231 Once you have created swap space using 'mkswap' you need to enable
232 the swap space using the 'swapon' utility.
233
234 config BUSYBOX_CONFIG_MORE
235 bool "more"
236 default y
237 help
238 more is a simple utility which allows you to read text one screen
239 sized page at a time. If you want to read text that is larger than
240 the screen, and you are using anything faster than a 300 baud modem,
241 you will probably find this utility very helpful. If you don't have
242 any need to reading text files, you can leave this disabled.
243
244 config BUSYBOX_CONFIG_FEATURE_USE_TERMIOS
245 bool " Use termios to manipulate the screen"
246 default y
247 depends on BUSYBOX_CONFIG_MORE
248 help
249 This option allows utilities such as 'more' and 'top' to determine
250 the size of the screen. If you leave this disabled, your utilities
251 that display things on the screen will be especially primitive and
252 will be unable to determine the current screen size, and will be
253 unable to move the cursor.
254
255 config BUSYBOX_CONFIG_PIVOT_ROOT
256 bool "pivot_root"
257 default y
258 help
259 The pivot_root utility swaps the mount points for the root filesystem
260 with some other mounted filesystem. This allows you to do all sorts
261 of wild and crazy things with your Linux system and is far more
262 powerful than 'chroot'.
263
264 config BUSYBOX_CONFIG_RDATE
265 bool "rdate"
266 default y
267 help
268 The rdate utility allows you to synchronize the date and time of your
269 system clock with the date and time of a remote networked system using
270 the RFC868 protocol, which is built into the inetd daemon on most
271 systems.
272
273 config BUSYBOX_CONFIG_SWAPONOFF
274 bool "swaponoff"
275 default n
276 help
277 This option enables both the 'swapon' and the 'swapoff' utilities.
278 Once you have created some swap space using 'mkswap', you also need
279 to enable your swap space with the 'swapon' utility. The 'swapoff'
280 utility is used, typically at system shutdown, to disable any swap
281 space. If you are not using any swap space, you can leave this
282 option disabled.
283
284 config BUSYBOX_CONFIG_MOUNT
285 bool "mount"
286 default y
287 help
288 All files and filesystems in Unix are arranged into one big directory
289 tree. The 'mount' utility is used to graft a filesystem onto a
290 particular part of the tree. A filesystem can either live on a block
291 device, or it can be accessible over the network, as is the case with
292 NFS filesystems. Most people using BusyBox will also want to enable
293 the 'mount' utility.
294
295 config BUSYBOX_CONFIG_NFSMOUNT
296 bool " Support mounting NFS file systems"
297 default y
298 depends on BUSYBOX_CONFIG_MOUNT
299 help
300 Enable mounting of NFS file systems.
301
302 config BUSYBOX_CONFIG_UMOUNT
303 bool "umount"
304 default y
305 help
306 When you want to remove a mounted filesystem from its current mount point,
307 for example when you are shutting down the system, the 'umount' utility is
308 the tool to use. If you enabled the 'mount' utility, you almost certainly
309 also want to enable 'umount'.
310
311 config BUSYBOX_CONFIG_FEATURE_MOUNT_FORCE
312 bool " Support forced filesystem unmounting"
313 default y
314 depends on BUSYBOX_CONFIG_UMOUNT
315 help
316 This allows you to _force_ a filesystem to be umounted. This is generally
317 only useful when you want to get rid of an unreachable NFS system.
318
319 comment "Common options for mount/umount"
320 depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
321
322 config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP
323 bool " Support for loop devices"
324 default y
325 depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
326 help
327 Enabling this feature allows mount to use the '-o' loop options,
328 which lets you loop mount files. Mount will automagically setup and
329 free the necessary loop devices so you do not need to mess with the
330 'losetup' utility unless you really want to. This is really
331 only useful if you plan to loop mount files.
332
333 config BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT
334 bool " Support for a real /etc/mtab (instead of /proc/mounts)"
335 default n
336 depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
337 help
338 If your root filesystem is writable and you wish to have the 'mount'
339 utility create an mtab file listing the filesystems which have been
340 mounted then you should enable this option. Most people that use
341 BusyBox have a read-only root filesystem, so they will leave this
342 option disabled and BusyBox will use the /proc/mounts file.
343
344 config BUSYBOX_CONFIG_FEATURE_MTAB_FILENAME
345 string " mtab file location"
346 default n
347 depends on BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT
348 help
349 Some people have a read only root filesystem, but they also wish to
350 have the 'mount' utility create an mtab file listing the filesystems
351 which have been mounted. This option allows you to specify an alternative
352 location for the mtab file, such as /var/mtab, or /tmp/mtab. The default
353 value is /etc/mtab, which is where this file is located on most desktop
354 Linux systems.
355
356 endmenu
357