summaryrefslogtreecommitdiff
path: root/util-linux/Config.src (plain)
blob: 9af923ec4535926009b001a7395802d653d4a416
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Linux System Utilities"
7
8INSERT
9
10config ACPID
11 bool "acpid"
12 default y
13 select PLATFORM_LINUX
14 help
15 acpid listens to ACPI events coming either in textual form from
16 /proc/acpi/event (though it is marked deprecated it is still widely
17 used and _is_ a standard) or in binary form from specified evdevs
18 (just use /dev/input/event*).
19
20 It parses the event to retrieve ACTION and a possible PARAMETER.
21 It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts
22 (if the resulting path is a directory) or directly as an executable.
23
24 N.B. acpid relies on run-parts so have the latter installed.
25
26config FEATURE_ACPID_COMPAT
27 bool "Accept and ignore redundant options"
28 default y
29 depends on ACPID
30 help
31 Accept and ignore compatibility options -g -m -s -S -v.
32
33config BLKID
34 bool "blkid"
35 default y
36 select PLATFORM_LINUX
37 select VOLUMEID
38 help
39 Lists labels and UUIDs of all filesystems.
40 WARNING:
41 With all submodules selected, it will add ~8k to busybox.
42
43config FEATURE_BLKID_TYPE
44 bool "Print filesystem type"
45 default n
46 depends on BLKID
47 help
48 Show TYPE="filesystem type"
49
50config DMESG
51 bool "dmesg"
52 default y
53 select PLATFORM_LINUX
54 help
55 dmesg is used to examine or control the kernel ring buffer. When the
56 Linux kernel prints messages to the system log, they are stored in
57 the kernel ring buffer. You can use dmesg to print the kernel's ring
58 buffer, clear the kernel ring buffer, change the size of the kernel
59 ring buffer, and change the priority level at which kernel messages
60 are also logged to the system console. Enable this option if you
61 wish to enable the 'dmesg' utility.
62
63config FEATURE_DMESG_PRETTY
64 bool "Pretty dmesg output"
65 default y
66 depends on DMESG
67 help
68 If you wish to scrub the syslog level from the output, say 'Y' here.
69 The syslog level is a string prefixed to every line with the form
70 "<#>".
71
72 With this option you will see:
73 # dmesg
74 Linux version 2.6.17.4 .....
75 BIOS-provided physical RAM map:
76 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
77
78 Without this option (or with -r) you will see:
79 # dmesg
80 <5>Linux version 2.6.17.4 .....
81 <6>BIOS-provided physical RAM map:
82 <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
83
84config FEATURE_DMESG_COLOR
85 bool "Colored dmesg output"
86 default y
87 depends on DMESG
88 help
89 Allow to show errors and warnings in different colors
90 dmesg -C
91
92config FBSET
93 bool "fbset"
94 default y
95 select PLATFORM_LINUX
96 help
97 fbset is used to show or change the settings of a Linux frame buffer
98 device. The frame buffer device provides a simple and unique
99 interface to access a graphics display. Enable this option
100 if you wish to enable the 'fbset' utility.
101
102config FEATURE_FBSET_FANCY
103 bool "Turn on extra fbset options"
104 default y
105 depends on FBSET
106 help
107 This option enables extended fbset options, allowing one to set the
108 framebuffer size, color depth, etc. interface to access a graphics
109 display. Enable this option if you wish to enable extended fbset
110 options.
111
112config FEATURE_FBSET_READMODE
113 bool "Turn on fbset readmode support"
114 default y
115 depends on FBSET
116 help
117 This option allows fbset to read the video mode database stored by
118 default as /etc/fb.modes, which can be used to set frame buffer
119 device to pre-defined video modes.
120
121config FDFLUSH
122 bool "fdflush"
123 default y
124 select PLATFORM_LINUX
125 help
126 fdflush is only needed when changing media on slightly-broken
127 removable media drives. It is used to make Linux believe that a
128 hardware disk-change switch has been actuated, which causes Linux to
129 forget anything it has cached from the previous media. If you have
130 such a slightly-broken drive, you will need to run fdflush every time
131 you change a disk. Most people have working hardware and can safely
132 leave this disabled.
133
134config FDFORMAT
135 bool "fdformat"
136 default y
137 select PLATFORM_LINUX
138 help
139 fdformat is used to low-level format a floppy disk.
140
141config FDISK
142 bool "fdisk"
143 default y
144 select PLATFORM_LINUX
145 help
146 The fdisk utility is used to divide hard disks into one or more
147 logical disks, which are generally called partitions. This utility
148 can be used to list and edit the set of partitions or BSD style
149 'disk slices' that are defined on a hard drive.
150
151config FDISK_SUPPORT_LARGE_DISKS
152 bool "Support over 4GB disks"
153 default y
154 depends on FDISK
155 depends on !LFS # with LFS no special code is needed
156 help
157 Enable this option to support large disks > 4GB.
158
159config FEATURE_FDISK_WRITABLE
160 bool "Write support"
161 default y
162 depends on FDISK
163 help
164 Enabling this option allows you to create or change a partition table
165 and write those changes out to disk. If you leave this option
166 disabled, you will only be able to view the partition table.
167
168config FEATURE_AIX_LABEL
169 bool "Support AIX disklabels"
170 default n
171 depends on FDISK && FEATURE_FDISK_WRITABLE
172 help
173 Enabling this option allows you to create or change AIX disklabels.
174 Most people can safely leave this option disabled.
175
176config FEATURE_SGI_LABEL
177 bool "Support SGI disklabels"
178 default n
179 depends on FDISK && FEATURE_FDISK_WRITABLE
180 help
181 Enabling this option allows you to create or change SGI disklabels.
182 Most people can safely leave this option disabled.
183
184config FEATURE_SUN_LABEL
185 bool "Support SUN disklabels"
186 default n
187 depends on FDISK && FEATURE_FDISK_WRITABLE
188 help
189 Enabling this option allows you to create or change SUN disklabels.
190 Most people can safely leave this option disabled.
191
192config FEATURE_OSF_LABEL
193 bool "Support BSD disklabels"
194 default n
195 depends on FDISK && FEATURE_FDISK_WRITABLE
196 help
197 Enabling this option allows you to create or change BSD disklabels
198 and define and edit BSD disk slices.
199
200config FEATURE_GPT_LABEL
201 bool "Support GPT disklabels"
202 default n
203 depends on FDISK && FEATURE_FDISK_WRITABLE
204 help
205 Enabling this option allows you to view GUID Partition Table
206 disklabels.
207
208config FEATURE_FDISK_ADVANCED
209 bool "Support expert mode"
210 default y
211 depends on FDISK && FEATURE_FDISK_WRITABLE
212 help
213 Enabling this option allows you to do terribly unsafe things like
214 define arbitrary drive geometry, move the beginning of data in a
215 partition, and similarly evil things. Unless you have a very good
216 reason you would be wise to leave this disabled.
217
218config FINDFS
219 bool "findfs"
220 default y
221 select PLATFORM_LINUX
222 select VOLUMEID
223 help
224 Prints the name of a filesystem with given label or UUID.
225 WARNING:
226 With all submodules selected, it will add ~8k to busybox.
227
228config FLOCK
229 bool "flock"
230 default y
231 help
232 Manage locks from shell scripts
233
234config FREERAMDISK
235 bool "freeramdisk"
236 default y
237 select PLATFORM_LINUX
238 help
239 Linux allows you to create ramdisks. This utility allows you to
240 delete them and completely free all memory that was used for the
241 ramdisk. For example, if you boot Linux into a ramdisk and later
242 pivot_root, you may want to free the memory that is allocated to the
243 ramdisk. If you have no use for freeing memory from a ramdisk, leave
244 this disabled.
245
246config FSCK_MINIX
247 bool "fsck_minix"
248 default y
249 help
250 The minix filesystem is a nice, small, compact, read-write filesystem
251 with little overhead. It is not a journaling filesystem however and
252 can experience corruption if it is not properly unmounted or if the
253 power goes off in the middle of a write. This utility allows you to
254 check for and attempt to repair any corruption that occurs to a minix
255 filesystem.
256
257config MKFS_EXT2
258 bool "mkfs_ext2"
259 default y
260 select PLATFORM_LINUX
261 help
262 Utility to create EXT2 filesystems.
263
264config MKFS_MINIX
265 bool "mkfs_minix"
266 default y
267 select PLATFORM_LINUX
268 help
269 The minix filesystem is a nice, small, compact, read-write filesystem
270 with little overhead. If you wish to be able to create minix
271 filesystems this utility will do the job for you.
272
273config FEATURE_MINIX2
274 bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
275 default y
276 depends on FSCK_MINIX || MKFS_MINIX
277 help
278 If you wish to be able to create version 2 minix filesystems, enable
279 this. If you enabled 'mkfs_minix' then you almost certainly want to
280 be using the version 2 filesystem support.
281
282config MKFS_REISER
283 bool "mkfs_reiser"
284 default n
285 select PLATFORM_LINUX
286 help
287 Utility to create ReiserFS filesystems.
288 Note: this applet needs a lot of testing and polishing.
289
290config MKFS_VFAT
291 bool "mkfs_vfat"
292 default y
293 select PLATFORM_LINUX
294 help
295 Utility to create FAT32 filesystems.
296
297config GETOPT
298 bool "getopt"
299 default y
300 help
301 The getopt utility is used to break up (parse) options in command
302 lines to make it easy to write complex shell scripts that also check
303 for legal (and illegal) options. If you want to write horribly
304 complex shell scripts, or use some horribly complex shell script
305 written by others, this utility may be for you. Most people will
306 wisely leave this disabled.
307
308config FEATURE_GETOPT_LONG
309 bool "Support option -l"
310 default y if LONG_OPTS
311 depends on GETOPT
312 help
313 Enable support for long options (option -l).
314
315config HEXDUMP
316 bool "hexdump"
317 default y
318 help
319 The hexdump utility is used to display binary data in a readable
320 way that is comparable to the output from most hex editors.
321
322config FEATURE_HEXDUMP_REVERSE
323 bool "Support -R, reverse of 'hexdump -Cv'"
324 default y
325 depends on HEXDUMP
326 help
327 The hexdump utility is used to display binary data in an ascii
328 readable way. This option creates binary data from an ascii input.
329 NB: this option is non-standard. It's unwise to use it in scripts
330 aimed to be portable.
331
332config HD
333 bool "hd"
334 default y
335 depends on HEXDUMP
336 help
337 hd is an alias to hexdump -C.
338
339config HWCLOCK
340 bool "hwclock"
341 default y
342 select PLATFORM_LINUX
343 help
344 The hwclock utility is used to read and set the hardware clock
345 on a system. This is primarily used to set the current time on
346 shutdown in the hardware clock, so the hardware will keep the
347 correct time when Linux is _not_ running.
348
349config FEATURE_HWCLOCK_LONG_OPTIONS
350 bool "Support long options (--hctosys,...)"
351 default y
352 depends on HWCLOCK && LONG_OPTS
353 help
354 By default, the hwclock utility only uses short options. If you
355 are overly fond of its long options, such as --hctosys, --utc, etc)
356 then enable this option.
357
358config FEATURE_HWCLOCK_ADJTIME_FHS
359 bool "Use FHS /var/lib/hwclock/adjtime"
360 default n # util-linux-ng in Fedora 13 still uses /etc/adjtime
361 depends on HWCLOCK
362 help
363 Starting with FHS 2.3, the adjtime state file is supposed to exist
364 at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
365 to use the FHS behavior, answer Y here, otherwise answer N for the
366 classic /etc/adjtime path.
367
368 pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
369
370config IPCRM
371 bool "ipcrm"
372 default y
373 help
374 The ipcrm utility allows the removal of System V interprocess
375 communication (IPC) objects and the associated data structures
376 from the system.
377
378config IPCS
379 bool "ipcs"
380 default y
381 depends on PLATFORM_LINUX
382 help
383 The ipcs utility is used to provide information on the currently
384 allocated System V interprocess (IPC) objects in the system.
385
386config LOSETUP
387 bool "losetup"
388 default y
389 select PLATFORM_LINUX
390 help
391 losetup is used to associate or detach a loop device with a regular
392 file or block device, and to query the status of a loop device. This
393 version does not currently support enabling data encryption.
394
395config LSPCI
396 bool "lspci"
397 default y
398 #select PLATFORM_LINUX
399 help
400 lspci is a utility for displaying information about PCI buses in the
401 system and devices connected to them.
402
403 This version uses sysfs (/sys/bus/pci/devices) only.
404
405config LSUSB
406 bool "lsusb"
407 default y
408 #select PLATFORM_LINUX
409 help
410 lsusb is a utility for displaying information about USB buses in the
411 system and devices connected to them.
412
413 This version uses sysfs (/sys/bus/usb/devices) only.
414
415config MKSWAP
416 bool "mkswap"
417 default y
418 help
419 The mkswap utility is used to configure a file or disk partition as
420 Linux swap space. This allows Linux to use the entire file or
421 partition as if it were additional RAM, which can greatly increase
422 the capability of low-memory machines. This additional memory is
423 much slower than real RAM, but can be very helpful at preventing your
424 applications being killed by the Linux out of memory (OOM) killer.
425 Once you have created swap space using 'mkswap' you need to enable
426 the swap space using the 'swapon' utility.
427
428config FEATURE_MKSWAP_UUID
429 bool "UUID support"
430 default y
431 depends on MKSWAP
432 help
433 Generate swap spaces with universally unique identifiers.
434
435config MORE
436 bool "more"
437 default y
438 help
439 more is a simple utility which allows you to read text one screen
440 sized page at a time. If you want to read text that is larger than
441 the screen, and you are using anything faster than a 300 baud modem,
442 you will probably find this utility very helpful. If you don't have
443 any need to reading text files, you can leave this disabled.
444
445config MOUNT
446 bool "mount"
447 default y
448 select PLATFORM_LINUX
449 help
450 All files and filesystems in Unix are arranged into one big directory
451 tree. The 'mount' utility is used to graft a filesystem onto a
452 particular part of the tree. A filesystem can either live on a block
453 device, or it can be accessible over the network, as is the case with
454 NFS filesystems. Most people using BusyBox will also want to enable
455 the 'mount' utility.
456
457config FEATURE_MOUNT_FAKE
458 bool "Support option -f"
459 default y
460 depends on MOUNT
461 help
462 Enable support for faking a file system mount.
463
464config FEATURE_MOUNT_VERBOSE
465 bool "Support option -v"
466 default y
467 depends on MOUNT
468 help
469 Enable multi-level -v[vv...] verbose messages. Useful if you
470 debug mount problems and want to see what is exactly passed
471 to the kernel.
472
473config FEATURE_MOUNT_HELPERS
474 bool "Support mount helpers"
475 default n
476 depends on MOUNT
477 help
478 Enable mounting of virtual file systems via external helpers.
479 E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call
480 "obexfs -b00.11.22.33.44.55 /mnt"
481 Also "mount -t sometype [-o opts] fs /mnt" will try
482 "sometype [-o opts] fs /mnt" if simple mount syscall fails.
483 The idea is to use such virtual filesystems in /etc/fstab.
484
485config FEATURE_MOUNT_LABEL
486 bool "Support specifying devices by label or UUID"
487 default y
488 depends on MOUNT
489 select VOLUMEID
490 help
491 This allows for specifying a device by label or uuid, rather than by
492 name. This feature utilizes the same functionality as blkid/findfs.
493 This also enables label or uuid support for swapon.
494
495config FEATURE_MOUNT_NFS
496 bool "Support mounting NFS file systems on Linux < 2.6.23"
497 default n
498 depends on MOUNT
499 select FEATURE_HAVE_RPC
500 select FEATURE_SYSLOG
501 help
502 Enable mounting of NFS file systems on Linux kernels prior
503 to version 2.6.23. Note that in this case mounting of NFS
504 over IPv6 will not be possible.
505
506 Note that this option links in RPC support from libc,
507 which is rather large (~10 kbytes on uclibc).
508
509config FEATURE_MOUNT_CIFS
510 bool "Support mounting CIFS/SMB file systems"
511 default y
512 depends on MOUNT
513 help
514 Enable support for samba mounts.
515
516config FEATURE_MOUNT_FLAGS
517 depends on MOUNT
518 bool "Support lots of -o flags in mount"
519 default y
520 help
521 Without this, mount only supports ro/rw/remount. With this, it
522 supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
523 noatime, diratime, nodiratime, loud, bind, move, shared, slave,
524 private, unbindable, rshared, rslave, rprivate, and runbindable.
525
526config FEATURE_MOUNT_FSTAB
527 depends on MOUNT
528 bool "Support /etc/fstab and -a"
529 default y
530 help
531 Support mount all and looking for files in /etc/fstab.
532
533config PIVOT_ROOT
534 bool "pivot_root"
535 default y
536 select PLATFORM_LINUX
537 help
538 The pivot_root utility swaps the mount points for the root filesystem
539 with some other mounted filesystem. This allows you to do all sorts
540 of wild and crazy things with your Linux system and is far more
541 powerful than 'chroot'.
542
543 Note: This is for initrd in linux 2.4. Under initramfs (introduced
544 in linux 2.6) use switch_root instead.
545
546config RDATE
547 bool "rdate"
548 default y
549 help
550 The rdate utility allows you to synchronize the date and time of your
551 system clock with the date and time of a remote networked system using
552 the RFC868 protocol, which is built into the inetd daemon on most
553 systems.
554
555config RDEV
556 bool "rdev"
557 default y
558 help
559 Print the device node associated with the filesystem mounted at '/'.
560
561config READPROFILE
562 bool "readprofile"
563 default y
564 #select PLATFORM_LINUX
565 help
566 This allows you to parse /proc/profile for basic profiling.
567
568config RTCWAKE
569 bool "rtcwake"
570 default y
571 select PLATFORM_LINUX
572 help
573 Enter a system sleep state until specified wakeup time.
574
575config SCRIPT
576 bool "script"
577 default y
578 help
579 The script makes typescript of terminal session.
580
581config SCRIPTREPLAY
582 bool "scriptreplay"
583 default y
584 help
585 This program replays a typescript, using timing information
586 given by script -t.
587
588config SETARCH
589 bool "setarch"
590 default y
591 select PLATFORM_LINUX
592 help
593 The linux32 utility is used to create a 32bit environment for the
594 specified program (usually a shell). It only makes sense to have
595 this util on a system that supports both 64bit and 32bit userland
596 (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
597
598config SWAPONOFF
599 bool "swaponoff"
600 default y
601 select PLATFORM_LINUX
602 help
603 This option enables both the 'swapon' and the 'swapoff' utilities.
604 Once you have created some swap space using 'mkswap', you also need
605 to enable your swap space with the 'swapon' utility. The 'swapoff'
606 utility is used, typically at system shutdown, to disable any swap
607 space. If you are not using any swap space, you can leave this
608 option disabled.
609
610config FEATURE_SWAPON_PRI
611 bool "Support priority option -p"
612 default y
613 depends on SWAPONOFF
614 help
615 Enable support for setting swap device priority in swapon.
616
617config SWITCH_ROOT
618 bool "switch_root"
619 default y
620 select PLATFORM_LINUX
621 help
622 The switch_root utility is used from initramfs to select a new
623 root device. Under initramfs, you have to use this instead of
624 pivot_root. (Stop reading here if you don't care why.)
625
626 Booting with initramfs extracts a gzipped cpio archive into rootfs
627 (which is a variant of ramfs/tmpfs). Because rootfs can't be moved
628 or unmounted*, pivot_root will not work from initramfs. Instead,
629 switch_root deletes everything out of rootfs (including itself),
630 does a mount --move that overmounts rootfs with the new root, and
631 then execs the specified init program.
632
633 * Because the Linux kernel uses rootfs internally as the starting
634 and ending point for searching through the kernel's doubly linked
635 list of active mount points. That's why.
636
637config UMOUNT
638 bool "umount"
639 default y
640 select PLATFORM_LINUX
641 help
642 When you want to remove a mounted filesystem from its current mount
643 point, for example when you are shutting down the system, the
644 'umount' utility is the tool to use. If you enabled the 'mount'
645 utility, you almost certainly also want to enable 'umount'.
646
647config FEATURE_UMOUNT_ALL
648 bool "Support option -a"
649 default y
650 depends on UMOUNT
651 help
652 Support -a option to unmount all currently mounted filesystems.
653
654comment "Common options for mount/umount"
655 depends on MOUNT || UMOUNT
656
657config FEATURE_MOUNT_LOOP
658 bool "Support loopback mounts"
659 default y
660 depends on MOUNT || UMOUNT
661 help
662 Enabling this feature allows automatic mounting of files (containing
663 filesystem images) via the linux kernel's loopback devices.
664 The mount command will detect you are trying to mount a file instead
665 of a block device, and transparently associate the file with a
666 loopback device. The umount command will also free that loopback
667 device.
668
669 You can still use the 'losetup' utility (to manually associate files
670 with loop devices) if you need to do something advanced, such as
671 specify an offset or cryptographic options to the loopback device.
672 (If you don't want umount to free the loop device, use "umount -D".)
673
674config FEATURE_MOUNT_LOOP_CREATE
675 bool "Create new loopback devices if needed"
676 default y
677 depends on FEATURE_MOUNT_LOOP
678 help
679 Linux kernels >= 2.6.24 support unlimited loopback devices. They are
680 allocated for use when trying to use a loop device. The loop device
681 must however exist.
682
683 This feature lets mount to try to create next /dev/loopN device
684 if it does not find a free one.
685
686config FEATURE_MTAB_SUPPORT
687 bool "Support for the old /etc/mtab file"
688 default n
689 depends on MOUNT || UMOUNT
690 select FEATURE_MOUNT_FAKE
691 help
692 Historically, Unix systems kept track of the currently mounted
693 partitions in the file "/etc/mtab". These days, the kernel exports
694 the list of currently mounted partitions in "/proc/mounts", rendering
695 the old mtab file obsolete. (In modern systems, /etc/mtab should be
696 a symlink to /proc/mounts.)
697
698 The only reason to have mount maintain an /etc/mtab file itself is if
699 your stripped-down embedded system does not have a /proc directory.
700 If you must use this, keep in mind it's inherently brittle (for
701 example a mount under chroot won't update it), can't handle modern
702 features like separate per-process filesystem namespaces, requires
703 that your /etc directory be writable, tends to get easily confused
704 by --bind or --move mounts, won't update if you rename a directory
705 that contains a mount point, and so on. (In brief: avoid.)
706
707 About the only reason to use this is if you've removed /proc from
708 your kernel.
709
710source util-linux/volume_id/Config.in
711
712endmenu
713