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