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