1 # DO NOT EDIT. This file is generated from Config.src
3 # For a description of the syntax of this configuration file,
4 # see scripts/kbuild/config-language.txt.
7 menu "Linux System Utilities"
9 config BUSYBOX_CONFIG_BLOCKDEV
11 default BUSYBOX_DEFAULT_BLOCKDEV
13 Performs some ioctls with block devices.
14 config BUSYBOX_CONFIG_FATATTR
16 default BUSYBOX_DEFAULT_FATATTR
17 select BUSYBOX_CONFIG_PLATFORM_LINUX
19 fatattr lists or changes the file attributes on a fat file system.
20 config BUSYBOX_CONFIG_FSTRIM
22 default BUSYBOX_DEFAULT_FSTRIM
23 select BUSYBOX_CONFIG_PLATFORM_LINUX
25 Discard unused blocks on a mounted filesystem.
26 config BUSYBOX_CONFIG_MDEV
28 default BUSYBOX_DEFAULT_MDEV
29 select BUSYBOX_CONFIG_PLATFORM_LINUX
31 mdev is a mini-udev implementation for dynamically creating device
32 nodes in the /dev directory.
34 For more information, please see docs/mdev.txt
36 config BUSYBOX_CONFIG_FEATURE_MDEV_CONF
37 bool "Support /etc/mdev.conf"
38 default BUSYBOX_DEFAULT_FEATURE_MDEV_CONF
39 depends on BUSYBOX_CONFIG_MDEV
41 Add support for the mdev config file to control ownership and
42 permissions of the device nodes.
44 For more information, please see docs/mdev.txt
46 config BUSYBOX_CONFIG_FEATURE_MDEV_RENAME
47 bool "Support subdirs/symlinks"
48 default BUSYBOX_DEFAULT_FEATURE_MDEV_RENAME
49 depends on BUSYBOX_CONFIG_FEATURE_MDEV_CONF
51 Add support for renaming devices and creating symlinks.
53 For more information, please see docs/mdev.txt
55 config BUSYBOX_CONFIG_FEATURE_MDEV_RENAME_REGEXP
56 bool "Support regular expressions substitutions when renaming device"
57 default BUSYBOX_DEFAULT_FEATURE_MDEV_RENAME_REGEXP
58 depends on BUSYBOX_CONFIG_FEATURE_MDEV_RENAME
60 Add support for regular expressions substitutions when renaming
63 config BUSYBOX_CONFIG_FEATURE_MDEV_EXEC
64 bool "Support command execution at device addition/removal"
65 default BUSYBOX_DEFAULT_FEATURE_MDEV_EXEC
66 depends on BUSYBOX_CONFIG_FEATURE_MDEV_CONF
68 This adds support for an optional field to /etc/mdev.conf for
69 executing commands when devices are created/removed.
71 For more information, please see docs/mdev.txt
73 config BUSYBOX_CONFIG_FEATURE_MDEV_LOAD_FIRMWARE
74 bool "Support loading of firmwares"
75 default BUSYBOX_DEFAULT_FEATURE_MDEV_LOAD_FIRMWARE
76 depends on BUSYBOX_CONFIG_MDEV
78 Some devices need to load firmware before they can be usable.
80 These devices will request userspace look up the files in
81 /lib/firmware/ and if it exists, send it to the kernel for
82 loading into the hardware.
83 config BUSYBOX_CONFIG_REV
85 default BUSYBOX_DEFAULT_REV
87 Reverse lines of a file or files.
89 config BUSYBOX_CONFIG_ACPID
91 default BUSYBOX_DEFAULT_ACPID
92 select BUSYBOX_CONFIG_PLATFORM_LINUX
94 acpid listens to ACPI events coming either in textual form from
95 /proc/acpi/event (though it is marked deprecated it is still widely
96 used and _is_ a standard) or in binary form from specified evdevs
97 (just use /dev/input/event*).
99 It parses the event to retrieve ACTION and a possible PARAMETER.
100 It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts
101 (if the resulting path is a directory) or directly as an executable.
103 N.B. acpid relies on run-parts so have the latter installed.
105 config BUSYBOX_CONFIG_FEATURE_ACPID_COMPAT
106 bool "Accept and ignore redundant options"
107 default BUSYBOX_DEFAULT_FEATURE_ACPID_COMPAT
108 depends on BUSYBOX_CONFIG_ACPID
110 Accept and ignore compatibility options -g -m -s -S -v.
112 config BUSYBOX_CONFIG_BLKID
114 default BUSYBOX_DEFAULT_BLKID
115 select BUSYBOX_CONFIG_PLATFORM_LINUX
116 select BUSYBOX_CONFIG_VOLUMEID
118 Lists labels and UUIDs of all filesystems.
120 With all submodules selected, it will add ~8k to busybox.
122 config BUSYBOX_CONFIG_FEATURE_BLKID_TYPE
123 bool "Print filesystem type"
124 default BUSYBOX_DEFAULT_FEATURE_BLKID_TYPE
125 depends on BUSYBOX_CONFIG_BLKID
127 Show TYPE="filesystem type"
129 config BUSYBOX_CONFIG_DMESG
131 default BUSYBOX_DEFAULT_DMESG
132 select BUSYBOX_CONFIG_PLATFORM_LINUX
134 dmesg is used to examine or control the kernel ring buffer. When the
135 Linux kernel prints messages to the system log, they are stored in
136 the kernel ring buffer. You can use dmesg to print the kernel's ring
137 buffer, clear the kernel ring buffer, change the size of the kernel
138 ring buffer, and change the priority level at which kernel messages
139 are also logged to the system console. Enable this option if you
140 wish to enable the 'dmesg' utility.
142 config BUSYBOX_CONFIG_FEATURE_DMESG_PRETTY
143 bool "Pretty dmesg output"
144 default BUSYBOX_DEFAULT_FEATURE_DMESG_PRETTY
145 depends on BUSYBOX_CONFIG_DMESG
147 If you wish to scrub the syslog level from the output, say 'Y' here.
148 The syslog level is a string prefixed to every line with the form
151 With this option you will see:
153 Linux version 2.6.17.4 .....
154 BIOS-provided physical RAM map:
155 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
157 Without this option you will see:
159 <5>Linux version 2.6.17.4 .....
160 <6>BIOS-provided physical RAM map:
161 <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
163 config BUSYBOX_CONFIG_FBSET
165 default BUSYBOX_DEFAULT_FBSET
166 select BUSYBOX_CONFIG_PLATFORM_LINUX
168 fbset is used to show or change the settings of a Linux frame buffer
169 device. The frame buffer device provides a simple and unique
170 interface to access a graphics display. Enable this option
171 if you wish to enable the 'fbset' utility.
173 config BUSYBOX_CONFIG_FEATURE_FBSET_FANCY
174 bool "Turn on extra fbset options"
175 default BUSYBOX_DEFAULT_FEATURE_FBSET_FANCY
176 depends on BUSYBOX_CONFIG_FBSET
178 This option enables extended fbset options, allowing one to set the
179 framebuffer size, color depth, etc. interface to access a graphics
180 display. Enable this option if you wish to enable extended fbset
183 config BUSYBOX_CONFIG_FEATURE_FBSET_READMODE
184 bool "Turn on fbset readmode support"
185 default BUSYBOX_DEFAULT_FEATURE_FBSET_READMODE
186 depends on BUSYBOX_CONFIG_FBSET
188 This option allows fbset to read the video mode database stored by
189 default BUSYBOX_DEFAULT_FEATURE_FBSET_READMODE /etc/fb.modes, which can be used to set frame buffer
190 device to pre-defined video modes.
192 config BUSYBOX_CONFIG_FDFLUSH
194 default BUSYBOX_DEFAULT_FDFLUSH
195 select BUSYBOX_CONFIG_PLATFORM_LINUX
197 fdflush is only needed when changing media on slightly-broken
198 removable media drives. It is used to make Linux believe that a
199 hardware disk-change switch has been actuated, which causes Linux to
200 forget anything it has cached from the previous media. If you have
201 such a slightly-broken drive, you will need to run fdflush every time
202 you change a disk. Most people have working hardware and can safely
205 config BUSYBOX_CONFIG_FDFORMAT
207 default BUSYBOX_DEFAULT_FDFORMAT
208 select BUSYBOX_CONFIG_PLATFORM_LINUX
210 fdformat is used to low-level format a floppy disk.
212 config BUSYBOX_CONFIG_FDISK
214 default BUSYBOX_DEFAULT_FDISK
215 select BUSYBOX_CONFIG_PLATFORM_LINUX
217 The fdisk utility is used to divide hard disks into one or more
218 logical disks, which are generally called partitions. This utility
219 can be used to list and edit the set of partitions or BSD style
220 'disk slices' that are defined on a hard drive.
222 config BUSYBOX_CONFIG_FDISK_SUPPORT_LARGE_DISKS
223 bool "Support over 4GB disks"
224 default BUSYBOX_DEFAULT_FDISK_SUPPORT_LARGE_DISKS
225 depends on BUSYBOX_CONFIG_FDISK
226 depends on !BUSYBOX_CONFIG_LFS # with LFS no special code is needed
228 Enable this option to support large disks > 4GB.
230 config BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
232 default BUSYBOX_DEFAULT_FEATURE_FDISK_WRITABLE
233 depends on BUSYBOX_CONFIG_FDISK
235 Enabling this option allows you to create or change a partition table
236 and write those changes out to disk. If you leave this option
237 disabled, you will only be able to view the partition table.
239 config BUSYBOX_CONFIG_FEATURE_AIX_LABEL
240 bool "Support AIX disklabels"
241 default BUSYBOX_DEFAULT_FEATURE_AIX_LABEL
242 depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
244 Enabling this option allows you to create or change AIX disklabels.
245 Most people can safely leave this option disabled.
247 config BUSYBOX_CONFIG_FEATURE_SGI_LABEL
248 bool "Support SGI disklabels"
249 default BUSYBOX_DEFAULT_FEATURE_SGI_LABEL
250 depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
252 Enabling this option allows you to create or change SGI disklabels.
253 Most people can safely leave this option disabled.
255 config BUSYBOX_CONFIG_FEATURE_SUN_LABEL
256 bool "Support SUN disklabels"
257 default BUSYBOX_DEFAULT_FEATURE_SUN_LABEL
258 depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
260 Enabling this option allows you to create or change SUN disklabels.
261 Most people can safely leave this option disabled.
263 config BUSYBOX_CONFIG_FEATURE_OSF_LABEL
264 bool "Support BSD disklabels"
265 default BUSYBOX_DEFAULT_FEATURE_OSF_LABEL
266 depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
268 Enabling this option allows you to create or change BSD disklabels
269 and define and edit BSD disk slices.
271 config BUSYBOX_CONFIG_FEATURE_GPT_LABEL
272 bool "Support GPT disklabels"
273 default BUSYBOX_DEFAULT_FEATURE_GPT_LABEL
274 depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
276 Enabling this option allows you to view GUID Partition Table
279 config BUSYBOX_CONFIG_FEATURE_FDISK_ADVANCED
280 bool "Support expert mode"
281 default BUSYBOX_DEFAULT_FEATURE_FDISK_ADVANCED
282 depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
284 Enabling this option allows you to do terribly unsafe things like
285 define arbitrary drive geometry, move the beginning of data in a
286 partition, and similarly evil things. Unless you have a very good
287 reason you would be wise to leave this disabled.
289 config BUSYBOX_CONFIG_FINDFS
291 default BUSYBOX_DEFAULT_FINDFS
292 select BUSYBOX_CONFIG_PLATFORM_LINUX
293 select BUSYBOX_CONFIG_VOLUMEID
295 Prints the name of a filesystem with given label or UUID.
297 With all submodules selected, it will add ~8k to busybox.
299 config BUSYBOX_CONFIG_FLOCK
301 default BUSYBOX_DEFAULT_FLOCK
303 Manage locks from shell scripts
305 config BUSYBOX_CONFIG_FREERAMDISK
307 default BUSYBOX_DEFAULT_FREERAMDISK
308 select BUSYBOX_CONFIG_PLATFORM_LINUX
310 Linux allows you to create ramdisks. This utility allows you to
311 delete them and completely free all memory that was used for the
312 ramdisk. For example, if you boot Linux into a ramdisk and later
313 pivot_root, you may want to free the memory that is allocated to the
314 ramdisk. If you have no use for freeing memory from a ramdisk, leave
317 config BUSYBOX_CONFIG_FSCK_MINIX
319 default BUSYBOX_DEFAULT_FSCK_MINIX
321 The minix filesystem is a nice, small, compact, read-write filesystem
322 with little overhead. It is not a journaling filesystem however and
323 can experience corruption if it is not properly unmounted or if the
324 power goes off in the middle of a write. This utility allows you to
325 check for and attempt to repair any corruption that occurs to a minix
328 config BUSYBOX_CONFIG_MKFS_EXT2
330 default BUSYBOX_DEFAULT_MKFS_EXT2
331 select BUSYBOX_CONFIG_PLATFORM_LINUX
333 Utility to create EXT2 filesystems.
335 config BUSYBOX_CONFIG_MKFS_MINIX
337 default BUSYBOX_DEFAULT_MKFS_MINIX
338 select BUSYBOX_CONFIG_PLATFORM_LINUX
340 The minix filesystem is a nice, small, compact, read-write filesystem
341 with little overhead. If you wish to be able to create minix
342 filesystems this utility will do the job for you.
344 config BUSYBOX_CONFIG_FEATURE_MINIX2
345 bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
346 default BUSYBOX_DEFAULT_FEATURE_MINIX2
347 depends on BUSYBOX_CONFIG_FSCK_MINIX || BUSYBOX_CONFIG_MKFS_MINIX
349 If you wish to be able to create version 2 minix filesystems, enable
350 this. If you enabled 'mkfs_minix' then you almost certainly want to
351 be using the version 2 filesystem support.
353 config BUSYBOX_CONFIG_MKFS_REISER
355 default BUSYBOX_DEFAULT_MKFS_REISER
356 select BUSYBOX_CONFIG_PLATFORM_LINUX
358 Utility to create ReiserFS filesystems.
359 Note: this applet needs a lot of testing and polishing.
361 config BUSYBOX_CONFIG_MKFS_VFAT
363 default BUSYBOX_DEFAULT_MKFS_VFAT
364 select BUSYBOX_CONFIG_PLATFORM_LINUX
366 Utility to create FAT32 filesystems.
368 config BUSYBOX_CONFIG_GETOPT
370 default BUSYBOX_DEFAULT_GETOPT
372 The getopt utility is used to break up (parse) options in command
373 lines to make it easy to write complex shell scripts that also check
374 for legal (and illegal) options. If you want to write horribly
375 complex shell scripts, or use some horribly complex shell script
376 written by others, this utility may be for you. Most people will
377 wisely leave this disabled.
379 config BUSYBOX_CONFIG_FEATURE_GETOPT_LONG
380 bool "Support option -l"
381 default BUSYBOX_DEFAULT_FEATURE_GETOPT_LONG if BUSYBOX_CONFIG_LONG_OPTS
382 depends on BUSYBOX_CONFIG_GETOPT
384 Enable support for long options (option -l).
386 config BUSYBOX_CONFIG_HEXDUMP
388 default BUSYBOX_DEFAULT_HEXDUMP
390 The hexdump utility is used to display binary data in a readable
391 way that is comparable to the output from most hex editors.
393 config BUSYBOX_CONFIG_FEATURE_HEXDUMP_REVERSE
394 bool "Support -R, reverse of 'hexdump -Cv'"
395 default BUSYBOX_DEFAULT_FEATURE_HEXDUMP_REVERSE
396 depends on BUSYBOX_CONFIG_HEXDUMP
398 The hexdump utility is used to display binary data in an ascii
399 readable way. This option creates binary data from an ascii input.
400 NB: this option is non-standard. It's unwise to use it in scripts
401 aimed to be portable.
403 config BUSYBOX_CONFIG_HD
405 default BUSYBOX_DEFAULT_HD
406 depends on BUSYBOX_CONFIG_HEXDUMP
408 hd is an alias to hexdump -C.
410 config BUSYBOX_CONFIG_HWCLOCK
412 default BUSYBOX_DEFAULT_HWCLOCK
413 select BUSYBOX_CONFIG_PLATFORM_LINUX
415 The hwclock utility is used to read and set the hardware clock
416 on a system. This is primarily used to set the current time on
417 shutdown in the hardware clock, so the hardware will keep the
418 correct time when Linux is _not_ running.
420 config BUSYBOX_CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS
421 bool "Support long options (--hctosys,...)"
422 default BUSYBOX_DEFAULT_FEATURE_HWCLOCK_LONG_OPTIONS
423 depends on BUSYBOX_CONFIG_HWCLOCK && BUSYBOX_CONFIG_LONG_OPTS
425 By default, the hwclock utility only uses short options. If you
426 are overly fond of its long options, such as --hctosys, --utc, etc)
427 then enable this option.
429 config BUSYBOX_CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS
430 bool "Use FHS /var/lib/hwclock/adjtime"
431 default BUSYBOX_DEFAULT_FEATURE_HWCLOCK_ADJTIME_FHS # util-linux-ng in Fedora 13 still uses /etc/adjtime
432 depends on BUSYBOX_CONFIG_HWCLOCK
434 Starting with FHS 2.3, the adjtime state file is supposed to exist
435 at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
436 to use the FHS behavior, answer Y here, otherwise answer N for the
437 classic /etc/adjtime path.
439 pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
441 config BUSYBOX_CONFIG_IPCRM
443 default BUSYBOX_DEFAULT_IPCRM
445 The ipcrm utility allows the removal of System V interprocess
446 communication (IPC) objects and the associated data structures
449 config BUSYBOX_CONFIG_IPCS
451 default BUSYBOX_DEFAULT_IPCS
452 select BUSYBOX_CONFIG_PLATFORM_LINUX
454 The ipcs utility is used to provide information on the currently
455 allocated System V interprocess (IPC) objects in the system.
457 config BUSYBOX_CONFIG_LOSETUP
459 default BUSYBOX_DEFAULT_LOSETUP
460 select BUSYBOX_CONFIG_PLATFORM_LINUX
462 losetup is used to associate or detach a loop device with a regular
463 file or block device, and to query the status of a loop device. This
464 version does not currently support enabling data encryption.
466 config BUSYBOX_CONFIG_LSPCI
468 default BUSYBOX_DEFAULT_LSPCI
469 #select PLATFORM_LINUX
471 lspci is a utility for displaying information about PCI buses in the
472 system and devices connected to them.
474 This version uses sysfs (/sys/bus/pci/devices) only.
476 config BUSYBOX_CONFIG_LSUSB
478 default BUSYBOX_DEFAULT_LSUSB
479 #select PLATFORM_LINUX
481 lsusb is a utility for displaying information about USB buses in the
482 system and devices connected to them.
484 This version uses sysfs (/sys/bus/usb/devices) only.
486 config BUSYBOX_CONFIG_MKSWAP
488 default BUSYBOX_DEFAULT_MKSWAP
490 The mkswap utility is used to configure a file or disk partition as
491 Linux swap space. This allows Linux to use the entire file or
492 partition as if it were additional RAM, which can greatly increase
493 the capability of low-memory machines. This additional memory is
494 much slower than real RAM, but can be very helpful at preventing your
495 applications being killed by the Linux out of memory (OOM) killer.
496 Once you have created swap space using 'mkswap' you need to enable
497 the swap space using the 'swapon' utility.
499 config BUSYBOX_CONFIG_FEATURE_MKSWAP_UUID
501 default BUSYBOX_DEFAULT_FEATURE_MKSWAP_UUID
502 depends on BUSYBOX_CONFIG_MKSWAP
504 Generate swap spaces with universally unique identifiers.
506 config BUSYBOX_CONFIG_MORE
508 default BUSYBOX_DEFAULT_MORE
510 more is a simple utility which allows you to read text one screen
511 sized page at a time. If you want to read text that is larger than
512 the screen, and you are using anything faster than a 300 baud modem,
513 you will probably find this utility very helpful. If you don't have
514 any need to reading text files, you can leave this disabled.
516 config BUSYBOX_CONFIG_MOUNT
518 default BUSYBOX_DEFAULT_MOUNT
519 select BUSYBOX_CONFIG_PLATFORM_LINUX
521 All files and filesystems in Unix are arranged into one big directory
522 tree. The 'mount' utility is used to graft a filesystem onto a
523 particular part of the tree. A filesystem can either live on a block
524 device, or it can be accessible over the network, as is the case with
525 NFS filesystems. Most people using BusyBox will also want to enable
528 config BUSYBOX_CONFIG_FEATURE_MOUNT_FAKE
529 bool "Support option -f"
530 default BUSYBOX_DEFAULT_FEATURE_MOUNT_FAKE
531 depends on BUSYBOX_CONFIG_MOUNT
533 Enable support for faking a file system mount.
535 config BUSYBOX_CONFIG_FEATURE_MOUNT_VERBOSE
536 bool "Support option -v"
537 default BUSYBOX_DEFAULT_FEATURE_MOUNT_VERBOSE
538 depends on BUSYBOX_CONFIG_MOUNT
540 Enable multi-level -v[vv...] verbose messages. Useful if you
541 debug mount problems and want to see what is exactly passed
544 config BUSYBOX_CONFIG_FEATURE_MOUNT_HELPERS
545 bool "Support mount helpers"
546 default BUSYBOX_DEFAULT_FEATURE_MOUNT_HELPERS
547 depends on BUSYBOX_CONFIG_MOUNT
549 Enable mounting of virtual file systems via external helpers.
550 E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call
551 "obexfs -b00.11.22.33.44.55 /mnt"
552 Also "mount -t sometype [-o opts] fs /mnt" will try
553 "sometype [-o opts] fs /mnt" if simple mount syscall fails.
554 The idea is to use such virtual filesystems in /etc/fstab.
556 config BUSYBOX_CONFIG_FEATURE_MOUNT_LABEL
557 bool "Support specifying devices by label or UUID"
558 default BUSYBOX_DEFAULT_FEATURE_MOUNT_LABEL
559 depends on BUSYBOX_CONFIG_MOUNT
560 select BUSYBOX_CONFIG_VOLUMEID
562 This allows for specifying a device by label or uuid, rather than by
563 name. This feature utilizes the same functionality as blkid/findfs.
564 This also enables label or uuid support for swapon.
566 config BUSYBOX_CONFIG_FEATURE_MOUNT_NFS
567 bool "Support mounting NFS file systems on Linux < 2.6.23"
568 default BUSYBOX_DEFAULT_FEATURE_MOUNT_NFS
569 depends on BUSYBOX_CONFIG_MOUNT
570 select BUSYBOX_CONFIG_FEATURE_HAVE_RPC
571 select BUSYBOX_CONFIG_FEATURE_SYSLOG
573 Enable mounting of NFS file systems on Linux kernels prior
574 to version 2.6.23. Note that in this case mounting of NFS
575 over IPv6 will not be possible.
577 Note that this option links in RPC support from libc,
578 which is rather large (~10 kbytes on uclibc).
580 config BUSYBOX_CONFIG_FEATURE_MOUNT_CIFS
581 bool "Support mounting CIFS/SMB file systems"
582 default BUSYBOX_DEFAULT_FEATURE_MOUNT_CIFS
583 depends on BUSYBOX_CONFIG_MOUNT
585 Enable support for samba mounts.
587 config BUSYBOX_CONFIG_FEATURE_MOUNT_FLAGS
588 depends on BUSYBOX_CONFIG_MOUNT
589 bool "Support lots of -o flags in mount"
590 default BUSYBOX_DEFAULT_FEATURE_MOUNT_FLAGS
592 Without this, mount only supports ro/rw/remount. With this, it
593 supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
594 noatime, diratime, nodiratime, loud, bind, move, shared, slave,
595 private, unbindable, rshared, rslave, rprivate, and runbindable.
597 config BUSYBOX_CONFIG_FEATURE_MOUNT_FSTAB
598 depends on BUSYBOX_CONFIG_MOUNT
599 bool "Support /etc/fstab and -a"
600 default BUSYBOX_DEFAULT_FEATURE_MOUNT_FSTAB
602 Support mount all and looking for files in /etc/fstab.
604 config BUSYBOX_CONFIG_PIVOT_ROOT
606 default BUSYBOX_DEFAULT_PIVOT_ROOT
607 select BUSYBOX_CONFIG_PLATFORM_LINUX
609 The pivot_root utility swaps the mount points for the root filesystem
610 with some other mounted filesystem. This allows you to do all sorts
611 of wild and crazy things with your Linux system and is far more
612 powerful than 'chroot'.
614 Note: This is for initrd in linux 2.4. Under initramfs (introduced
615 in linux 2.6) use switch_root instead.
617 config BUSYBOX_CONFIG_RDATE
619 default BUSYBOX_DEFAULT_RDATE
621 The rdate utility allows you to synchronize the date and time of your
622 system clock with the date and time of a remote networked system using
623 the RFC868 protocol, which is built into the inetd daemon on most
626 config BUSYBOX_CONFIG_RDEV
628 default BUSYBOX_DEFAULT_RDEV
630 Print the device node associated with the filesystem mounted at '/'.
632 config BUSYBOX_CONFIG_READPROFILE
634 default BUSYBOX_DEFAULT_READPROFILE
635 #select PLATFORM_LINUX
637 This allows you to parse /proc/profile for basic profiling.
639 config BUSYBOX_CONFIG_RTCWAKE
641 default BUSYBOX_DEFAULT_RTCWAKE
642 select BUSYBOX_CONFIG_PLATFORM_LINUX
644 Enter a system sleep state until specified wakeup time.
646 config BUSYBOX_CONFIG_SCRIPT
648 default BUSYBOX_DEFAULT_SCRIPT
650 The script makes typescript of terminal session.
652 config BUSYBOX_CONFIG_SCRIPTREPLAY
654 default BUSYBOX_DEFAULT_SCRIPTREPLAY
656 This program replays a typescript, using timing information
659 config BUSYBOX_CONFIG_SETARCH
661 default BUSYBOX_DEFAULT_SETARCH
662 select BUSYBOX_CONFIG_PLATFORM_LINUX
664 The linux32 utility is used to create a 32bit environment for the
665 specified program (usually a shell). It only makes sense to have
666 this util on a system that supports both 64bit and 32bit userland
667 (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
669 config BUSYBOX_CONFIG_SWAPONOFF
671 default BUSYBOX_DEFAULT_SWAPONOFF
672 select BUSYBOX_CONFIG_PLATFORM_LINUX
674 This option enables both the 'swapon' and the 'swapoff' utilities.
675 Once you have created some swap space using 'mkswap', you also need
676 to enable your swap space with the 'swapon' utility. The 'swapoff'
677 utility is used, typically at system shutdown, to disable any swap
678 space. If you are not using any swap space, you can leave this
681 config BUSYBOX_CONFIG_FEATURE_SWAPON_DISCARD
682 bool "Support discard option -d"
683 default BUSYBOX_DEFAULT_FEATURE_SWAPON_DISCARD
684 depends on BUSYBOX_CONFIG_SWAPONOFF
686 Enable support for discarding swap area blocks at swapon and/or as
687 the kernel frees them. This option enables both the -d option on
688 'swapon' and the 'discard' option for swap entries in /etc/fstab.
690 config BUSYBOX_CONFIG_FEATURE_SWAPON_PRI
691 bool "Support priority option -p"
692 default BUSYBOX_DEFAULT_FEATURE_SWAPON_PRI
693 depends on BUSYBOX_CONFIG_SWAPONOFF
695 Enable support for setting swap device priority in swapon.
697 config BUSYBOX_CONFIG_SWITCH_ROOT
699 default BUSYBOX_DEFAULT_SWITCH_ROOT
700 select BUSYBOX_CONFIG_PLATFORM_LINUX
702 The switch_root utility is used from initramfs to select a new
703 root device. Under initramfs, you have to use this instead of
704 pivot_root. (Stop reading here if you don't care why.)
706 Booting with initramfs extracts a gzipped cpio archive into rootfs
707 (which is a variant of ramfs/tmpfs). Because rootfs can't be moved
708 or unmounted*, pivot_root will not work from initramfs. Instead,
709 switch_root deletes everything out of rootfs (including itself),
710 does a mount --move that overmounts rootfs with the new root, and
711 then execs the specified init program.
713 * Because the Linux kernel uses rootfs internally as the starting
714 and ending point for searching through the kernel's doubly linked
715 list of active mount points. That's why.
717 config BUSYBOX_CONFIG_UMOUNT
719 default BUSYBOX_DEFAULT_UMOUNT
720 select BUSYBOX_CONFIG_PLATFORM_LINUX
722 When you want to remove a mounted filesystem from its current mount
723 point, for example when you are shutting down the system, the
724 'umount' utility is the tool to use. If you enabled the 'mount'
725 utility, you almost certainly also want to enable 'umount'.
727 config BUSYBOX_CONFIG_FEATURE_UMOUNT_ALL
728 bool "Support option -a"
729 default BUSYBOX_DEFAULT_FEATURE_UMOUNT_ALL
730 depends on BUSYBOX_CONFIG_UMOUNT
732 Support -a option to unmount all currently mounted filesystems.
734 comment "Common options for mount/umount"
735 depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
737 config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP
738 bool "Support loopback mounts"
739 default BUSYBOX_DEFAULT_FEATURE_MOUNT_LOOP
740 depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
742 Enabling this feature allows automatic mounting of files (containing
743 filesystem images) via the linux kernel's loopback devices.
744 The mount command will detect you are trying to mount a file instead
745 of a block device, and transparently associate the file with a
746 loopback device. The umount command will also free that loopback
749 You can still use the 'losetup' utility (to manually associate files
750 with loop devices) if you need to do something advanced, such as
751 specify an offset or cryptographic options to the loopback device.
752 (If you don't want umount to free the loop device, use "umount -D".)
754 config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP_CREATE
755 bool "Create new loopback devices if needed"
756 default BUSYBOX_DEFAULT_FEATURE_MOUNT_LOOP_CREATE
757 depends on BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP
759 Linux kernels >= 2.6.24 support unlimited loopback devices. They are
760 allocated for use when trying to use a loop device. The loop device
763 This feature lets mount to try to create next /dev/loopN device
764 if it does not find a free one.
766 config BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT
767 bool "Support for the old /etc/mtab file"
768 default BUSYBOX_DEFAULT_FEATURE_MTAB_SUPPORT
769 depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
770 select BUSYBOX_CONFIG_FEATURE_MOUNT_FAKE
772 Historically, Unix systems kept track of the currently mounted
773 partitions in the file "/etc/mtab". These days, the kernel exports
774 the list of currently mounted partitions in "/proc/mounts", rendering
775 the old mtab file obsolete. (In modern systems, /etc/mtab should be
776 a symlink to /proc/mounts.)
778 The only reason to have mount maintain an /etc/mtab file itself is if
779 your stripped-down embedded system does not have a /proc directory.
780 If you must use this, keep in mind it's inherently brittle (for
781 example a mount under chroot won't update it), can't handle modern
782 features like separate per-process filesystem namespaces, requires
783 that your /etc directory be writable, tends to get easily confused
784 by --bind or --move mounts, won't update if you rename a directory
785 that contains a mount point, and so on. (In brief: avoid.)
787 About the only reason to use this is if you've removed /proc from
790 source package/utils/busybox/config/util-linux/volume_id/Config.in