8d1464dc0c4187ef60a250084e798807e47159bb
[openwrt/openwrt.git] / package / utils / busybox / config / util-linux / Config.in
1 # DO NOT EDIT. This file is generated from Config.src
2 #
3 # For a description of the syntax of this configuration file,
4 # see scripts/kbuild/config-language.txt.
5 #
6
7 menu "Linux System Utilities"
8
9 config BUSYBOX_CONFIG_BLOCKDEV
10 bool "blockdev"
11 default BUSYBOX_DEFAULT_BLOCKDEV
12 help
13 Performs some ioctls with block devices.
14 config BUSYBOX_CONFIG_FATATTR
15 bool "fatattr"
16 default BUSYBOX_DEFAULT_FATATTR
17 select BUSYBOX_CONFIG_PLATFORM_LINUX
18 help
19 fatattr lists or changes the file attributes on a fat file system.
20 config BUSYBOX_CONFIG_FSTRIM
21 bool "fstrim"
22 default BUSYBOX_DEFAULT_FSTRIM
23 select BUSYBOX_CONFIG_PLATFORM_LINUX
24 help
25 Discard unused blocks on a mounted filesystem.
26 config BUSYBOX_CONFIG_MDEV
27 bool "mdev"
28 default BUSYBOX_DEFAULT_MDEV
29 select BUSYBOX_CONFIG_PLATFORM_LINUX
30 help
31 mdev is a mini-udev implementation for dynamically creating device
32 nodes in the /dev directory.
33
34 For more information, please see docs/mdev.txt
35
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
40 help
41 Add support for the mdev config file to control ownership and
42 permissions of the device nodes.
43
44 For more information, please see docs/mdev.txt
45
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
50 help
51 Add support for renaming devices and creating symlinks.
52
53 For more information, please see docs/mdev.txt
54
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
59 help
60 Add support for regular expressions substitutions when renaming
61 device.
62
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
67 help
68 This adds support for an optional field to /etc/mdev.conf for
69 executing commands when devices are created/removed.
70
71 For more information, please see docs/mdev.txt
72
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
77 help
78 Some devices need to load firmware before they can be usable.
79
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
84 bool "rev"
85 default BUSYBOX_DEFAULT_REV
86 help
87 Reverse lines of a file or files.
88
89 config BUSYBOX_CONFIG_ACPID
90 bool "acpid"
91 default BUSYBOX_DEFAULT_ACPID
92 select BUSYBOX_CONFIG_PLATFORM_LINUX
93 help
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*).
98
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.
102
103 N.B. acpid relies on run-parts so have the latter installed.
104
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
109 help
110 Accept and ignore compatibility options -g -m -s -S -v.
111
112 config BUSYBOX_CONFIG_BLKID
113 bool "blkid"
114 default BUSYBOX_DEFAULT_BLKID
115 select BUSYBOX_CONFIG_PLATFORM_LINUX
116 select BUSYBOX_CONFIG_VOLUMEID
117 help
118 Lists labels and UUIDs of all filesystems.
119 WARNING:
120 With all submodules selected, it will add ~8k to busybox.
121
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
126 help
127 Show TYPE="filesystem type"
128
129 config BUSYBOX_CONFIG_DMESG
130 bool "dmesg"
131 default BUSYBOX_DEFAULT_DMESG
132 select BUSYBOX_CONFIG_PLATFORM_LINUX
133 help
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.
141
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
146 help
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
149 "<#>".
150
151 With this option you will see:
152 # dmesg
153 Linux version 2.6.17.4 .....
154 BIOS-provided physical RAM map:
155 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
156
157 Without this option you will see:
158 # dmesg
159 <5>Linux version 2.6.17.4 .....
160 <6>BIOS-provided physical RAM map:
161 <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
162
163 config BUSYBOX_CONFIG_FBSET
164 bool "fbset"
165 default BUSYBOX_DEFAULT_FBSET
166 select BUSYBOX_CONFIG_PLATFORM_LINUX
167 help
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.
172
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
177 help
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
181 options.
182
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
187 help
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.
191
192 config BUSYBOX_CONFIG_FDFLUSH
193 bool "fdflush"
194 default BUSYBOX_DEFAULT_FDFLUSH
195 select BUSYBOX_CONFIG_PLATFORM_LINUX
196 help
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
203 leave this disabled.
204
205 config BUSYBOX_CONFIG_FDFORMAT
206 bool "fdformat"
207 default BUSYBOX_DEFAULT_FDFORMAT
208 select BUSYBOX_CONFIG_PLATFORM_LINUX
209 help
210 fdformat is used to low-level format a floppy disk.
211
212 config BUSYBOX_CONFIG_FDISK
213 bool "fdisk"
214 default BUSYBOX_DEFAULT_FDISK
215 select BUSYBOX_CONFIG_PLATFORM_LINUX
216 help
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.
221
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
227 help
228 Enable this option to support large disks > 4GB.
229
230 config BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
231 bool "Write support"
232 default BUSYBOX_DEFAULT_FEATURE_FDISK_WRITABLE
233 depends on BUSYBOX_CONFIG_FDISK
234 help
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.
238
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
243 help
244 Enabling this option allows you to create or change AIX disklabels.
245 Most people can safely leave this option disabled.
246
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
251 help
252 Enabling this option allows you to create or change SGI disklabels.
253 Most people can safely leave this option disabled.
254
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
259 help
260 Enabling this option allows you to create or change SUN disklabels.
261 Most people can safely leave this option disabled.
262
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
267 help
268 Enabling this option allows you to create or change BSD disklabels
269 and define and edit BSD disk slices.
270
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
275 help
276 Enabling this option allows you to view GUID Partition Table
277 disklabels.
278
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
283 help
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.
288
289 config BUSYBOX_CONFIG_FINDFS
290 bool "findfs"
291 default BUSYBOX_DEFAULT_FINDFS
292 select BUSYBOX_CONFIG_PLATFORM_LINUX
293 select BUSYBOX_CONFIG_VOLUMEID
294 help
295 Prints the name of a filesystem with given label or UUID.
296 WARNING:
297 With all submodules selected, it will add ~8k to busybox.
298
299 config BUSYBOX_CONFIG_FLOCK
300 bool "flock"
301 default BUSYBOX_DEFAULT_FLOCK
302 help
303 Manage locks from shell scripts
304
305 config BUSYBOX_CONFIG_FREERAMDISK
306 bool "freeramdisk"
307 default BUSYBOX_DEFAULT_FREERAMDISK
308 select BUSYBOX_CONFIG_PLATFORM_LINUX
309 help
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
315 this disabled.
316
317 config BUSYBOX_CONFIG_FSCK_MINIX
318 bool "fsck_minix"
319 default BUSYBOX_DEFAULT_FSCK_MINIX
320 help
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
326 filesystem.
327
328 config BUSYBOX_CONFIG_MKFS_EXT2
329 bool "mkfs_ext2"
330 default BUSYBOX_DEFAULT_MKFS_EXT2
331 select BUSYBOX_CONFIG_PLATFORM_LINUX
332 help
333 Utility to create EXT2 filesystems.
334
335 config BUSYBOX_CONFIG_MKFS_MINIX
336 bool "mkfs_minix"
337 default BUSYBOX_DEFAULT_MKFS_MINIX
338 select BUSYBOX_CONFIG_PLATFORM_LINUX
339 help
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.
343
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
348 help
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.
352
353 config BUSYBOX_CONFIG_MKFS_REISER
354 bool "mkfs_reiser"
355 default BUSYBOX_DEFAULT_MKFS_REISER
356 select BUSYBOX_CONFIG_PLATFORM_LINUX
357 help
358 Utility to create ReiserFS filesystems.
359 Note: this applet needs a lot of testing and polishing.
360
361 config BUSYBOX_CONFIG_MKFS_VFAT
362 bool "mkfs_vfat"
363 default BUSYBOX_DEFAULT_MKFS_VFAT
364 select BUSYBOX_CONFIG_PLATFORM_LINUX
365 help
366 Utility to create FAT32 filesystems.
367
368 config BUSYBOX_CONFIG_GETOPT
369 bool "getopt"
370 default BUSYBOX_DEFAULT_GETOPT
371 help
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.
378
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
383 help
384 Enable support for long options (option -l).
385
386 config BUSYBOX_CONFIG_HEXDUMP
387 bool "hexdump"
388 default BUSYBOX_DEFAULT_HEXDUMP
389 help
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.
392
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
397 help
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.
402
403 config BUSYBOX_CONFIG_HD
404 bool "hd"
405 default BUSYBOX_DEFAULT_HD
406 depends on BUSYBOX_CONFIG_HEXDUMP
407 help
408 hd is an alias to hexdump -C.
409
410 config BUSYBOX_CONFIG_HWCLOCK
411 bool "hwclock"
412 default BUSYBOX_DEFAULT_HWCLOCK
413 select BUSYBOX_CONFIG_PLATFORM_LINUX
414 help
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.
419
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
424 help
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.
428
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
433 help
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.
438
439 pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
440
441 config BUSYBOX_CONFIG_IPCRM
442 bool "ipcrm"
443 default BUSYBOX_DEFAULT_IPCRM
444 help
445 The ipcrm utility allows the removal of System V interprocess
446 communication (IPC) objects and the associated data structures
447 from the system.
448
449 config BUSYBOX_CONFIG_IPCS
450 bool "ipcs"
451 default BUSYBOX_DEFAULT_IPCS
452 select BUSYBOX_CONFIG_PLATFORM_LINUX
453 help
454 The ipcs utility is used to provide information on the currently
455 allocated System V interprocess (IPC) objects in the system.
456
457 config BUSYBOX_CONFIG_LOSETUP
458 bool "losetup"
459 default BUSYBOX_DEFAULT_LOSETUP
460 select BUSYBOX_CONFIG_PLATFORM_LINUX
461 help
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.
465
466 config BUSYBOX_CONFIG_LSPCI
467 bool "lspci"
468 default BUSYBOX_DEFAULT_LSPCI
469 #select PLATFORM_LINUX
470 help
471 lspci is a utility for displaying information about PCI buses in the
472 system and devices connected to them.
473
474 This version uses sysfs (/sys/bus/pci/devices) only.
475
476 config BUSYBOX_CONFIG_LSUSB
477 bool "lsusb"
478 default BUSYBOX_DEFAULT_LSUSB
479 #select PLATFORM_LINUX
480 help
481 lsusb is a utility for displaying information about USB buses in the
482 system and devices connected to them.
483
484 This version uses sysfs (/sys/bus/usb/devices) only.
485
486 config BUSYBOX_CONFIG_MKSWAP
487 bool "mkswap"
488 default BUSYBOX_DEFAULT_MKSWAP
489 help
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.
498
499 config BUSYBOX_CONFIG_FEATURE_MKSWAP_UUID
500 bool "UUID support"
501 default BUSYBOX_DEFAULT_FEATURE_MKSWAP_UUID
502 depends on BUSYBOX_CONFIG_MKSWAP
503 help
504 Generate swap spaces with universally unique identifiers.
505
506 config BUSYBOX_CONFIG_MORE
507 bool "more"
508 default BUSYBOX_DEFAULT_MORE
509 help
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.
515
516 config BUSYBOX_CONFIG_MOUNT
517 bool "mount"
518 default BUSYBOX_DEFAULT_MOUNT
519 select BUSYBOX_CONFIG_PLATFORM_LINUX
520 help
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
526 the 'mount' utility.
527
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
532 help
533 Enable support for faking a file system mount.
534
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
539 help
540 Enable multi-level -v[vv...] verbose messages. Useful if you
541 debug mount problems and want to see what is exactly passed
542 to the kernel.
543
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
548 help
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.
555
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
561 help
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.
565
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
572 help
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.
576
577 Note that this option links in RPC support from libc,
578 which is rather large (~10 kbytes on uclibc).
579
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
584 help
585 Enable support for samba mounts.
586
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
591 help
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.
596
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
601 help
602 Support mount all and looking for files in /etc/fstab.
603
604 config BUSYBOX_CONFIG_PIVOT_ROOT
605 bool "pivot_root"
606 default BUSYBOX_DEFAULT_PIVOT_ROOT
607 select BUSYBOX_CONFIG_PLATFORM_LINUX
608 help
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'.
613
614 Note: This is for initrd in linux 2.4. Under initramfs (introduced
615 in linux 2.6) use switch_root instead.
616
617 config BUSYBOX_CONFIG_RDATE
618 bool "rdate"
619 default BUSYBOX_DEFAULT_RDATE
620 help
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
624 systems.
625
626 config BUSYBOX_CONFIG_RDEV
627 bool "rdev"
628 default BUSYBOX_DEFAULT_RDEV
629 help
630 Print the device node associated with the filesystem mounted at '/'.
631
632 config BUSYBOX_CONFIG_READPROFILE
633 bool "readprofile"
634 default BUSYBOX_DEFAULT_READPROFILE
635 #select PLATFORM_LINUX
636 help
637 This allows you to parse /proc/profile for basic profiling.
638
639 config BUSYBOX_CONFIG_RTCWAKE
640 bool "rtcwake"
641 default BUSYBOX_DEFAULT_RTCWAKE
642 select BUSYBOX_CONFIG_PLATFORM_LINUX
643 help
644 Enter a system sleep state until specified wakeup time.
645
646 config BUSYBOX_CONFIG_SCRIPT
647 bool "script"
648 default BUSYBOX_DEFAULT_SCRIPT
649 help
650 The script makes typescript of terminal session.
651
652 config BUSYBOX_CONFIG_SCRIPTREPLAY
653 bool "scriptreplay"
654 default BUSYBOX_DEFAULT_SCRIPTREPLAY
655 help
656 This program replays a typescript, using timing information
657 given by script -t.
658
659 config BUSYBOX_CONFIG_SETARCH
660 bool "setarch"
661 default BUSYBOX_DEFAULT_SETARCH
662 select BUSYBOX_CONFIG_PLATFORM_LINUX
663 help
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...).
668
669 config BUSYBOX_CONFIG_SWAPONOFF
670 bool "swaponoff"
671 default BUSYBOX_DEFAULT_SWAPONOFF
672 select BUSYBOX_CONFIG_PLATFORM_LINUX
673 help
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
679 option disabled.
680
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
685 help
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.
689
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
694 help
695 Enable support for setting swap device priority in swapon.
696
697 config BUSYBOX_CONFIG_SWITCH_ROOT
698 bool "switch_root"
699 default BUSYBOX_DEFAULT_SWITCH_ROOT
700 select BUSYBOX_CONFIG_PLATFORM_LINUX
701 help
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.)
705
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.
712
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.
716
717 config BUSYBOX_CONFIG_UMOUNT
718 bool "umount"
719 default BUSYBOX_DEFAULT_UMOUNT
720 select BUSYBOX_CONFIG_PLATFORM_LINUX
721 help
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'.
726
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
731 help
732 Support -a option to unmount all currently mounted filesystems.
733
734 comment "Common options for mount/umount"
735 depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
736
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
741 help
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
747 device.
748
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".)
753
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
758 help
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
761 must however exist.
762
763 This feature lets mount to try to create next /dev/loopN device
764 if it does not find a free one.
765
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
771 help
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.)
777
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.)
786
787 About the only reason to use this is if you've removed /proc from
788 your kernel.
789
790 source package/utils/busybox/config/util-linux/volume_id/Config.in
791
792 endmenu