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