2005-03-06 03:34:52 +00:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see scripts/kbuild/config-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "Finding Utilities"
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FIND
|
|
|
|
bool "find"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
find is used to search your system to find specified files.
|
|
|
|
|
2006-08-08 10:27:25 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_PRINT0
|
|
|
|
bool "Enable -print0 option"
|
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
Causes output names to be separated by a null character
|
|
|
|
rather than a newline. This allows names that contain
|
|
|
|
newlines and other whitespace to be more easily
|
|
|
|
interpreted by other programs.
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_MTIME
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable modified time matching (-mtime) option"
|
2005-03-06 03:34:52 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
Allow searching based on the modification time of
|
2006-04-04 19:24:40 +00:00
|
|
|
files, in days.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_MMIN
|
2007-10-05 00:27:49 +00:00
|
|
|
bool "Enable modified time matching (-mmin) option"
|
2006-04-04 19:24:40 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
Allow searching based on the modification time of
|
|
|
|
files, in minutes.
|
2005-03-06 03:34:52 +00:00
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_PERM
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable permissions matching (-perm) option"
|
2005-03-06 03:34:52 +00:00
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
Enable searching based on file permissions.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_TYPE
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable filetype matching (-type) option"
|
2005-03-06 03:34:52 +00:00
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
Enable searching based on file type (file,
|
|
|
|
directory, socket, device, etc.).
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_XDEV
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable stay in filesystem (-xdev) option"
|
2005-03-06 03:34:52 +00:00
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
2007-10-05 00:27:49 +00:00
|
|
|
This option allows find to restrict searches to a single filesystem.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_MAXDEPTH
|
|
|
|
bool "Enable -maxdepth N option"
|
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
This option enables -maxdepth N option.
|
2005-03-06 03:34:52 +00:00
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_NEWER
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable -newer option for comparing file mtimes"
|
2005-03-06 03:34:52 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
Support the 'find -newer' option for finding any files which have
|
|
|
|
a modified time that is more recent than the specified FILE.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_INUM
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable inode number matching (-inum) option"
|
2005-03-06 03:34:52 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
Support the 'find -inum' option for searching by inode number.
|
|
|
|
|
2006-04-04 19:24:40 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_EXEC
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable (-exec) option allowing execution of commands"
|
2006-04-04 19:24:40 +00:00
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
Support the 'find -exec' option for executing commands based upon
|
|
|
|
the files matched.
|
|
|
|
|
2007-10-05 00:27:49 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_USER
|
|
|
|
bool "Enable username/uid matching (-user) option"
|
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
Support the 'find -user' option for searching by username or uid.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_GROUP
|
|
|
|
bool "Enable group/gid matching (-group) option"
|
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
Support the 'find -group' option for searching by group name or gid.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_NOT
|
|
|
|
bool "Enable the 'not' (!) operator"
|
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
Support the '!' operator to invert the test results.
|
|
|
|
If 'Enable full-blown desktop' is enabled, then will also support
|
|
|
|
the non-POSIX notation '-not'.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
|
|
|
|
bool "Enable the -depth option"
|
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
Process each directory's contents before the directory itself.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_PAREN
|
|
|
|
bool "Enable parens in options"
|
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
Enable usage of parens '(' to specify logical order of arguments.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_SIZE
|
|
|
|
bool "Enable (-size) option allowing matching for file size"
|
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
Support the 'find -size' option for searching by file size.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_PRUNE
|
|
|
|
bool "Enable (-prune) option allowing to exclude subdirectories"
|
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
If the file is a directory, dont descend into it. Useful for
|
|
|
|
exclusion .svn and CVS directories.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_DELETE
|
|
|
|
bool "Enable -delete option allowing to delete files"
|
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
|
|
|
|
help
|
|
|
|
Support the 'find -delete' option for deleting files and direcotries.
|
|
|
|
WARNING: This option can do much harm if used wrong. Busybox will not
|
|
|
|
try to protect the user from doing stupid things. Use with care.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_PATH
|
|
|
|
bool "Enable -path option allowing to match pathname patterns"
|
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
The -path option matches whole pathname instead of just filename.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_REGEX
|
|
|
|
bool "Enable -regex: match pathname to regex"
|
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FIND
|
|
|
|
help
|
|
|
|
The -regex option matches whole pathname against regular expression.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FIND_CONTEXT
|
|
|
|
bool "Enable (-context) option for matching security context"
|
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_SELINUX
|
|
|
|
help
|
|
|
|
Support the 'find -context' option for matching security context.
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_GREP
|
|
|
|
bool "grep"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
grep is used to search files for a specified pattern.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_GREP_EGREP_ALIAS
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Support extended regular expressions (egrep & grep -E)"
|
2005-03-06 03:34:52 +00:00
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_GREP
|
|
|
|
help
|
|
|
|
Enabled support for extended regular expressions. Extended
|
|
|
|
regular expressions allow for alternation (foo|bar), grouping,
|
|
|
|
and various repetition operators.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_GREP_FGREP_ALIAS
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Alias fgrep to grep -F"
|
2005-03-06 03:34:52 +00:00
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_GREP
|
|
|
|
help
|
2006-04-04 19:24:40 +00:00
|
|
|
fgrep sees the search pattern as a normal string rather than
|
2005-03-06 03:34:52 +00:00
|
|
|
regular expressions.
|
2006-04-04 19:24:40 +00:00
|
|
|
grep -F is always builtin, this just creates the fgrep alias.
|
2005-03-06 03:34:52 +00:00
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable before and after context flags (-A, -B and -C)"
|
2005-03-06 03:34:52 +00:00
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_GREP
|
|
|
|
help
|
|
|
|
Print the specified number of leading (-B) and/or trailing (-A)
|
|
|
|
context surrounding our matching lines.
|
|
|
|
Print the specified number of context lines (-C).
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_XARGS
|
|
|
|
bool "xargs"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
xargs is used to execute a specified command on
|
|
|
|
every item from standard input.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable prompt and confirmation option -p"
|
2005-03-06 03:34:52 +00:00
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_XARGS
|
|
|
|
help
|
|
|
|
Support prompt the user about whether to run each command
|
|
|
|
line and read a line from the terminal.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable support single and double quotes and backslash"
|
2005-03-06 03:34:52 +00:00
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_XARGS
|
|
|
|
help
|
|
|
|
Default xargs unsupport single and double quotes
|
|
|
|
and backslash for can use aruments with spaces.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable support options -x"
|
2005-03-06 03:34:52 +00:00
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_XARGS
|
|
|
|
help
|
|
|
|
Enable support exit if the size (see the -s or -n option)
|
|
|
|
is exceeded.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM
|
2007-01-01 18:28:03 +00:00
|
|
|
bool "Enable null terminated option -0"
|
2005-03-06 03:34:52 +00:00
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_XARGS
|
|
|
|
help
|
|
|
|
Enable input filenames are terminated by a null character
|
|
|
|
instead of by whitespace, and the quotes and backslash
|
|
|
|
are not special.
|
|
|
|
|
|
|
|
endmenu
|