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