busybox/coreutils/Config.src

789 lines
16 KiB
Plaintext
Raw Normal View History

#
# For a description of the syntax of this configuration file,
# see scripts/kbuild/config-language.txt.
#
menu "Coreutils"
INSERT
2006-10-05 15:47:08 +05:30
config CAL
bool "cal"
default y
help
cal is used to display a monthly calender.
2006-10-05 15:47:08 +05:30
config CATV
bool "catv"
default y
help
Display nonprinting characters as escape sequences (like some
implementations' cat -v option).
2006-10-05 15:47:08 +05:30
config CHGRP
bool "chgrp"
default y
help
chgrp is used to change the group ownership of files.
2006-10-05 15:47:08 +05:30
config CHMOD
bool "chmod"
default y
help
chmod is used to change the access permission of files.
2006-10-05 15:47:08 +05:30
config CHOWN
bool "chown"
default y
help
chown is used to change the user and/or group ownership
of files.
config FEATURE_CHOWN_LONG_OPTIONS
bool "Enable long options"
default y
depends on CHOWN && LONG_OPTS
help
Enable use of long options
2006-10-05 15:47:08 +05:30
config CHROOT
bool "chroot"
default y
help
chroot is used to change the root directory and run a command.
The default command is `/bin/sh'.
2006-10-05 15:47:08 +05:30
config CKSUM
2006-04-19 02:27:28 +05:30
bool "cksum"
default y
2006-04-19 02:27:28 +05:30
help
cksum is used to calculate the CRC32 checksum of a file.
2006-10-05 15:47:08 +05:30
config COMM
bool "comm"
default y
help
comm is used to compare two files line by line and return
a three-column output.
2006-10-05 15:47:08 +05:30
config CP
bool "cp"
default y
help
cp is used to copy files and directories.
config FEATURE_CP_LONG_OPTIONS
bool "Enable long options for cp"
default y
depends on CP && LONG_OPTS
help
Enable long options for cp.
Also add support for --parents option.
2006-10-05 15:47:08 +05:30
config CUT
bool "cut"
default y
help
cut is used to print selected parts of lines from
each file to stdout.
2006-10-05 15:47:08 +05:30
config DD
bool "dd"
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.
2006-10-05 15:47:08 +05:30
config FEATURE_DD_SIGNAL_HANDLING
bool "Enable DD signal handling for status reporting"
default y
2006-10-05 15:47:08 +05:30
depends on DD
help
Sending a SIGUSR1 signal to a running `dd' process makes it
2006-09-17 21:58:10 +05:30
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
config FEATURE_DD_THIRD_STATUS_LINE
bool "Enable the third status line upon signal"
default y
depends on DD && FEATURE_DD_SIGNAL_HANDLING
help
Displays a coreutils-like third status line with transferred bytes,
elapsed time and speed.
2006-10-05 15:47:08 +05:30
config FEATURE_DD_IBS_OBS
bool "Enable ibs, obs and conv options"
default y
2006-10-05 15:47:08 +05:30
depends on DD
help
Enables support for writing a certain number of bytes in and out,
at a time, and performing conversions on the data stream.
2006-10-05 15:47:08 +05:30
config DF
bool "df"
default y
help
df reports the amount of disk space used and available
on filesystems.
config FEATURE_DF_FANCY
bool "Enable -a, -i, -B"
default y
depends on DF
help
This option enables -a, -i and -B.
-a Show all filesystems
-i Inodes
-B <SIZE> Blocksize
2006-10-05 15:47:08 +05:30
config DIRNAME
bool "dirname"
default y
help
dirname is used to strip a non-directory suffix from
a file name.
2006-10-05 15:47:08 +05:30
config DOS2UNIX
bool "dos2unix/unix2dos"
default y
help
dos2unix is used to convert a text file from DOS format to
UNIX format, and vice versa.
2006-10-05 15:47:08 +05:30
config UNIX2DOS
bool
default y
2006-10-05 15:47:08 +05:30
depends on DOS2UNIX
2006-05-05 17:25:53 +05:30
help
unix2dos is used to convert a text file from UNIX format to
DOS format, and vice versa.
2006-10-05 15:47:08 +05:30
config DU
2003-03-19 14:43:01 +05:30
bool "du (default blocksize of 512 bytes)"
default y
help
du is used to report the amount of disk space used
for specified files.
2006-10-05 15:47:08 +05:30
config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
bool "Use a default blocksize of 1024 bytes (1K)"
2003-03-19 14:43:01 +05:30
default y
2006-10-05 15:47:08 +05:30
depends on DU
2003-03-19 14:43:01 +05:30
help
Use a blocksize of (1K) instead of the default 512b.
2003-03-19 14:43:01 +05:30
2006-10-05 15:47:08 +05:30
config ECHO
2005-09-25 04:45:28 +05:30
bool "echo (basic SuSv3 version taking no options)"
default y
help
echo is used to print a specified string to stdout.
# this entry also appears in shell/Config.in, next to the echo builtin
2006-10-05 15:47:08 +05:30
config FEATURE_FANCY_ECHO
bool "Enable echo options (-n and -e)"
2003-03-19 14:43:01 +05:30
default y
depends on ECHO || ASH_BUILTIN_ECHO || HUSH
2003-03-19 14:43:01 +05:30
help
This adds options (-n and -e) to echo.
2003-03-19 14:43:01 +05:30
2006-10-05 15:47:08 +05:30
config ENV
bool "env"
default y
help
env is used to set an environment variable and run
a command; without options it displays the current
environment.
2006-10-05 15:47:08 +05:30
config FEATURE_ENV_LONG_OPTIONS
bool "Enable long options"
default y
depends on ENV && LONG_OPTS
help
Support long options for the env applet.
config EXPAND
bool "expand"
default y
help
By default, convert all tabs to spaces.
config FEATURE_EXPAND_LONG_OPTIONS
bool "Enable long options"
default y
depends on EXPAND && LONG_OPTS
help
Support long options for the expand applet.
2006-10-05 15:47:08 +05:30
config EXPR
bool "expr"
default y
help
expr is used to calculate numbers and print the result
to standard output.
2006-10-05 15:47:08 +05:30
config EXPR_MATH_SUPPORT_64
bool "Extend Posix numbers support to 64 bit"
default y
2006-10-05 15:47:08 +05:30
depends on EXPR
2006-01-25 19:26:03 +05:30
help
Enable 64-bit math support in the expr applet. This will make
2006-01-25 19:26:03 +05:30
the applet slightly larger, but will allow computation with very
large numbers.
2006-10-05 15:47:08 +05:30
config FALSE
bool "false"
default y
help
false returns an exit code of FALSE (1).
2006-10-05 15:47:08 +05:30
config FOLD
2003-04-27 11:32:14 +05:30
bool "fold"
default y
2003-04-27 11:32:14 +05:30
help
Wrap text to fit a specific width.
2003-04-27 11:32:14 +05:30
config FSYNC
bool "fsync"
default y
help
fsync is used to flush file-related cached blocks to disk.
2006-10-05 15:47:08 +05:30
config HEAD
bool "head"
default y
help
head is used to print the first specified number of lines
from files.
2006-10-05 15:47:08 +05:30
config FEATURE_FANCY_HEAD
bool "Enable head options (-c, -q, and -v)"
default y
2006-10-05 15:47:08 +05:30
depends on HEAD
2003-03-19 14:43:01 +05:30
help
This enables the head options (-c, -q, and -v).
2003-03-19 14:43:01 +05:30
2006-10-05 15:47:08 +05:30
config INSTALL
bool "install"
default y
help
Copy files and set attributes.
2006-10-05 15:47:08 +05:30
config FEATURE_INSTALL_LONG_OPTIONS
bool "Enable long options"
default y
depends on INSTALL && 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.
2006-10-05 15:47:08 +05:30
config LN
bool "ln"
default y
help
ln is used to create hard or soft links between files.
2006-10-05 15:47:08 +05:30
config LOGNAME
bool "logname"
default y
help
logname is used to print the current user's login name.
2006-10-05 15:47:08 +05:30
config LS
bool "ls"
default y
help
ls is used to list the contents of directories.
2006-10-05 15:47:08 +05:30
config FEATURE_LS_FILETYPES
bool "Enable filetyping options (-p and -F)"
default y
2006-10-05 15:47:08 +05:30
depends on LS
help
Enable the ls options (-p and -F).
2006-10-05 15:47:08 +05:30
config FEATURE_LS_FOLLOWLINKS
bool "Enable symlinks dereferencing (-L)"
default y
2006-10-05 15:47:08 +05:30
depends on LS
help
Enable the ls option (-L).
2006-10-05 15:47:08 +05:30
config FEATURE_LS_RECURSIVE
bool "Enable recursion (-R)"
default y
2006-10-05 15:47:08 +05:30
depends on LS
help
Enable the ls option (-R).
2006-10-05 15:47:08 +05:30
config FEATURE_LS_SORTFILES
bool "Sort the file names"
default y
2006-10-05 15:47:08 +05:30
depends on LS
help
Allow ls to sort file names alphabetically.
2006-10-05 15:47:08 +05:30
config FEATURE_LS_TIMESTAMPS
bool "Show file timestamps"
default y
2006-10-05 15:47:08 +05:30
depends on LS
help
Allow ls to display timestamps for files.
2006-10-05 15:47:08 +05:30
config FEATURE_LS_USERNAME
bool "Show username/groupnames"
default y
2006-10-05 15:47:08 +05:30
depends on LS
help
Allow ls to display username/groupname for files.
2006-10-05 15:47:08 +05:30
config FEATURE_LS_COLOR
bool "Allow use of color to identify file types"
default y
depends on LS && LONG_OPTS
help
This enables the --color option to ls.
2006-10-05 15:47:08 +05:30
config FEATURE_LS_COLOR_IS_DEFAULT
bool "Produce colored ls output by default"
default y
2006-10-05 15:47:08 +05:30
depends on 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.
2006-10-05 15:47:08 +05:30
config MD5SUM
bool "md5sum"
default y
help
md5sum is used to print or check MD5 checksums.
2006-10-05 15:47:08 +05:30
config MKDIR
bool "mkdir"
default y
help
mkdir is used to create directories with the specified names.
2006-10-05 15:47:08 +05:30
config FEATURE_MKDIR_LONG_OPTIONS
bool "Enable long options"
default y
depends on MKDIR && LONG_OPTS
help
Support long options for the mkdir applet.
2006-10-05 15:47:08 +05:30
config MKFIFO
bool "mkfifo"
default y
help
mkfifo is used to create FIFOs (named pipes).
The `mknod' program can also create FIFOs.
2006-10-05 15:47:08 +05:30
config MKNOD
bool "mknod"
default y
help
mknod is used to create FIFOs or block/character special
files with the specified names.
2006-10-05 15:47:08 +05:30
config MV
bool "mv"
default y
help
mv is used to move or rename files or directories.
2006-10-05 15:47:08 +05:30
config FEATURE_MV_LONG_OPTIONS
bool "Enable long options"
default y
depends on MV && LONG_OPTS
help
Support long options for the mv applet.
2006-10-05 15:47:08 +05:30
config NICE
bool "nice"
default y
help
nice runs a program with modified scheduling priority.
2006-10-05 15:47:08 +05:30
config NOHUP
2005-09-21 23:55:05 +05:30
bool "nohup"
default y
2005-09-21 23:55:05 +05:30
help
run a command immune to hangups, with output to a non-tty.
2006-10-05 15:47:08 +05:30
config OD
bool "od"
default y
help
od is used to dump binary files in octal and other formats.
2006-10-05 15:47:08 +05:30
config PRINTENV
2005-09-25 04:45:28 +05:30
bool "printenv"
default y
2005-09-25 04:45:28 +05:30
help
printenv is used to print all or part of environment.
2006-10-05 15:47:08 +05:30
config PRINTF
bool "printf"
default y
help
printf is used to format and print specified strings.
It's similar to `echo' except it has more options.
2006-10-05 15:47:08 +05:30
config PWD
bool "pwd"
default y
help
pwd is used to print the current directory.
config READLINK
bool "readlink"
default y
help
This program reads a symbolic link and returns the name
of the file it points to
config FEATURE_READLINK_FOLLOW
bool "Enable canonicalization by following all symlinks (-f)"
default y
depends on READLINK
help
Enable the readlink option (-f).
2006-10-05 15:47:08 +05:30
config REALPATH
bool "realpath"
default y
help
Return the canonicalized absolute pathname.
This isn't provided by GNU shellutils, but where else does it belong.
2006-10-05 15:47:08 +05:30
config RM
bool "rm"
default y
help
rm is used to remove files or directories.
2006-10-05 15:47:08 +05:30
config RMDIR
bool "rmdir"
default y
help
rmdir is used to remove empty directories.
config FEATURE_RMDIR_LONG_OPTIONS
bool "Enable long options"
default y
depends on RMDIR && LONG_OPTS
help
Support long options for the rmdir applet, including
--ignore-fail-on-non-empty for compatibility with GNU rmdir.
2006-10-05 15:47:08 +05:30
config SEQ
bool "seq"
default y
help
print a sequence of numbers
2006-10-05 15:47:08 +05:30
config SHA1SUM
2003-02-17 13:53:22 +05:30
bool "sha1sum"
default y
2003-02-17 13:53:22 +05:30
help
Compute and check SHA1 message digest
config SHA256SUM
bool "sha256sum"
default y
help
Compute and check SHA256 message digest
config SHA512SUM
bool "sha512sum"
default y
help
Compute and check SHA512 message digest
config SHA3SUM
bool "sha3sum"
default y
help
Compute and check SHA3 (512-bit) message digest
2006-10-05 15:47:08 +05:30
config SLEEP
bool "sleep"
default y
2003-03-19 14:43:01 +05:30
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.
2003-03-19 14:43:01 +05:30
2006-10-05 15:47:08 +05:30
config FEATURE_FANCY_SLEEP
bool "Enable multiple arguments and s/m/h/d suffixes"
default y
2006-10-05 15:47:08 +05:30
depends on SLEEP
help
Allow sleep to pause for specified minutes, hours, and days.
config FEATURE_FLOAT_SLEEP
bool "Enable fractional arguments"
default y
depends on FEATURE_FANCY_SLEEP
help
Allow for fractional numeric parameters.
2006-10-05 15:47:08 +05:30
config SORT
bool "sort"
default y
help
sort is used to sort lines of text in specified files.
2006-10-05 15:47:08 +05:30
config FEATURE_SORT_BIG
bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
default y
2006-10-05 15:47:08 +05:30
depends on 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.
The SuSv3 sort standard is available at:
http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
config SPLIT
bool "split"
default y
help
split a file into pieces.
config FEATURE_SPLIT_FANCY
bool "Fancy extensions"
default y
depends on SPLIT
help
Add support for features not required by SUSv3.
Supports additional suffixes 'b' for 512 bytes,
'g' for 1GiB for the -b option.
2006-10-05 15:47:08 +05:30
config STAT
bool "stat"
default y
select PLATFORM_LINUX # statfs()
help
display file or filesystem status.
2006-10-05 15:47:08 +05:30
config FEATURE_STAT_FORMAT
bool "Enable custom formats (-c)"
default y
2006-10-05 15:47:08 +05:30
depends on STAT
help
2006-01-25 05:38:53 +05:30
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.
2006-10-05 15:47:08 +05:30
config STTY
bool "stty"
default y
help
stty is used to change and print terminal line settings.
2006-10-05 15:47:08 +05:30
config SUM
bool "sum"
default y
help
checksum and count the blocks in a file
2006-10-05 15:47:08 +05:30
config SYNC
bool "sync"
default y
help
sync is used to flush filesystem buffers.
config TAC
bool "tac"
default y
help
tac is used to concatenate and print files in reverse.
2006-10-05 15:47:08 +05:30
config TAIL
bool "tail"
default y
help
tail is used to print the last specified number of lines
from files.
2006-10-05 15:47:08 +05:30
config FEATURE_FANCY_TAIL
bool "Enable extra tail options (-q, -s, -v, and -F)"
default y
2006-10-05 15:47:08 +05:30
depends on 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
2006-10-05 15:47:08 +05:30
config TEE
bool "tee"
default y
help
tee is used to read from standard input and write
to standard output and files.
2006-10-05 15:47:08 +05:30
config FEATURE_TEE_USE_BLOCK_IO
bool "Enable block I/O (larger/faster) instead of byte I/O"
default y
2006-10-05 15:47:08 +05:30
depends on TEE
2003-03-19 14:43:01 +05:30
help
Enable this option for a faster tee, at expense of size.
2003-03-19 14:43:01 +05:30
2006-10-05 15:47:08 +05:30
config TRUE
bool "true"
default y
help
true returns an exit code of TRUE (0).
2006-10-05 15:47:08 +05:30
config TTY
bool "tty"
default y
help
tty is used to print the name of the current terminal to
standard output.
2006-10-05 15:47:08 +05:30
config UNAME
bool "uname"
default y
help
uname is used to print system information.
config UNEXPAND
bool "unexpand"
default y
help
By default, convert only leading sequences of blanks to tabs.
config FEATURE_UNEXPAND_LONG_OPTIONS
bool "Enable long options"
default y
depends on UNEXPAND && LONG_OPTS
help
Support long options for the unexpand applet.
2006-10-05 15:47:08 +05:30
config UNIQ
bool "uniq"
default y
help
uniq is used to remove duplicate lines from a sorted file.
2006-10-05 15:47:08 +05:30
config USLEEP
bool "usleep"
default y
help
usleep is used to pause for a specified number of microseconds.
2006-10-05 15:47:08 +05:30
config UUDECODE
bool "uudecode"
default y
help
uudecode is used to decode a uuencoded file.
2006-10-05 15:47:08 +05:30
config UUENCODE
bool "uuencode"
default y
help
uuencode is used to uuencode a file.
2006-10-05 15:47:08 +05:30
config WC
bool "wc"
default y
help
wc is used to print the number of bytes, words, and lines,
in specified files.
2006-10-05 15:47:08 +05:30
config FEATURE_WC_LARGE
bool "Support very large files in wc"
default y
2006-10-05 15:47:08 +05:30
depends on WC
help
2009-02-14 17:43:13 +05:30
Use "unsigned long long" in wc for counter variables.
2006-10-05 15:47:08 +05:30
config WHOAMI
bool "whoami"
default y
help
whoami is used to print the username of the current
user id (same as id -un).
2006-10-05 15:47:08 +05:30
config YES
bool "yes"
default y
help
yes is used to repeatedly output a specific string, or
the default string `y'.
comment "Common options for cp and mv"
2006-10-05 15:47:08 +05:30
depends on CP || MV
2006-10-05 15:47:08 +05:30
config FEATURE_PRESERVE_HARDLINKS
bool "Preserve hard links"
default y
2006-10-05 15:47:08 +05:30
depends on CP || MV
help
Allow cp and mv to preserve hard links.
comment "Common options for ls, more and telnet"
2006-10-05 15:47:08 +05:30
depends on LS || MORE || TELNET
2006-10-05 15:47:08 +05:30
config FEATURE_AUTOWIDTH
bool "Calculate terminal & column widths"
default y
2006-10-05 15:47:08 +05:30
depends on LS || MORE || TELNET
help
This option allows utilities such as 'ls', 'more' and 'telnet'
2006-09-17 21:58:10 +05:30
to determine the width of the screen, which can allow them to
display additional text or avoid wrapping text onto the next line.
2006-09-17 21:58:10 +05:30
If you leave this disabled, your utilities will be especially
primitive and will be unable to determine the current screen width.
comment "Common options for df, du, ls"
2006-10-05 15:47:08 +05:30
depends on DF || DU || LS
2006-10-05 15:47:08 +05:30
config FEATURE_HUMAN_READABLE
bool "Support for human readable output (example 13k, 23M, 235G)"
default y
2006-10-05 15:47:08 +05:30
depends on DF || DU || LS
help
Allow df, du, and ls to have human readable output.
comment "Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum"
depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM
2006-10-05 15:47:08 +05:30
config FEATURE_MD5_SHA1_SUM_CHECK
bool "Enable -c, -s and -w options"
default y
depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || 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.
endmenu