diff options
Diffstat (limited to 'package/busybox/config/coreutils/Config.in')
-rw-r--r-- | package/busybox/config/coreutils/Config.in | 1208 |
1 files changed, 524 insertions, 684 deletions
diff --git a/package/busybox/config/coreutils/Config.in b/package/busybox/config/coreutils/Config.in index 60bc5b0e7..2038e6e95 100644 --- a/package/busybox/config/coreutils/Config.in +++ b/package/busybox/config/coreutils/Config.in @@ -1,29 +1,28 @@ # DO NOT EDIT. This file is generated from Config.src # # For a description of the syntax of this configuration file, -# see scripts/kbuild/config-language.txt. +# see docs/Kconfig-language.txt. # menu "Coreutils" config BUSYBOX_BASENAME - bool "basename" + bool "basename (438 bytes)" default y help - basename is used to strip the directory and suffix from filenames, - leaving just the filename itself. Enable this option if you wish - to enable the 'basename' utility. - + basename is used to strip the directory and suffix from filenames, + leaving just the filename itself. Enable this option if you wish + to enable the 'basename' utility. config BUSYBOX_CAT - bool "cat" + bool "cat (5.6 kb)" default y help - cat is used to concatenate files and print them to the standard - output. Enable this option if you wish to enable the 'cat' utility. + cat is used to concatenate files and print them to the standard + output. Enable this option if you wish to enable the 'cat' utility. config BUSYBOX_FEATURE_CATN bool "Enable -n and -b options" - default n + default y depends on BUSYBOX_CAT help -n numbers all output lines while -b numbers nonempty output lines. @@ -34,516 +33,327 @@ config BUSYBOX_FEATURE_CATV depends on BUSYBOX_CAT help Display nonprinting characters as escape sequences - -config BUSYBOX_DATE - bool "date" - default y - help - date is used to set the system date or display the - current time in the given format. - -config BUSYBOX_FEATURE_DATE_ISOFMT - bool "Enable ISO date format output (-I)" - default n - depends on BUSYBOX_DATE - help - Enable option (-I) to output an ISO-8601 compliant - date/time string. - -# defaults to "no": stat's nanosecond field is a bit non-portable -config BUSYBOX_FEATURE_DATE_NANO - bool "Support %[num]N nanosecond format specifier" - default n - depends on BUSYBOX_DATE # syscall(__NR_clock_gettime) - select BUSYBOX_PLATFORM_LINUX - help - Support %[num]N format specifier. Adds ~250 bytes of code. - -config BUSYBOX_FEATURE_DATE_COMPAT - bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format" - default n - depends on BUSYBOX_DATE - help - System time can be set by 'date -s DATE' and simply 'date DATE', - but formats of DATE string are different. 'date DATE' accepts - a rather weird MMDDhhmm[[YY]YY][.ss] format with completely - unnatural placement of year between minutes and seconds. - date -s (and other commands like touch -d) use more sensible - formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss). - - With this option off, 'date DATE' is 'date -s DATE' support - the same format. With it on, 'date DATE' additionally supports - MMDDhhmm[[YY]YY][.ss] format. - -config BUSYBOX_HOSTID - bool "hostid" - default n - help - hostid prints the numeric identifier (in hexadecimal) for - the current host. - -config BUSYBOX_ID - bool "id" +config BUSYBOX_CHGRP + bool "chgrp (7.6 kb)" default y help - id displays the current user and group ID names. - -config BUSYBOX_GROUPS - bool "groups" - default n - help - Print the group names associated with current user id. - -config BUSYBOX_SHUF - bool "shuf" - default n - help - Generate random permutations - -config BUSYBOX_TEST - bool "test" + chgrp is used to change the group ownership of files. +config BUSYBOX_CHMOD + bool "chmod (5.5 kb)" default y help - test is used to check file types and compare values, - returning an appropriate exit code. The bash shell - has test built in, ash can build it in optionally. - -config BUSYBOX_TEST1 - bool "test as [" + chmod is used to change the access permission of files. +config BUSYBOX_CHOWN + bool "chown (7.6 kb)" default y help - Provide test command in the "[ EXPR ]" form + chown is used to change the user and/or group ownership + of files. -config BUSYBOX_TEST2 - bool "test as [[" +config BUSYBOX_FEATURE_CHOWN_LONG_OPTIONS + bool "Enable long options" default y - help - Provide test command in the "[[ EXPR ]]" form - -config BUSYBOX_FEATURE_TEST_64 - bool "Extend test to 64 bit" + depends on BUSYBOX_CHOWN && BUSYBOX_LONG_OPTS +config BUSYBOX_CHROOT + bool "chroot (3.7 kb)" default y - depends on BUSYBOX_TEST || BUSYBOX_ASH_BUILTIN_TEST || BUSYBOX_HUSH help - Enable 64-bit support in test. - -config BUSYBOX_TOUCH - bool "touch" + chroot is used to change the root directory and run a command. + The default command is '/bin/sh'. +config BUSYBOX_CKSUM + bool "cksum (4.1 kb)" default y help - touch is used to create or change the access and/or - modification timestamp of specified files. - -config BUSYBOX_FEATURE_TOUCH_NODEREF - bool "Add support for -h" - default n - depends on BUSYBOX_TOUCH - help - Enable touch to have the -h option. - This requires libc support for lutimes() function. - -config BUSYBOX_FEATURE_TOUCH_SUSV3 - bool "Add support for SUSV3 features (-d -t -r)" - default n - depends on BUSYBOX_TOUCH - help - Enable touch to use a reference file or a given date/time argument. - -config BUSYBOX_TR - bool "tr" - default n - help - tr is used to squeeze, and/or delete characters from standard - input, writing to standard output. - -config BUSYBOX_FEATURE_TR_CLASSES - bool "Enable character classes (such as [:upper:])" + cksum is used to calculate the CRC32 checksum of a file. +config BUSYBOX_COMM + bool "comm (4.2 kb)" default y - depends on BUSYBOX_TR help - Enable character classes, enabling commands such as: - tr [:upper:] [:lower:] to convert input into lowercase. - -config BUSYBOX_FEATURE_TR_EQUIV - bool "Enable equivalence classes" + comm is used to compare two files line by line and return + a three-column output. +config BUSYBOX_CP + bool "cp (10 kb)" default y - depends on BUSYBOX_TR help - Enable equivalence classes, which essentially add the enclosed - character to the current set. For instance, tr [=a=] xyz would - replace all instances of 'a' with 'xyz'. This option is mainly - useful for cases when no other way of expressing a character - is possible. + cp is used to copy files and directories. -config BUSYBOX_TRUNCATE - bool "truncate" - default n - help - truncate truncates files to a given size. If a file does - not exist, it is created unless told otherwise. - -config BUSYBOX_UNLINK - bool "unlink" - default n - help - unlink deletes a file by calling unlink() - -config BUSYBOX_BASE64 - bool "base64" - default n - help - Base64 encode and decode - -config BUSYBOX_WHO - bool "who" - default n - depends on BUSYBOX_FEATURE_UTMP - help - who is used to show who is logged on. - -config BUSYBOX_USERS - bool "users" - default n - depends on BUSYBOX_FEATURE_UTMP - help - Print users currently logged on. - -config BUSYBOX_CAL - bool "cal" - default n - help - cal is used to display a monthly calender. - -config BUSYBOX_CATV - bool "catv" - default n - help - Display nonprinting characters as escape sequences (like some - implementations' cat -v option). - -config BUSYBOX_CHGRP - bool "chgrp" +config BUSYBOX_FEATURE_CP_LONG_OPTIONS + bool "Enable long options" default y + depends on BUSYBOX_CP && BUSYBOX_LONG_OPTS help - chgrp is used to change the group ownership of files. + Enable long options. + Also add support for --parents option. -config BUSYBOX_CHMOD - bool "chmod" +config BUSYBOX_FEATURE_CP_REFLINK + bool "Enable --reflink[=auto]" default y - help - chmod is used to change the access permission of files. - -config BUSYBOX_CHOWN - bool "chown" + depends on BUSYBOX_FEATURE_CP_LONG_OPTIONS +config BUSYBOX_CUT + bool "cut (5.8 kb)" default y help - chown is used to change the user and/or group ownership - of files. - -config BUSYBOX_FEATURE_CHOWN_LONG_OPTIONS - bool "Enable long options" - default n - depends on BUSYBOX_CHOWN && BUSYBOX_LONG_OPTS - help - Enable use of long options - -config BUSYBOX_CHROOT - bool "chroot" + cut is used to print selected parts of lines from + each file to stdout. +config BUSYBOX_DATE + bool "date (7 kb)" default y help - chroot is used to change the root directory and run a command. - The default command is `/bin/sh'. - -config BUSYBOX_CKSUM - bool "cksum" - default n - help - cksum is used to calculate the CRC32 checksum of a file. - -config BUSYBOX_COMM - bool "comm" - default n - help - comm is used to compare two files line by line and return - a three-column output. + date is used to set the system date or display the + current time in the given format. -config BUSYBOX_CP - bool "cp" +config BUSYBOX_FEATURE_DATE_ISOFMT + bool "Enable ISO date format output (-I)" default y + depends on BUSYBOX_DATE help - cp is used to copy files and directories. + Enable option (-I) to output an ISO-8601 compliant + date/time string. -config BUSYBOX_FEATURE_CP_LONG_OPTIONS - bool "Enable long options for cp" - default n - depends on BUSYBOX_CP && BUSYBOX_LONG_OPTS +config BUSYBOX_FEATURE_DATE_NANO + bool "Support %[num]N nanosecond format specifier" + default n # stat's nanosecond field is a bit non-portable + depends on BUSYBOX_DATE + select BUSYBOX_PLATFORM_LINUX help - Enable long options for cp. - Also add support for --parents option. + Support %[num]N format specifier. Adds ~250 bytes of code. -config BUSYBOX_CUT - bool "cut" +config BUSYBOX_FEATURE_DATE_COMPAT + bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format" default y + depends on BUSYBOX_DATE help - cut is used to print selected parts of lines from - each file to stdout. + System time can be set by 'date -s DATE' and simply 'date DATE', + but formats of DATE string are different. 'date DATE' accepts + a rather weird MMDDhhmm[[YY]YY][.ss] format with completely + unnatural placement of year between minutes and seconds. + date -s (and other commands like touch -d) use more sensible + formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss). + With this option off, 'date DATE' and 'date -s DATE' support + the same format. With it on, 'date DATE' additionally supports + MMDDhhmm[[YY]YY][.ss] format. config BUSYBOX_DD - bool "dd" + bool "dd (7.5 kb)" default y help - dd copies a file (from standard input to standard output, - by default) using specific input and output blocksizes, - while optionally performing conversions on it. + dd copies a file (from standard input to standard output, + by default) using specific input and output blocksizes, + while optionally performing conversions on it. config BUSYBOX_FEATURE_DD_SIGNAL_HANDLING - bool "Enable DD signal handling for status reporting" - default n + bool "Enable signal handling for status reporting" + default y depends on BUSYBOX_DD help - Sending a SIGUSR1 signal to a running `dd' process makes it - print to standard error the number of records read and written - so far, then to resume copying. + Sending a SIGUSR1 signal to a running 'dd' process makes it + print to standard error the number of records read and written + so far, then to resume copying. - $ dd if=/dev/zero of=/dev/null& - $ pid=$! kill -USR1 $pid; sleep 1; kill $pid - 10899206+0 records in - 10899206+0 records out + $ dd if=/dev/zero of=/dev/null & + $ pid=$!; kill -USR1 $pid; sleep 1; kill $pid + 10899206+0 records in + 10899206+0 records out config BUSYBOX_FEATURE_DD_THIRD_STATUS_LINE bool "Enable the third status line upon signal" - default n + default y depends on BUSYBOX_DD && BUSYBOX_FEATURE_DD_SIGNAL_HANDLING help - Displays a coreutils-like third status line with transferred bytes, - elapsed time and speed. + Displays a coreutils-like third status line with transferred bytes, + elapsed time and speed. config BUSYBOX_FEATURE_DD_IBS_OBS - bool "Enable ibs, obs and conv options" + bool "Enable ibs, obs, iflag, oflag and conv options" default y depends on BUSYBOX_DD help - Enables support for writing a certain number of bytes in and out, - at a time, and performing conversions on the data stream. + Enable support for writing a certain number of bytes in and out, + at a time, and performing conversions on the data stream. config BUSYBOX_FEATURE_DD_STATUS bool "Enable status display options" - default n + default y depends on BUSYBOX_DD help - Enables support for status=noxfer/none option. - + Enable support for status=noxfer/none option. config BUSYBOX_DF - bool "df" + bool "df (6.8 kb)" default y help - df reports the amount of disk space used and available - on filesystems. + df reports the amount of disk space used and available + on filesystems. config BUSYBOX_FEATURE_DF_FANCY bool "Enable -a, -i, -B" - default n + default y depends on BUSYBOX_DF help - This option enables -a, -i and -B. - - -a Show all filesystems - -i Inodes - -B <SIZE> Blocksize - + -a Show all filesystems + -i Inodes + -B <SIZE> Blocksize config BUSYBOX_DIRNAME - bool "dirname" + bool "dirname (329 bytes)" default y help - dirname is used to strip a non-directory suffix from - a file name. - + dirname is used to strip a non-directory suffix from + a file name. config BUSYBOX_DOS2UNIX - bool "dos2unix" - default n + bool "dos2unix (5.2 kb)" + default y help - dos2unix is used to convert a text file from DOS format to - UNIX format, and vice versa. + dos2unix is used to convert a text file from DOS format to + UNIX format, and vice versa. config BUSYBOX_UNIX2DOS - bool "unix2dos" - default n + bool "unix2dos (5.2 kb)" + default y help - unix2dos is used to convert a text file from UNIX format to - DOS format, and vice versa. - + unix2dos is used to convert a text file from UNIX format to + DOS format, and vice versa. config BUSYBOX_DU - bool "du (default blocksize of 512 bytes)" + bool "du (6.3 kb)" default y help - du is used to report the amount of disk space used - for specified files. + du is used to report the amount of disk space used + for specified files. config BUSYBOX_FEATURE_DU_DEFAULT_BLOCKSIZE_1K - bool "Use a default blocksize of 1024 bytes (1K)" + bool "Use default blocksize of 1024 bytes (else it's 512 bytes)" default y depends on BUSYBOX_DU - help - Use a blocksize of (1K) instead of the default 512b. - config BUSYBOX_ECHO - bool "echo (basic SuSv3 version taking no options)" + bool "echo (1.8 kb)" default y help - echo is used to print a specified string to stdout. + echo prints a specified string to stdout. # this entry also appears in shell/Config.in, next to the echo builtin config BUSYBOX_FEATURE_FANCY_ECHO - bool "Enable echo options (-n and -e)" + bool "Enable -n and -e options" default y - depends on BUSYBOX_ECHO || BUSYBOX_ASH_BUILTIN_ECHO || BUSYBOX_HUSH - help - This adds options (-n and -e) to echo. - + depends on BUSYBOX_ECHO || BUSYBOX_ASH_ECHO || BUSYBOX_HUSH_ECHO config BUSYBOX_ENV - bool "env" + bool "env (4 kb)" default y help - env is used to set an environment variable and run - a command; without options it displays the current - environment. - -config BUSYBOX_FEATURE_ENV_LONG_OPTIONS - bool "Enable long options" - default n - depends on BUSYBOX_ENV && BUSYBOX_LONG_OPTS - help - Support long options for the env applet. - + env is used to set an environment variable and run + a command; without options it displays the current + environment. config BUSYBOX_EXPAND - bool "expand" - default n + bool "expand (5.1 kb)" + default y help - By default, convert all tabs to spaces. + By default, convert all tabs to spaces. -config BUSYBOX_FEATURE_EXPAND_LONG_OPTIONS - bool "Enable long options" - default n - depends on BUSYBOX_EXPAND && BUSYBOX_LONG_OPTS +config BUSYBOX_UNEXPAND + bool "unexpand (5.3 kb)" + default y help - Support long options for the expand applet. - + By default, convert only leading sequences of blanks to tabs. config BUSYBOX_EXPR - bool "expr" - default n + bool "expr (6.6 kb)" + default y help - expr is used to calculate numbers and print the result - to standard output. + expr is used to calculate numbers and print the result + to standard output. config BUSYBOX_EXPR_MATH_SUPPORT_64 bool "Extend Posix numbers support to 64 bit" default y depends on BUSYBOX_EXPR help - Enable 64-bit math support in the expr applet. This will make - the applet slightly larger, but will allow computation with very - large numbers. - + Enable 64-bit math support in the expr applet. This will make + the applet slightly larger, but will allow computation with very + large numbers. config BUSYBOX_FACTOR bool "factor (2.7 kb)" - default n + default y help factor factorizes integers - config BUSYBOX_FALSE - bool "false" - default n + bool "false (tiny)" + default y help - false returns an exit code of FALSE (1). - + false returns an exit code of FALSE (1). config BUSYBOX_FOLD - bool "fold" - default n - help - Wrap text to fit a specific width. - -config BUSYBOX_FSYNC - bool "fsync" - default n + bool "fold (4.6 kb)" + default y help - fsync is used to flush file-related cached blocks to disk. - + Wrap text to fit a specific width. config BUSYBOX_HEAD - bool "head" + bool "head (3.8 kb)" default y help - head is used to print the first specified number of lines - from files. + head is used to print the first specified number of lines + from files. config BUSYBOX_FEATURE_FANCY_HEAD - bool "Enable head options (-c, -q, and -v)" - default n + bool "Enable -c, -q, and -v" + default y depends on BUSYBOX_HEAD +config BUSYBOX_HOSTID + bool "hostid (286 bytes)" + default y + help + hostid prints the numeric identifier (in hexadecimal) for + the current host. +config BUSYBOX_ID + bool "id (7 kb)" + default y help - This enables the head options (-c, -q, and -v). + id displays the current user and group ID names. +config BUSYBOX_GROUPS + bool "groups (6.7 kb)" + default y + help + Print the group names associated with current user id. config BUSYBOX_INSTALL - bool "install" - default n + bool "install (12 kb)" + default y help - Copy files and set attributes. + Copy files and set attributes. config BUSYBOX_FEATURE_INSTALL_LONG_OPTIONS bool "Enable long options" - default n + default y depends on BUSYBOX_INSTALL && BUSYBOX_LONG_OPTS - help - Support long options for the install applet. - -####config LENGTH -#### bool "length" -#### default y -#### help -#### length is used to print out the length of a specified string. config BUSYBOX_LINK bool "link (3.2 kb)" - default n + default y help link creates hard links between files. - config BUSYBOX_LN - bool "ln" + bool "ln (4.9 kb)" default y help - ln is used to create hard or soft links between files. - + ln is used to create hard or soft links between files. config BUSYBOX_LOGNAME - bool "logname" - default n + bool "logname (1.1 kb)" + default y help - logname is used to print the current user's login name. - + logname is used to print the current user's login name. config BUSYBOX_LS - bool "ls" + bool "ls (14 kb)" default y help - ls is used to list the contents of directories. + ls is used to list the contents of directories. config BUSYBOX_FEATURE_LS_FILETYPES bool "Enable filetyping options (-p and -F)" - default n + default y depends on BUSYBOX_LS - help - Enable the ls options (-p and -F). config BUSYBOX_FEATURE_LS_FOLLOWLINKS bool "Enable symlinks dereferencing (-L)" - default n + default y depends on BUSYBOX_LS - help - Enable the ls option (-L). config BUSYBOX_FEATURE_LS_RECURSIVE bool "Enable recursion (-R)" default y depends on BUSYBOX_LS - help - Enable the ls option (-R). config BUSYBOX_FEATURE_LS_WIDTH bool "Enable -w WIDTH and window size autodetection" @@ -555,264 +365,235 @@ config BUSYBOX_FEATURE_LS_SORTFILES default y depends on BUSYBOX_LS help - Allow ls to sort file names alphabetically. + Allow ls to sort file names alphabetically. config BUSYBOX_FEATURE_LS_TIMESTAMPS bool "Show file timestamps" default y depends on BUSYBOX_LS help - Allow ls to display timestamps for files. + Allow ls to display timestamps for files. config BUSYBOX_FEATURE_LS_USERNAME bool "Show username/groupnames" default y depends on BUSYBOX_LS help - Allow ls to display username/groupname for files. + Allow ls to display username/groupname for files. config BUSYBOX_FEATURE_LS_COLOR bool "Allow use of color to identify file types" - default n + default y depends on BUSYBOX_LS && BUSYBOX_LONG_OPTS help - This enables the --color option to ls. + This enables the --color option to ls. config BUSYBOX_FEATURE_LS_COLOR_IS_DEFAULT bool "Produce colored ls output by default" - default n + default y depends on BUSYBOX_FEATURE_LS_COLOR help - Saying yes here will turn coloring on by default, - even if no "--color" option is given to the ls command. - This is not recommended, since the colors are not - configurable, and the output may not be legible on - many output screens. - + Saying yes here will turn coloring on by default, + even if no "--color" option is given to the ls command. + This is not recommended, since the colors are not + configurable, and the output may not be legible on + many output screens. config BUSYBOX_MD5SUM - bool "md5sum" - default n + bool "md5sum (6.5 kb)" + default y help - md5sum is used to print or check MD5 checksums. + Compute and check MD5 message digest -config BUSYBOX_MKDIR - bool "mkdir" +config BUSYBOX_SHA1SUM + bool "sha1sum (5.9 kb)" default y help - mkdir is used to create directories with the specified names. + Compute and check SHA1 message digest -config BUSYBOX_FEATURE_MKDIR_LONG_OPTIONS - bool "Enable long options" - default n - depends on BUSYBOX_MKDIR && BUSYBOX_LONG_OPTS +config BUSYBOX_SHA256SUM + bool "sha256sum (7 kb)" + default y help - Support long options for the mkdir applet. + Compute and check SHA256 message digest -config BUSYBOX_MKFIFO - bool "mkfifo" - default n +config BUSYBOX_SHA512SUM + bool "sha512sum (7.4 kb)" + default y help - mkfifo is used to create FIFOs (named pipes). - The `mknod' program can also create FIFOs. + Compute and check SHA512 message digest -config BUSYBOX_MKNOD - bool "mknod" - default n +config BUSYBOX_SHA3SUM + bool "sha3sum (6.1 kb)" + default y help - mknod is used to create FIFOs or block/character special - files with the specified names. + Compute and check SHA3 message digest -config BUSYBOX_MV - bool "mv" +comment "Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum" + depends on BUSYBOX_MD5SUM || BUSYBOX_SHA1SUM || BUSYBOX_SHA256SUM || BUSYBOX_SHA512SUM || BUSYBOX_SHA3SUM + +config BUSYBOX_FEATURE_MD5_SHA1_SUM_CHECK + bool "Enable -c, -s and -w options" default y + depends on BUSYBOX_MD5SUM || BUSYBOX_SHA1SUM || BUSYBOX_SHA256SUM || BUSYBOX_SHA512SUM || BUSYBOX_SHA3SUM help - mv is used to move or rename files or directories. - -config BUSYBOX_FEATURE_MV_LONG_OPTIONS - bool "Enable long options" - default n - depends on BUSYBOX_MV && BUSYBOX_LONG_OPTS + Enabling the -c options allows files to be checked + against pre-calculated hash values. + -s and -w are useful options when verifying checksums. +config BUSYBOX_MKDIR + bool "mkdir (4.5 kb)" + default y help - Support long options for the mv applet. - + mkdir is used to create directories with the specified names. +config BUSYBOX_MKFIFO + bool "mkfifo (3.8 kb)" + default y + help + mkfifo is used to create FIFOs (named pipes). + The 'mknod' program can also create FIFOs. +config BUSYBOX_MKNOD + bool "mknod (4.5 kb)" + default y + help + mknod is used to create FIFOs or block/character special + files with the specified names. +config BUSYBOX_MKTEMP + bool "mktemp (4.2 kb)" + default y + help + mktemp is used to create unique temporary files +config BUSYBOX_MV + bool "mv (10 kb)" + default y + help + mv is used to move or rename files or directories. config BUSYBOX_NICE - bool "nice" - default n + bool "nice (2.1 kb)" + default y help - nice runs a program with modified scheduling priority. - + nice runs a program with modified scheduling priority. config BUSYBOX_NL bool "nl (4.6 kb)" - default n + default y help nl is used to number lines of files. - config BUSYBOX_NOHUP - bool "nohup" - default n + bool "nohup (2 kb)" + default y help - run a command immune to hangups, with output to a non-tty. - + run a command immune to hangups, with output to a non-tty. config BUSYBOX_NPROC bool "nproc (3.7 kb)" - default n + default y help Print number of CPUs - config BUSYBOX_OD - bool "od" - default n + bool "od (11 kb)" + default y help - od is used to dump binary files in octal and other formats. - + od is used to dump binary files in octal and other formats. config BUSYBOX_PASTE bool "paste (4.9 kb)" - default n + default y help paste is used to paste lines of different files together and write the result to stdout - config BUSYBOX_PRINTENV - bool "printenv" - default n + bool "printenv (1.3 kb)" + default y help - printenv is used to print all or part of environment. - + printenv is used to print all or part of environment. config BUSYBOX_PRINTF - bool "printf" + bool "printf (3.8 kb)" default y help - printf is used to format and print specified strings. - It's similar to `echo' except it has more options. - + printf is used to format and print specified strings. + It's similar to 'echo' except it has more options. config BUSYBOX_PWD - bool "pwd" + bool "pwd (3.7 kb)" default y help - pwd is used to print the current directory. - + pwd is used to print the current directory. config BUSYBOX_READLINK - bool "readlink" - default n + bool "readlink (4 kb)" + default y help - This program reads a symbolic link and returns the name - of the file it points to + This program reads a symbolic link and returns the name + of the file it points to config BUSYBOX_FEATURE_READLINK_FOLLOW bool "Enable canonicalization by following all symlinks (-f)" - default n + default y depends on BUSYBOX_READLINK help - Enable the readlink option (-f). - + Enable the readlink option (-f). config BUSYBOX_REALPATH - bool "realpath" - default n + bool "realpath (1.6 kb)" + default y help - Return the canonicalized absolute pathname. - This isn't provided by GNU shellutils, but where else does it belong. - + Return the canonicalized absolute pathname. + This isn't provided by GNU shellutils, but where else does it belong. config BUSYBOX_RM - bool "rm" + bool "rm (5.4 kb)" default y help - rm is used to remove files or directories. - + rm is used to remove files or directories. config BUSYBOX_RMDIR - bool "rmdir" - default n - help - rmdir is used to remove empty directories. - -config BUSYBOX_FEATURE_RMDIR_LONG_OPTIONS - bool "Enable long options" - default n - depends on BUSYBOX_RMDIR && BUSYBOX_LONG_OPTS + bool "rmdir (3.5 kb)" + default y help - Support long options for the rmdir applet, including - --ignore-fail-on-non-empty for compatibility with GNU rmdir. - + rmdir is used to remove empty directories. config BUSYBOX_SEQ - bool "seq" - default n + bool "seq (3.8 kb)" + default y help - print a sequence of numbers - + print a sequence of numbers config BUSYBOX_SHRED bool "shred (4.9 kb)" - default n + default y help Overwrite a file to hide its contents, and optionally delete it - -config BUSYBOX_SHA1SUM - bool "sha1sum" - default n - help - Compute and check SHA1 message digest - -config BUSYBOX_SHA256SUM - bool "sha256sum" - default n - help - Compute and check SHA256 message digest - -config BUSYBOX_SHA512SUM - bool "sha512sum" - default n +config BUSYBOX_SHUF + bool "shuf (5.4 kb)" + default y help - Compute and check SHA512 message digest - -config BUSYBOX_SHA3SUM - bool "sha3sum" - default n - help - Compute and check SHA3 (512-bit) message digest - + Generate random permutations config BUSYBOX_SLEEP - bool "sleep" - default n - help - sleep is used to pause for a specified number of seconds. - It comes in 3 versions: - - small: takes one integer parameter - - fancy: takes multiple integer arguments with suffixes: - sleep 1d 2h 3m 15s - - fancy with fractional numbers: - sleep 2.3s 4.5h sleeps for 16202.3 seconds - Last one is "the most compatible" with coreutils sleep, - but it adds around 1k of code. + bool "sleep (2 kb)" + default y + help + sleep is used to pause for a specified number of seconds. + It comes in 3 versions: + - small: takes one integer parameter + - fancy: takes multiple integer arguments with suffixes: + sleep 1d 2h 3m 15s + - fancy with fractional numbers: + sleep 2.3s 4.5h sleeps for 16202.3 seconds + Last one is "the most compatible" with coreutils sleep, + but it adds around 1k of code. config BUSYBOX_FEATURE_FANCY_SLEEP bool "Enable multiple arguments and s/m/h/d suffixes" - default n - depends on BUSYBOX_SLEEP - help - Allow sleep to pause for specified minutes, hours, and days. - -config BUSYBOX_FEATURE_FLOAT_SLEEP - bool "Enable fractional arguments" default y - depends on BUSYBOX_FEATURE_FANCY_SLEEP + depends on BUSYBOX_SLEEP help - Allow for fractional numeric parameters. - + Allow sleep to pause for specified minutes, hours, and days. config BUSYBOX_SORT - bool "sort" - default n + bool "sort (7.7 kb)" + default y help - sort is used to sort lines of text in specified files. + sort is used to sort lines of text in specified files. config BUSYBOX_FEATURE_SORT_BIG - bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)" + bool "Full SuSv3 compliant sort (support -ktcbdfiogM)" default y depends on BUSYBOX_SORT help - Without this, sort only supports -r, -u, and an integer version - of -n. Selecting this adds sort keys, floating point support, and - more. This adds a little over 3k to a nonstatic build on x86. + Without this, sort only supports -rusz, and an integer version + of -n. Selecting this adds sort keys, floating point support, and + more. This adds a little over 3k to a nonstatic build on x86. - The SuSv3 sort standard is available at: - http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html + The SuSv3 sort standard is available at: + http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html config BUSYBOX_FEATURE_SORT_OPTIMIZE_MEMORY bool "Use less memory (but might be slower)" @@ -821,219 +602,305 @@ config BUSYBOX_FEATURE_SORT_OPTIMIZE_MEMORY help Attempt to use less memory (by storing only one copy of duplicated lines, and such). Useful if you work on huge files. - config BUSYBOX_SPLIT - bool "split" - default n + bool "split (5 kb)" + default y help - split a file into pieces. + Split a file into pieces. config BUSYBOX_FEATURE_SPLIT_FANCY bool "Fancy extensions" - default n + default y depends on BUSYBOX_SPLIT help - Add support for features not required by SUSv3. - Supports additional suffixes 'b' for 512 bytes, - 'g' for 1GiB for the -b option. - + Add support for features not required by SUSv3. + Supports additional suffixes 'b' for 512 bytes, + 'g' for 1GiB for the -b option. config BUSYBOX_STAT - bool "stat" - default n - select BUSYBOX_PLATFORM_LINUX # statfs() + bool "stat (11 kb)" + default y help - display file or filesystem status. + display file or filesystem status. config BUSYBOX_FEATURE_STAT_FORMAT bool "Enable custom formats (-c)" - default n + default y depends on BUSYBOX_STAT help - Without this, stat will not support the '-c format' option where - users can pass a custom format string for output. This adds about - 7k to a nonstatic build on amd64. + Without this, stat will not support the '-c format' option where + users can pass a custom format string for output. This adds about + 7k to a nonstatic build on amd64. config BUSYBOX_FEATURE_STAT_FILESYSTEM bool "Enable display of filesystem status (-f)" - default n + default y depends on BUSYBOX_STAT select BUSYBOX_PLATFORM_LINUX # statfs() help - Without this, stat will not support the '-f' option to display - information about filesystem status. - + Without this, stat will not support the '-f' option to display + information about filesystem status. config BUSYBOX_STTY - bool "stty" - default n + bool "stty (8.9 kb)" + default y help - stty is used to change and print terminal line settings. - + stty is used to change and print terminal line settings. config BUSYBOX_SUM - bool "sum" - default n + bool "sum (4 kb)" + default y help - checksum and count the blocks in a file - + checksum and count the blocks in a file config BUSYBOX_SYNC - bool "sync" - default n + bool "sync (3.8 kb)" + default y help - sync is used to flush filesystem buffers. - + sync is used to flush filesystem buffers. config BUSYBOX_FEATURE_SYNC_FANCY - bool "Enable -d and -f flags (requres syncfs(2) in libc)" - default n + bool "Enable -d and -f flags (requires syncfs(2) in libc)" + default y depends on BUSYBOX_SYNC help - sync -d FILE... executes fdatasync() on each FILE. - sync -f FILE... executes syncfs() on each FILE. - + sync -d FILE... executes fdatasync() on each FILE. + sync -f FILE... executes syncfs() on each FILE. +config BUSYBOX_FSYNC + bool "fsync (3.6 kb)" + default y + help + fsync is used to flush file-related cached blocks to disk. config BUSYBOX_TAC - bool "tac" - default n + bool "tac (3.9 kb)" + default y help - tac is used to concatenate and print files in reverse. - + tac is used to concatenate and print files in reverse. config BUSYBOX_TAIL - bool "tail" - default n + bool "tail (6.8 kb)" + default y help - tail is used to print the last specified number of lines - from files. + tail is used to print the last specified number of lines + from files. config BUSYBOX_FEATURE_FANCY_TAIL - bool "Enable extra tail options (-q, -s, -v, and -F)" - default n + bool "Enable -q, -s, -v, and -F options" + default y depends on BUSYBOX_TAIL help - The options (-q, -s, and -v) are provided by GNU tail, but - are not specific in the SUSv3 standard. - - -q Never output headers giving file names - -s SEC Wait SEC seconds between reads with -f - -v Always output headers giving file names - + These options are provided by GNU tail, but + are not specified in the SUSv3 standard: + -q Never output headers giving file names + -s SEC Wait SEC seconds between reads with -f + -v Always output headers giving file names + -F Same as -f, but keep retrying config BUSYBOX_TEE - bool "tee" - default n + bool "tee (4.2 kb)" + default y help - tee is used to read from standard input and write - to standard output and files. + tee is used to read from standard input and write + to standard output and files. config BUSYBOX_FEATURE_TEE_USE_BLOCK_IO bool "Enable block I/O (larger/faster) instead of byte I/O" default y depends on BUSYBOX_TEE help - Enable this option for a faster tee, at expense of size. + Enable this option for a faster tee, at expense of size. +config BUSYBOX_TEST + bool "test (4.1 kb)" + default y + help + test is used to check file types and compare values, + returning an appropriate exit code. The bash shell + has test built in, ash can build it in optionally. -config BUSYBOX_TRUE - bool "true" - default n +config BUSYBOX_TEST1 + bool "test as [" + default y help - true returns an exit code of TRUE (0). + Provide test command in the "[ EXPR ]" form -config BUSYBOX_TTY - bool "tty" - default n +config BUSYBOX_TEST2 + bool "test as [[" + default y + help + Provide test command in the "[[ EXPR ]]" form + +config BUSYBOX_FEATURE_TEST_64 + bool "Extend test to 64 bit" + default y + depends on BUSYBOX_TEST || BUSYBOX_TEST1 || BUSYBOX_TEST2 || BUSYBOX_ASH_TEST || BUSYBOX_HUSH_TEST + help + Enable 64-bit support in test. +config BUSYBOX_TIMEOUT + bool "timeout (6 kb)" + default y + help + Runs a program and watches it. If it does not terminate in + specified number of seconds, it is sent a signal. +config BUSYBOX_TOUCH + bool "touch (5.9 kb)" + default y + help + touch is used to create or change the access and/or + modification timestamp of specified files. + +config BUSYBOX_FEATURE_TOUCH_NODEREF + bool "Add support for -h" + default y + depends on BUSYBOX_TOUCH + help + Enable touch to have the -h option. + This requires libc support for lutimes() function. + +config BUSYBOX_FEATURE_TOUCH_SUSV3 + bool "Add support for SUSV3 features (-d -t -r)" + default y + depends on BUSYBOX_TOUCH help - tty is used to print the name of the current terminal to - standard output. + Enable touch to use a reference file or a given date/time argument. +config BUSYBOX_TR + bool "tr (5.1 kb)" + default y + help + tr is used to squeeze, and/or delete characters from standard + input, writing to standard output. +config BUSYBOX_FEATURE_TR_CLASSES + bool "Enable character classes (such as [:upper:])" + default y + depends on BUSYBOX_TR + help + Enable character classes, enabling commands such as: + tr [:upper:] [:lower:] to convert input into lowercase. + +config BUSYBOX_FEATURE_TR_EQUIV + bool "Enable equivalence classes" + default y + depends on BUSYBOX_TR + help + Enable equivalence classes, which essentially add the enclosed + character to the current set. For instance, tr [=a=] xyz would + replace all instances of 'a' with 'xyz'. This option is mainly + useful for cases when no other way of expressing a character + is possible. +config BUSYBOX_TRUE + bool "true (tiny)" + default y + help + true returns an exit code of TRUE (0). +config BUSYBOX_TRUNCATE + bool "truncate (4.2 kb)" + default y + help + truncate truncates files to a given size. If a file does + not exist, it is created unless told otherwise. +config BUSYBOX_TTY + bool "tty (3.6 kb)" + default y + help + tty is used to print the name of the current terminal to + standard output. config BUSYBOX_UNAME - bool "uname" + bool "uname (3.9 kb)" default y help - uname is used to print system information. + uname is used to print system information. config BUSYBOX_UNAME_OSNAME string "Operating system name" default "GNU/Linux" depends on BUSYBOX_UNAME help - Sets the operating system name reported by uname -o. The - default is "GNU/Linux". + Sets the operating system name reported by uname -o. The + default is "GNU/Linux". config BUSYBOX_BB_ARCH bool "arch (1.1 kb)" - default n + default y help Same as uname -m. - -config BUSYBOX_UNEXPAND - bool "unexpand" - default n - help - By default, convert only leading sequences of blanks to tabs. - -config BUSYBOX_FEATURE_UNEXPAND_LONG_OPTIONS - bool "Enable long options" - default n - depends on BUSYBOX_UNEXPAND && BUSYBOX_LONG_OPTS - help - Support long options for the unexpand applet. - config BUSYBOX_UNIQ - bool "uniq" - default n + bool "uniq (4.9 kb)" + default y help - uniq is used to remove duplicate lines from a sorted file. - + uniq is used to remove duplicate lines from a sorted file. +config BUSYBOX_UNLINK + bool "unlink (3.2 kb)" + default y + help + unlink deletes a file by calling unlink() config BUSYBOX_USLEEP - bool "usleep" - default n + bool "usleep (1.3 kb)" + default y help - usleep is used to pause for a specified number of microseconds. - + usleep is used to pause for a specified number of microseconds. config BUSYBOX_UUDECODE - bool "uudecode" - default n + bool "uudecode (5.8 kb)" + default y help - uudecode is used to decode a uuencoded file. - + uudecode is used to decode a uuencoded file. +config BUSYBOX_BASE64 + bool "base64 (4.9 kb)" + default y + help + Base64 encode and decode config BUSYBOX_UUENCODE - bool "uuencode" - default n + bool "uuencode (4.4 kb)" + default y help - uuencode is used to uuencode a file. - + uuencode is used to uuencode a file. config BUSYBOX_WC - bool "wc" - default n + bool "wc (4.5 kb)" + default y help - wc is used to print the number of bytes, words, and lines, - in specified files. + wc is used to print the number of bytes, words, and lines, + in specified files. config BUSYBOX_FEATURE_WC_LARGE - bool "Support very large files in wc" - default n + bool "Support very large counts" + default y depends on BUSYBOX_WC help - Use "unsigned long long" in wc for counter variables. + Use "unsigned long long" for counter variables. +config BUSYBOX_WHO + bool "who (3.9 kb)" + default y + depends on BUSYBOX_FEATURE_UTMP + help + Print users currently logged on. -config BUSYBOX_WHOAMI - bool "whoami" - default n +config BUSYBOX_W + bool "w (3.8 kb)" + default y + depends on BUSYBOX_FEATURE_UTMP help - whoami is used to print the username of the current - user id (same as id -un). + Print users currently logged on. +config BUSYBOX_USERS + bool "users (3.4 kb)" + default y + depends on BUSYBOX_FEATURE_UTMP + help + Print users currently logged on. +config BUSYBOX_WHOAMI + bool "whoami (3.2 kb)" + default y + help + whoami is used to print the username of the current + user id (same as id -un). config BUSYBOX_YES - bool "yes" - default n + bool "yes (1.2 kb)" + default y help - yes is used to repeatedly output a specific string, or - the default string `y'. + yes is used to repeatedly output a specific string, or + the default string 'y'. comment "Common options" config BUSYBOX_FEATURE_VERBOSE bool "Support verbose options (usually -v) for various applets" - default n + default y help - Enable cp -v, rm -v and similar messages. - Also enables long option (--verbose) if it exists. - Without this option, -v is accepted but ignored. + Enable cp -v, rm -v and similar messages. + Also enables long option (--verbose) if it exists. + Without this option, -v is accepted but ignored. comment "Common options for cp and mv" depends on BUSYBOX_CP || BUSYBOX_MV @@ -1043,43 +910,16 @@ config BUSYBOX_FEATURE_PRESERVE_HARDLINKS default y depends on BUSYBOX_CP || BUSYBOX_MV help - Allow cp and mv to preserve hard links. - -comment "Common options for ls, more and telnet" - depends on BUSYBOX_LS || BUSYBOX_MORE || BUSYBOX_TELNET - -config BUSYBOX_FEATURE_AUTOWIDTH - bool "Calculate terminal & column widths" - default y - depends on BUSYBOX_LS || BUSYBOX_MORE || BUSYBOX_TELNET - help - This option allows utilities such as 'ls', 'more' and 'telnet' - to determine the width of the screen, which can allow them to - display additional text or avoid wrapping text onto the next line. - If you leave this disabled, your utilities will be especially - primitive and will be unable to determine the current screen width. + Allow cp and mv to preserve hard links. comment "Common options for df, du, ls" depends on BUSYBOX_DF || BUSYBOX_DU || BUSYBOX_LS config BUSYBOX_FEATURE_HUMAN_READABLE - bool "Support for human readable output (example 13k, 23M, 235G)" + bool "Support human readable output (example 13k, 23M, 235G)" default y depends on BUSYBOX_DF || BUSYBOX_DU || BUSYBOX_LS help - Allow df, du, and ls to have human readable output. - -comment "Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum" - depends on BUSYBOX_MD5SUM || BUSYBOX_SHA1SUM || BUSYBOX_SHA256SUM || BUSYBOX_SHA512SUM || BUSYBOX_SHA3SUM - -config BUSYBOX_FEATURE_MD5_SHA1_SUM_CHECK - bool "Enable -c, -s and -w options" - default y - depends on BUSYBOX_MD5SUM || BUSYBOX_SHA1SUM || BUSYBOX_SHA256SUM || BUSYBOX_SHA512SUM || BUSYBOX_SHA3SUM - help - Enabling the -c options allows files to be checked - against pre-calculated hash values. - - -s and -w are useful options when verifying checksums. + Allow df, du, and ls to have human readable output. endmenu |