--- trunk/mkinitrd-magellan/busybox/coreutils/Config.in 2010/04/29 20:38:48 983 +++ trunk/mkinitrd-magellan/busybox/coreutils/Config.in 2010/05/30 11:32:42 984 @@ -52,6 +52,13 @@ chown is used to change the user and/or group ownership of files. +config FEATURE_CHOWN_LONG_OPTIONS + bool "Enable long options" + default n + depends on CHOWN && LONG_OPTS + help + Enable use of long options + config CHROOT bool "chroot" default n @@ -78,6 +85,14 @@ help cp is used to copy files and directories. +config FEATURE_CP_LONG_OPTIONS + bool "Enable long options for cp" + default n + depends on CP && LONG_OPTS + help + Enable long options for cp. + Also add support for --parents option. + config CUT bool "cut" default n @@ -100,6 +115,22 @@ Enable option (-I) to output an ISO-8601 compliant date/time string. +config FEATURE_DATE_COMPAT + bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format" + default y + depends on 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 DD bool "dd" default n @@ -113,13 +144,22 @@ default y depends on DD help - sending a SIGUSR1 signal to a running `dd' process makes it + 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 + 10899206+0 records in + 10899206+0 records out + +config FEATURE_DD_THIRD_STATUS_LINE + bool "Enable the third status line upon signal" + default n + depends on DD && FEATURE_DD_SIGNAL_HANDLING + help + Displays a coreutils-like third status line with transferred bytes, + elapsed time and speed. config FEATURE_DD_IBS_OBS bool "Enable ibs, obs and conv options" @@ -189,7 +229,7 @@ config FEATURE_FANCY_ECHO bool "Enable echo options (-n and -e)" default y - depends on ECHO || ASH_BUILTIN_ECHO + depends on ECHO || ASH_BUILTIN_ECHO || HUSH help This adds options (-n and -e) to echo. @@ -204,7 +244,7 @@ config FEATURE_ENV_LONG_OPTIONS bool "Enable long options" default n - depends on ENV && GETOPT_LONG + depends on ENV && LONG_OPTS help Support long options for the env applet. @@ -217,7 +257,7 @@ config FEATURE_EXPAND_LONG_OPTIONS bool "Enable long options" default n - depends on EXPAND && GETOPT_LONG + depends on EXPAND && LONG_OPTS help Support long options for the expand applet. @@ -249,6 +289,12 @@ help Wrap text to fit a specific width. +config FSYNC + bool "fsync" + default n + help + fsync is used to flush file-related cached blocks to disk. + config HEAD bool "head" default n @@ -285,7 +331,7 @@ config FEATURE_INSTALL_LONG_OPTIONS bool "Enable long options" default n - depends on INSTALL && GETOPT_LONG + depends on INSTALL && LONG_OPTS help Support long options for the install applet. @@ -358,7 +404,7 @@ config FEATURE_LS_COLOR bool "Allow use of color to identify file types" default y - depends on LS && GETOPT_LONG + depends on LS && LONG_OPTS help This enables the --color option to ls. @@ -388,7 +434,7 @@ config FEATURE_MKDIR_LONG_OPTIONS bool "Enable long options" default n - depends on MKDIR && GETOPT_LONG + depends on MKDIR && LONG_OPTS help Support long options for the mkdir applet. @@ -415,7 +461,7 @@ config FEATURE_MV_LONG_OPTIONS bool "Enable long options" default n - depends on MV && GETOPT_LONG + depends on MV && LONG_OPTS help Support long options for the mv applet. @@ -492,7 +538,7 @@ config FEATURE_RMDIR_LONG_OPTIONS bool "Enable long options" default n - depends on RMDIR && GETOPT_LONG + depends on RMDIR && LONG_OPTS help Support long options for the rmdir applet, including --ignore-fail-on-non-empty for compatibility with GNU rmdir. @@ -509,6 +555,18 @@ help Compute and check SHA1 message digest +config SHA256SUM + bool "sha256sum" + default n + help + Compute and check SHA256 message digest + +config SHA512SUM + bool "sha512sum" + default n + help + Compute and check SHA512 message digest + config SLEEP bool "sleep" default n @@ -617,7 +675,7 @@ from files. config FEATURE_FANCY_TAIL - bool "Enable extra tail options (-q, -s, and -v)" + bool "Enable extra tail options (-q, -s, -v, and -F)" default y depends on TAIL help @@ -649,7 +707,7 @@ config FEATURE_TEST_64 bool "Extend test to 64 bit" default n - depends on TEST || ASH_BUILTIN_TEST + depends on TEST || ASH_BUILTIN_TEST || HUSH help Enable 64-bit support in test. @@ -714,7 +772,7 @@ config FEATURE_UNEXPAND_LONG_OPTIONS bool "Enable long options" default n - depends on UNEXPAND && GETOPT_LONG + depends on UNEXPAND && LONG_OPTS help Support long options for the unexpand applet. @@ -754,7 +812,7 @@ default n depends on WC help - Use "unsigned long long" in wc for count variables. + Use "unsigned long long" in wc for counter variables. config WHO bool "who" @@ -811,13 +869,13 @@ help Allow df, du, and ls to have human readable output. -comment "Common options for md5sum, sha1sum" - depends on MD5SUM || SHA1SUM +comment "Common options for md5sum, sha1sum, sha256sum, sha512sum" + depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM config FEATURE_MD5_SHA1_SUM_CHECK bool "Enable -c, -s and -w options" default n - depends on MD5SUM || SHA1SUM + depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM help Enabling the -c options allows files to be checked against pre-calculated hash values.