2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
8 config BUSYBOX_CONFIG_BASENAME
12 basename is used to strip the directory and suffix from filenames,
13 leaving just the filename itself. Enable this option if you wish
14 to enable the 'basename' utility.
16 config BUSYBOX_CONFIG_CAL
20 cal is used to display a monthly calender.
22 config BUSYBOX_CONFIG_CAT
26 cat is used to concatenate files and print them to the standard
27 output. Enable this option if you wish to enable the 'cat' utility.
29 config BUSYBOX_CONFIG_CATV
33 Display nonprinting characters as escape sequences (like some
34 implementations' cat -v option).
36 config BUSYBOX_CONFIG_CHGRP
40 chgrp is used to change the group ownership of files.
42 config BUSYBOX_CONFIG_CHMOD
46 chmod is used to change the access permission of files.
48 config BUSYBOX_CONFIG_CHOWN
52 chown is used to change the user and/or group ownership
55 config BUSYBOX_CONFIG_CHROOT
59 chroot is used to change the root directory and run a command.
60 The default command is `/bin/sh'.
62 config BUSYBOX_CONFIG_CKSUM
66 cksum is used to calculate the CRC32 checksum of a file.
68 config BUSYBOX_CONFIG_CMP
72 cmp is used to compare two files and returns the result
75 config BUSYBOX_CONFIG_COMM
79 comm is used to compare two files line by line and return
80 a three-column output.
82 config BUSYBOX_CONFIG_CP
86 cp is used to copy files and directories.
88 config BUSYBOX_CONFIG_CUT
92 cut is used to print selected parts of lines from
95 config BUSYBOX_CONFIG_DATE
99 date is used to set the system date or display the
100 current time in the given format.
102 config BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT
103 bool "Enable ISO date format output (-I)"
105 depends on BUSYBOX_CONFIG_DATE
107 Enable option (-I) to output an ISO-8601 compliant
110 config BUSYBOX_CONFIG_DD
114 dd copies a file (from standard input to standard output,
115 by default) using specific input and output blocksizes,
116 while optionally performing conversions on it.
118 config BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING
119 bool "Enable DD signal handling for status reporting"
121 depends on BUSYBOX_CONFIG_DD
123 sending a SIGUSR1 signal to a running `dd' process makes it
124 print to standard error the number of records read and written
125 so far, then to resume copying.
127 $ dd if=/dev/zero of=/dev/null& pid=$! $ kill -USR1 $pid; sleep 1; kill $pid
128 10899206+0 records in 10899206+0 records out
130 config BUSYBOX_CONFIG_FEATURE_DD_IBS_OBS
131 bool "Enable ibs, obs and conv options"
133 depends on BUSYBOX_CONFIG_DD
135 Enables support for writing a certain number of bytes in and out,
136 at a time, and performing conversions on the data stream.
138 config BUSYBOX_CONFIG_DF
142 df reports the amount of disk space used and available
145 config BUSYBOX_CONFIG_DIFF
149 diff compares two files or directories and outputs the
150 differences between them in a form that can be given to
153 config BUSYBOX_CONFIG_FEATURE_DIFF_BINARY
154 bool "Enable checks for binary files"
156 depends on BUSYBOX_CONFIG_DIFF
158 This option enables support for checking for binary files
159 before a comparison is carried out.
161 config BUSYBOX_CONFIG_FEATURE_DIFF_DIR
162 bool "Enable directory support"
164 depends on BUSYBOX_CONFIG_DIFF
166 This option enables support for directory and subdirectory
169 config BUSYBOX_CONFIG_FEATURE_DIFF_MINIMAL
170 bool "Enable -d option to find smaller sets of changes"
172 depends on BUSYBOX_CONFIG_DIFF
174 Enabling this option allows the use of -d to make diff
175 try hard to find the smallest possible set of changes.
177 config BUSYBOX_CONFIG_DIRNAME
181 dirname is used to strip a non-directory suffix from
184 config BUSYBOX_CONFIG_DOS2UNIX
185 bool "dos2unix/unix2dos"
188 dos2unix is used to convert a text file from DOS format to
189 UNIX format, and vice versa.
191 config BUSYBOX_CONFIG_UNIX2DOS
194 depends on BUSYBOX_CONFIG_DOS2UNIX
196 unix2dos is used to convert a text file from UNIX format to
197 DOS format, and vice versa.
199 config BUSYBOX_CONFIG_DU
200 bool "du (default blocksize of 512 bytes)"
203 du is used to report the amount of disk space used
206 config BUSYBOX_CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
207 bool "Use a default blocksize of 1024 bytes (1K)"
209 depends on BUSYBOX_CONFIG_DU
211 Use a blocksize of (1K) instead of the default 512b.
213 config BUSYBOX_CONFIG_ECHO
214 bool "echo (basic SuSv3 version taking no options)"
217 echo is used to print a specified string to stdout.
219 # this entry also appears in shell/Config.in, next to the echo builtin
220 config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO
221 bool "Enable echo options (-n and -e)"
223 depends on BUSYBOX_CONFIG_ECHO
225 This adds options (-n and -e) to echo.
227 config BUSYBOX_CONFIG_ENV
231 env is used to set an environment variable and run
232 a command; without options it displays the current
235 config BUSYBOX_CONFIG_FEATURE_ENV_LONG_OPTIONS
236 bool "Enable long options"
238 depends on BUSYBOX_CONFIG_ENV && BUSYBOX_CONFIG_GETOPT_LONG
240 Support long options for the env applet.
242 config BUSYBOX_CONFIG_EXPR
246 expr is used to calculate numbers and print the result
249 config BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64
250 bool "Extend Posix numbers support to 64 bit"
252 depends on BUSYBOX_CONFIG_EXPR
254 Enable 64-bit math support in the expr applet. This will make
255 the applet slightly larger, but will allow computation with very
258 config BUSYBOX_CONFIG_FALSE
262 false returns an exit code of FALSE (1).
264 config BUSYBOX_CONFIG_FOLD
268 Wrap text to fit a specific width.
270 config BUSYBOX_CONFIG_HEAD
274 head is used to print the first specified number of lines
277 config BUSYBOX_CONFIG_FEATURE_FANCY_HEAD
278 bool "Enable head options (-c, -q, and -v)"
280 depends on BUSYBOX_CONFIG_HEAD
282 This enables the head options (-c, -q, and -v).
284 config BUSYBOX_CONFIG_HOSTID
288 hostid prints the numeric identifier (in hexadecimal) for
291 config BUSYBOX_CONFIG_ID
295 id displays the current user and group ID names.
297 config BUSYBOX_CONFIG_INSTALL
301 Copy files and set attributes.
303 config BUSYBOX_CONFIG_FEATURE_INSTALL_LONG_OPTIONS
304 bool "Enable long options"
306 depends on BUSYBOX_CONFIG_INSTALL && BUSYBOX_CONFIG_GETOPT_LONG
308 Support long options for the install applet.
310 config BUSYBOX_CONFIG_LENGTH
314 length is used to print out the length of a specified string.
316 config BUSYBOX_CONFIG_LN
320 ln is used to create hard or soft links between files.
322 config BUSYBOX_CONFIG_LOGNAME
326 logname is used to print the current user's login name.
328 config BUSYBOX_CONFIG_LS
332 ls is used to list the contents of directories.
334 config BUSYBOX_CONFIG_FEATURE_LS_FILETYPES
335 bool "Enable filetyping options (-p and -F)"
337 depends on BUSYBOX_CONFIG_LS
339 Enable the ls options (-p and -F).
341 config BUSYBOX_CONFIG_FEATURE_LS_FOLLOWLINKS
342 bool "Enable symlinks dereferencing (-L)"
344 depends on BUSYBOX_CONFIG_LS
346 Enable the ls option (-L).
348 config BUSYBOX_CONFIG_FEATURE_LS_RECURSIVE
349 bool "Enable recursion (-R)"
351 depends on BUSYBOX_CONFIG_LS
353 Enable the ls option (-R).
355 config BUSYBOX_CONFIG_FEATURE_LS_SORTFILES
356 bool "Sort the file names"
358 depends on BUSYBOX_CONFIG_LS
360 Allow ls to sort file names alphabetically.
362 config BUSYBOX_CONFIG_FEATURE_LS_TIMESTAMPS
363 bool "Show file timestamps"
365 depends on BUSYBOX_CONFIG_LS
367 Allow ls to display timestamps for files.
369 config BUSYBOX_CONFIG_FEATURE_LS_USERNAME
370 bool "Show username/groupnames"
372 depends on BUSYBOX_CONFIG_LS
374 Allow ls to display username/groupname for files.
376 config BUSYBOX_CONFIG_FEATURE_LS_COLOR
377 bool "Allow use of color to identify file types"
379 depends on BUSYBOX_CONFIG_LS && BUSYBOX_CONFIG_GETOPT_LONG
381 This enables the --color option to ls.
383 config BUSYBOX_CONFIG_FEATURE_LS_COLOR_IS_DEFAULT
384 bool "Produce colored ls output by default"
386 depends on BUSYBOX_CONFIG_FEATURE_LS_COLOR
388 Saying yes here will turn coloring on by default,
389 even if no "--color" option is given to the ls command.
390 This is not recommended, since the colors are not
391 configurable, and the output may not be legible on
394 config BUSYBOX_CONFIG_MD5SUM
398 md5sum is used to print or check MD5 checksums.
400 config BUSYBOX_CONFIG_MKDIR
404 mkdir is used to create directories with the specified names.
406 config BUSYBOX_CONFIG_FEATURE_MKDIR_LONG_OPTIONS
407 bool "Enable long options"
409 depends on BUSYBOX_CONFIG_MKDIR && BUSYBOX_CONFIG_GETOPT_LONG
411 Support long options for the mkdir applet.
413 config BUSYBOX_CONFIG_MKFIFO
417 mkfifo is used to create FIFOs (named pipes).
418 The `mknod' program can also create FIFOs.
420 config BUSYBOX_CONFIG_MKNOD
424 mknod is used to create FIFOs or block/character special
425 files with the specified names.
427 config BUSYBOX_CONFIG_MV
431 mv is used to move or rename files or directories.
433 config BUSYBOX_CONFIG_FEATURE_MV_LONG_OPTIONS
434 bool "Enable long options"
436 depends on BUSYBOX_CONFIG_MV && BUSYBOX_CONFIG_GETOPT_LONG
438 Support long options for the mv applet.
440 config BUSYBOX_CONFIG_NICE
444 nice runs a program with modified scheduling priority.
446 config BUSYBOX_CONFIG_NOHUP
450 run a command immune to hangups, with output to a non-tty.
452 config BUSYBOX_CONFIG_OD
456 od is used to dump binary files in octal and other formats.
458 config BUSYBOX_CONFIG_PRINTENV
462 printenv is used to print all or part of environment.
464 config BUSYBOX_CONFIG_PRINTF
468 printf is used to format and print specified strings.
469 It's similar to `echo' except it has more options.
471 config BUSYBOX_CONFIG_PWD
475 pwd is used to print the current directory.
477 config BUSYBOX_CONFIG_REALPATH
481 Return the canonicalized absolute pathname.
482 This isn't provided by GNU shellutils, but where else does it belong.
484 config BUSYBOX_CONFIG_RM
488 rm is used to remove files or directories.
490 config BUSYBOX_CONFIG_RMDIR
494 rmdir is used to remove empty directories.
496 config BUSYBOX_CONFIG_SEQ
500 print a sequence of numbers
502 config BUSYBOX_CONFIG_SHA1SUM
506 Compute and check SHA1 message digest
508 config BUSYBOX_CONFIG_SLEEP
509 bool "sleep (single integer arg with no suffix)"
512 sleep is used to pause for a specified number of seconds,
514 config BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP
515 bool "Enable multiple integer args and optional time suffixes"
517 depends on BUSYBOX_CONFIG_SLEEP
519 Allow sleep to pause for specified minutes, hours, and days.
521 config BUSYBOX_CONFIG_SORT
525 sort is used to sort lines of text in specified files.
527 config BUSYBOX_CONFIG_FEATURE_SORT_BIG
528 bool "full SuSv3 compliant sort (Support -ktcsbdfiozgM)"
530 depends on BUSYBOX_CONFIG_SORT
532 Without this, sort only supports -r, -u, and an integer version
533 of -n. Selecting this adds sort keys, floating point support, and
534 more. This adds a little over 3k to a nonstatic build on x86.
536 The SuSv3 sort standard is available at:
537 http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
539 config BUSYBOX_CONFIG_STAT
543 display file or filesystem status.
545 config BUSYBOX_CONFIG_FEATURE_STAT_FORMAT
546 bool "Enable custom formats (-c)"
548 depends on BUSYBOX_CONFIG_STAT
550 Without this, stat will not support the '-c format' option where
551 users can pass a custom format string for output. This adds about
552 7k to a nonstatic build on amd64.
554 config BUSYBOX_CONFIG_STTY
558 stty is used to change and print terminal line settings.
560 config BUSYBOX_CONFIG_SUM
564 checksum and count the blocks in a file
566 config BUSYBOX_CONFIG_SYNC
570 sync is used to flush filesystem buffers.
572 config BUSYBOX_CONFIG_TAIL
576 tail is used to print the last specified number of lines
579 config BUSYBOX_CONFIG_FEATURE_FANCY_TAIL
580 bool "Enable extra tail options (-q, -s, and -v)"
582 depends on BUSYBOX_CONFIG_TAIL
584 The options (-q, -s, and -v) are provided by GNU tail, but
585 are not specific in the SUSv3 standard.
587 config BUSYBOX_CONFIG_TEE
591 tee is used to read from standard input and write
592 to standard output and files.
594 config BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO
595 bool "Enable block i/o (larger/faster) instead of byte i/o."
597 depends on BUSYBOX_CONFIG_TEE
599 Enable this option for a faster tee, at expense of size.
601 config BUSYBOX_CONFIG_TEST
605 test is used to check file types and compare values,
606 returning an appropriate exit code. The bash shell
607 has test built in, ash can build it in optionally.
609 config BUSYBOX_CONFIG_FEATURE_TEST_64
610 bool "Extend test to 64 bit"
612 depends on BUSYBOX_CONFIG_TEST
614 Enable 64-bit support in test.
616 config BUSYBOX_CONFIG_TOUCH
620 touch is used to create or change the access and/or
621 modification timestamp of specified files.
623 config BUSYBOX_CONFIG_TR
627 tr is used to squeeze, and/or delete characters from standard
628 input, writing to standard output.
630 config BUSYBOX_CONFIG_FEATURE_TR_CLASSES
631 bool "Enable character classes (such as [:upper:])"
633 depends on BUSYBOX_CONFIG_TR
635 Enable character classes, enabling commands such as:
636 tr [:upper:] [:lower:] to convert input into lowercase.
638 config BUSYBOX_CONFIG_FEATURE_TR_EQUIV
639 bool "Enable equivalence classes"
641 depends on BUSYBOX_CONFIG_TR
643 Enable equivalence classes, which essentially add the enclosed
644 character to the current set. For instance, tr [=a=] xyz would
645 replace all instances of 'a' with 'xyz'. This option is mainly
646 useful for cases when no other way of expressing a character
649 config BUSYBOX_CONFIG_TRUE
653 true returns an exit code of TRUE (0).
655 config BUSYBOX_CONFIG_TTY
659 tty is used to print the name of the current terminal to
662 config BUSYBOX_CONFIG_UNAME
666 uname is used to print system information.
668 config BUSYBOX_CONFIG_UNIQ
672 uniq is used to remove duplicate lines from a sorted file.
674 config BUSYBOX_CONFIG_USLEEP
678 usleep is used to pause for a specified number of microseconds.
680 config BUSYBOX_CONFIG_UUDECODE
684 uudecode is used to decode a uuencoded file.
686 config BUSYBOX_CONFIG_UUENCODE
690 uuencode is used to uuencode a file.
692 config BUSYBOX_CONFIG_WATCH
695 select BUSYBOX_CONFIG_DATE
697 watch is used to execute a program periodically, showing
698 output to the screen.
700 config BUSYBOX_CONFIG_WC
704 wc is used to print the number of bytes, words, and lines,
707 config BUSYBOX_CONFIG_WHO
710 select BUSYBOX_CONFIG_FEATURE_UTMP
712 who is used to show who is logged on.
714 config BUSYBOX_CONFIG_WHOAMI
718 whoami is used to print the username of the current
719 user id (same as id -un).
721 config BUSYBOX_CONFIG_YES
725 yes is used to repeatedly output a specific string, or
726 the default string `y'.
728 comment "Common options for cp and mv"
729 depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV
731 config BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS
732 bool "Preserve hard links"
734 depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV
736 Allow cp and mv to preserve hard links.
738 comment "Common options for ls, more and telnet"
739 depends on BUSYBOX_CONFIG_LS || BUSYBOX_CONFIG_MORE || BUSYBOX_CONFIG_TELNET
741 config BUSYBOX_CONFIG_FEATURE_AUTOWIDTH
742 bool "Calculate terminal & column widths"
744 depends on BUSYBOX_CONFIG_LS || BUSYBOX_CONFIG_MORE || BUSYBOX_CONFIG_TELNET
746 This option allows utilities such as 'ls', 'more' and 'telnet'
747 to determine the width of the screen, which can allow them to
748 display additional text or avoid wrapping text onto the next line.
749 If you leave this disabled, your utilities will be especially
750 primitive and will be unable to determine the current screen width.
752 comment "Common options for df, du, ls"
753 depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS
755 config BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE
756 bool "Support for human readable output (example 13k, 23M, 235G)"
758 depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS
760 Allow df, du, and ls to have human readable output.
762 comment "Common options for md5sum, sha1sum"
763 depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM
765 config BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
766 bool "Enable -c, -s and -w options"
768 depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM
770 Enabling the -c options allows files to be checked
771 against pre-calculated hash values.
773 -s and -w are useful options when verifying checksums.