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