source: MondoRescue/branches/2.2.9/mindi-busybox/coreutils/Config.in

Last change on this file was 3320, checked in by Bruno Cornec, 9 years ago
  • Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in the move to 3.0
File size: 19.5 KB
Line 
1# DO NOT EDIT. This file is generated from Config.src
2#
3# For a description of the syntax of this configuration file,
4# see scripts/kbuild/config-language.txt.
5#
6
7menu "Coreutils"
8
9config BASENAME
10 bool "basename"
11 default y
12 help
13 basename is used to strip the directory and suffix from filenames,
14 leaving just the filename itself. Enable this option if you wish
15 to enable the 'basename' utility.
16config CAT
17 bool "cat"
18 default y
19 help
20 cat is used to concatenate files and print them to the standard
21 output. Enable this option if you wish to enable the 'cat' utility.
22config DATE
23 bool "date"
24 default y
25 help
26 date is used to set the system date or display the
27 current time in the given format.
28
29config FEATURE_DATE_ISOFMT
30 bool "Enable ISO date format output (-I)"
31 default y
32 depends on DATE
33 help
34 Enable option (-I) to output an ISO-8601 compliant
35 date/time string.
36
37# defaults to "no": stat's nanosecond field is a bit non-portable
38config FEATURE_DATE_NANO
39 bool "Support %[num]N nanosecond format specifier"
40 default n
41 depends on DATE && PLATFORM_LINUX # syscall(__NR_clock_gettime)
42 help
43 Support %[num]N format specifier. Adds ~250 bytes of code.
44
45config FEATURE_DATE_COMPAT
46 bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format"
47 default y
48 depends on DATE
49 help
50 System time can be set by 'date -s DATE' and simply 'date DATE',
51 but formats of DATE string are different. 'date DATE' accepts
52 a rather weird MMDDhhmm[[YY]YY][.ss] format with completely
53 unnatural placement of year between minutes and seconds.
54 date -s (and other commands like touch -d) use more sensible
55 formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss).
56
57 With this option off, 'date DATE' is 'date -s DATE' support
58 the same format. With it on, 'date DATE' additionally supports
59 MMDDhhmm[[YY]YY][.ss] format.
60config TEST
61 bool "test"
62 default y
63 help
64 test is used to check file types and compare values,
65 returning an appropriate exit code. The bash shell
66 has test built in, ash can build it in optionally.
67
68config FEATURE_TEST_64
69 bool "Extend test to 64 bit"
70 default y
71 depends on TEST || ASH_BUILTIN_TEST || HUSH
72 help
73 Enable 64-bit support in test.
74config TR
75 bool "tr"
76 default y
77 help
78 tr is used to squeeze, and/or delete characters from standard
79 input, writing to standard output.
80
81config FEATURE_TR_CLASSES
82 bool "Enable character classes (such as [:upper:])"
83 default y
84 depends on TR
85 help
86 Enable character classes, enabling commands such as:
87 tr [:upper:] [:lower:] to convert input into lowercase.
88
89config FEATURE_TR_EQUIV
90 bool "Enable equivalence classes"
91 default y
92 depends on TR
93 help
94 Enable equivalence classes, which essentially add the enclosed
95 character to the current set. For instance, tr [=a=] xyz would
96 replace all instances of 'a' with 'xyz'. This option is mainly
97 useful for cases when no other way of expressing a character
98 is possible.
99config BASE64
100 bool "base64"
101 default y
102 help
103 Base64 encode and decode
104
105config CAL
106 bool "cal"
107 default y
108 help
109 cal is used to display a monthly calender.
110
111config CATV
112 bool "catv"
113 default y
114 help
115 Display nonprinting characters as escape sequences (like some
116 implementations' cat -v option).
117
118config CHGRP
119 bool "chgrp"
120 default y
121 help
122 chgrp is used to change the group ownership of files.
123
124config CHMOD
125 bool "chmod"
126 default y
127 help
128 chmod is used to change the access permission of files.
129
130config CHOWN
131 bool "chown"
132 default y
133 help
134 chown is used to change the user and/or group ownership
135 of files.
136
137config FEATURE_CHOWN_LONG_OPTIONS
138 bool "Enable long options"
139 default y
140 depends on CHOWN && LONG_OPTS
141 help
142 Enable use of long options
143
144config CHROOT
145 bool "chroot"
146 default y
147 help
148 chroot is used to change the root directory and run a command.
149 The default command is `/bin/sh'.
150
151config CKSUM
152 bool "cksum"
153 default y
154 help
155 cksum is used to calculate the CRC32 checksum of a file.
156
157config COMM
158 bool "comm"
159 default y
160 help
161 comm is used to compare two files line by line and return
162 a three-column output.
163
164config CP
165 bool "cp"
166 default y
167 help
168 cp is used to copy files and directories.
169
170config FEATURE_CP_LONG_OPTIONS
171 bool "Enable long options for cp"
172 default y
173 depends on CP && LONG_OPTS
174 help
175 Enable long options for cp.
176 Also add support for --parents option.
177
178config CUT
179 bool "cut"
180 default y
181 help
182 cut is used to print selected parts of lines from
183 each file to stdout.
184
185config DD
186 bool "dd"
187 default y
188 help
189 dd copies a file (from standard input to standard output,
190 by default) using specific input and output blocksizes,
191 while optionally performing conversions on it.
192
193config FEATURE_DD_SIGNAL_HANDLING
194 bool "Enable DD signal handling for status reporting"
195 default y
196 depends on DD
197 help
198 Sending a SIGUSR1 signal to a running `dd' process makes it
199 print to standard error the number of records read and written
200 so far, then to resume copying.
201
202 $ dd if=/dev/zero of=/dev/null&
203 $ pid=$! kill -USR1 $pid; sleep 1; kill $pid
204 10899206+0 records in
205 10899206+0 records out
206
207config FEATURE_DD_THIRD_STATUS_LINE
208 bool "Enable the third status line upon signal"
209 default y
210 depends on DD && FEATURE_DD_SIGNAL_HANDLING
211 help
212 Displays a coreutils-like third status line with transferred bytes,
213 elapsed time and speed.
214
215config FEATURE_DD_IBS_OBS
216 bool "Enable ibs, obs and conv options"
217 default y
218 depends on DD
219 help
220 Enables support for writing a certain number of bytes in and out,
221 at a time, and performing conversions on the data stream.
222
223config DF
224 bool "df"
225 default y
226 help
227 df reports the amount of disk space used and available
228 on filesystems.
229
230config FEATURE_DF_FANCY
231 bool "Enable -a, -i, -B"
232 default y
233 depends on DF
234 help
235 This option enables -a, -i and -B.
236
237 -a Show all filesystems
238 -i Inodes
239 -B <SIZE> Blocksize
240
241config DIRNAME
242 bool "dirname"
243 default y
244 help
245 dirname is used to strip a non-directory suffix from
246 a file name.
247
248config DOS2UNIX
249 bool "dos2unix/unix2dos"
250 default y
251 help
252 dos2unix is used to convert a text file from DOS format to
253 UNIX format, and vice versa.
254
255config UNIX2DOS
256 bool
257 default y
258 depends on DOS2UNIX
259 help
260 unix2dos is used to convert a text file from UNIX format to
261 DOS format, and vice versa.
262
263config DU
264 bool "du (default blocksize of 512 bytes)"
265 default y
266 help
267 du is used to report the amount of disk space used
268 for specified files.
269
270config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
271 bool "Use a default blocksize of 1024 bytes (1K)"
272 default y
273 depends on DU
274 help
275 Use a blocksize of (1K) instead of the default 512b.
276
277config ECHO
278 bool "echo (basic SuSv3 version taking no options)"
279 default y
280 help
281 echo is used to print a specified string to stdout.
282
283# this entry also appears in shell/Config.in, next to the echo builtin
284config FEATURE_FANCY_ECHO
285 bool "Enable echo options (-n and -e)"
286 default y
287 depends on ECHO || ASH_BUILTIN_ECHO || HUSH
288 help
289 This adds options (-n and -e) to echo.
290
291config ENV
292 bool "env"
293 default y
294 help
295 env is used to set an environment variable and run
296 a command; without options it displays the current
297 environment.
298
299config FEATURE_ENV_LONG_OPTIONS
300 bool "Enable long options"
301 default y
302 depends on ENV && LONG_OPTS
303 help
304 Support long options for the env applet.
305
306config EXPAND
307 bool "expand"
308 default y
309 help
310 By default, convert all tabs to spaces.
311
312config FEATURE_EXPAND_LONG_OPTIONS
313 bool "Enable long options"
314 default y
315 depends on EXPAND && LONG_OPTS
316 help
317 Support long options for the expand applet.
318
319config EXPR
320 bool "expr"
321 default y
322 help
323 expr is used to calculate numbers and print the result
324 to standard output.
325
326config EXPR_MATH_SUPPORT_64
327 bool "Extend Posix numbers support to 64 bit"
328 default y
329 depends on EXPR
330 help
331 Enable 64-bit math support in the expr applet. This will make
332 the applet slightly larger, but will allow computation with very
333 large numbers.
334
335config FALSE
336 bool "false"
337 default y
338 help
339 false returns an exit code of FALSE (1).
340
341config FOLD
342 bool "fold"
343 default y
344 help
345 Wrap text to fit a specific width.
346
347config FSYNC
348 bool "fsync"
349 default y
350 help
351 fsync is used to flush file-related cached blocks to disk.
352
353config HEAD
354 bool "head"
355 default y
356 help
357 head is used to print the first specified number of lines
358 from files.
359
360config FEATURE_FANCY_HEAD
361 bool "Enable head options (-c, -q, and -v)"
362 default y
363 depends on HEAD
364 help
365 This enables the head options (-c, -q, and -v).
366
367config HOSTID
368 bool "hostid"
369 default y
370 help
371 hostid prints the numeric identifier (in hexadecimal) for
372 the current host.
373
374config ID
375 bool "id"
376 default y
377 help
378 id displays the current user and group ID names.
379
380config INSTALL
381 bool "install"
382 default y
383 help
384 Copy files and set attributes.
385
386config FEATURE_INSTALL_LONG_OPTIONS
387 bool "Enable long options"
388 default y
389 depends on INSTALL && LONG_OPTS
390 help
391 Support long options for the install applet.
392
393config LENGTH
394 bool "length"
395 default y
396 help
397 length is used to print out the length of a specified string.
398
399config LN
400 bool "ln"
401 default y
402 help
403 ln is used to create hard or soft links between files.
404
405config LOGNAME
406 bool "logname"
407 default y
408 help
409 logname is used to print the current user's login name.
410
411config LS
412 bool "ls"
413 default y
414 help
415 ls is used to list the contents of directories.
416
417config FEATURE_LS_FILETYPES
418 bool "Enable filetyping options (-p and -F)"
419 default y
420 depends on LS
421 help
422 Enable the ls options (-p and -F).
423
424config FEATURE_LS_FOLLOWLINKS
425 bool "Enable symlinks dereferencing (-L)"
426 default y
427 depends on LS
428 help
429 Enable the ls option (-L).
430
431config FEATURE_LS_RECURSIVE
432 bool "Enable recursion (-R)"
433 default y
434 depends on LS
435 help
436 Enable the ls option (-R).
437
438config FEATURE_LS_SORTFILES
439 bool "Sort the file names"
440 default y
441 depends on LS
442 help
443 Allow ls to sort file names alphabetically.
444
445config FEATURE_LS_TIMESTAMPS
446 bool "Show file timestamps"
447 default y
448 depends on LS
449 help
450 Allow ls to display timestamps for files.
451
452config FEATURE_LS_USERNAME
453 bool "Show username/groupnames"
454 default y
455 depends on LS
456 help
457 Allow ls to display username/groupname for files.
458
459config FEATURE_LS_COLOR
460 bool "Allow use of color to identify file types"
461 default y
462 depends on LS && LONG_OPTS
463 help
464 This enables the --color option to ls.
465
466config FEATURE_LS_COLOR_IS_DEFAULT
467 bool "Produce colored ls output by default"
468 default y
469 depends on FEATURE_LS_COLOR
470 help
471 Saying yes here will turn coloring on by default,
472 even if no "--color" option is given to the ls command.
473 This is not recommended, since the colors are not
474 configurable, and the output may not be legible on
475 many output screens.
476
477config MD5SUM
478 bool "md5sum"
479 default y
480 help
481 md5sum is used to print or check MD5 checksums.
482
483config MKDIR
484 bool "mkdir"
485 default y
486 help
487 mkdir is used to create directories with the specified names.
488
489config FEATURE_MKDIR_LONG_OPTIONS
490 bool "Enable long options"
491 default y
492 depends on MKDIR && LONG_OPTS
493 help
494 Support long options for the mkdir applet.
495
496config MKFIFO
497 bool "mkfifo"
498 default y
499 help
500 mkfifo is used to create FIFOs (named pipes).
501 The `mknod' program can also create FIFOs.
502
503config MKNOD
504 bool "mknod"
505 default y
506 help
507 mknod is used to create FIFOs or block/character special
508 files with the specified names.
509
510config MV
511 bool "mv"
512 default y
513 help
514 mv is used to move or rename files or directories.
515
516config FEATURE_MV_LONG_OPTIONS
517 bool "Enable long options"
518 default y
519 depends on MV && LONG_OPTS
520 help
521 Support long options for the mv applet.
522
523config NICE
524 bool "nice"
525 default y
526 help
527 nice runs a program with modified scheduling priority.
528
529config NOHUP
530 bool "nohup"
531 default y
532 help
533 run a command immune to hangups, with output to a non-tty.
534
535config OD
536 bool "od"
537 default y
538 help
539 od is used to dump binary files in octal and other formats.
540
541config PRINTENV
542 bool "printenv"
543 default y
544 help
545 printenv is used to print all or part of environment.
546
547config PRINTF
548 bool "printf"
549 default y
550 help
551 printf is used to format and print specified strings.
552 It's similar to `echo' except it has more options.
553
554config PWD
555 bool "pwd"
556 default y
557 help
558 pwd is used to print the current directory.
559
560config READLINK
561 bool "readlink"
562 default y
563 help
564 This program reads a symbolic link and returns the name
565 of the file it points to
566
567config FEATURE_READLINK_FOLLOW
568 bool "Enable canonicalization by following all symlinks (-f)"
569 default y
570 depends on READLINK
571 help
572 Enable the readlink option (-f).
573
574config REALPATH
575 bool "realpath"
576 default y
577 help
578 Return the canonicalized absolute pathname.
579 This isn't provided by GNU shellutils, but where else does it belong.
580
581config RM
582 bool "rm"
583 default y
584 help
585 rm is used to remove files or directories.
586
587config RMDIR
588 bool "rmdir"
589 default y
590 help
591 rmdir is used to remove empty directories.
592
593config FEATURE_RMDIR_LONG_OPTIONS
594 bool "Enable long options"
595 default y
596 depends on RMDIR && LONG_OPTS
597 help
598 Support long options for the rmdir applet, including
599 --ignore-fail-on-non-empty for compatibility with GNU rmdir.
600
601config SEQ
602 bool "seq"
603 default y
604 help
605 print a sequence of numbers
606
607config SHA1SUM
608 bool "sha1sum"
609 default y
610 help
611 Compute and check SHA1 message digest
612
613config SHA256SUM
614 bool "sha256sum"
615 default y
616 help
617 Compute and check SHA256 message digest
618
619config SHA512SUM
620 bool "sha512sum"
621 default y
622 help
623 Compute and check SHA512 message digest
624
625config SLEEP
626 bool "sleep"
627 default y
628 help
629 sleep is used to pause for a specified number of seconds.
630 It comes in 3 versions:
631 - small: takes one integer parameter
632 - fancy: takes multiple integer arguments with suffixes:
633 sleep 1d 2h 3m 15s
634 - fancy with fractional numbers:
635 sleep 2.3s 4.5h sleeps for 16202.3 seconds
636 Last one is "the most compatible" with coreutils sleep,
637 but it adds around 1k of code.
638
639config FEATURE_FANCY_SLEEP
640 bool "Enable multiple arguments and s/m/h/d suffixes"
641 default y
642 depends on SLEEP
643 help
644 Allow sleep to pause for specified minutes, hours, and days.
645
646config FEATURE_FLOAT_SLEEP
647 bool "Enable fractional arguments"
648 default y
649 depends on FEATURE_FANCY_SLEEP
650 help
651 Allow for fractional numeric parameters.
652
653config SORT
654 bool "sort"
655 default y
656 help
657 sort is used to sort lines of text in specified files.
658
659config FEATURE_SORT_BIG
660 bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
661 default y
662 depends on SORT
663 help
664 Without this, sort only supports -r, -u, and an integer version
665 of -n. Selecting this adds sort keys, floating point support, and
666 more. This adds a little over 3k to a nonstatic build on x86.
667
668 The SuSv3 sort standard is available at:
669 http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
670
671config SPLIT
672 bool "split"
673 default y
674 help
675 split a file into pieces.
676
677config FEATURE_SPLIT_FANCY
678 bool "Fancy extensions"
679 default y
680 depends on SPLIT
681 help
682 Add support for features not required by SUSv3.
683 Supports additional suffixes 'b' for 512 bytes,
684 'g' for 1GiB for the -b option.
685
686config STAT
687 bool "stat"
688 default y
689 depends on PLATFORM_LINUX # statfs()
690 help
691 display file or filesystem status.
692
693config FEATURE_STAT_FORMAT
694 bool "Enable custom formats (-c)"
695 default y
696 depends on STAT
697 help
698 Without this, stat will not support the '-c format' option where
699 users can pass a custom format string for output. This adds about
700 7k to a nonstatic build on amd64.
701
702config STTY
703 bool "stty"
704 default y
705 help
706 stty is used to change and print terminal line settings.
707
708config SUM
709 bool "sum"
710 default y
711 help
712 checksum and count the blocks in a file
713
714config SYNC
715 bool "sync"
716 default y
717 help
718 sync is used to flush filesystem buffers.
719
720config TAC
721 bool "tac"
722 default y
723 help
724 tac is used to concatenate and print files in reverse.
725
726config TAIL
727 bool "tail"
728 default y
729 help
730 tail is used to print the last specified number of lines
731 from files.
732
733config FEATURE_FANCY_TAIL
734 bool "Enable extra tail options (-q, -s, -v, and -F)"
735 default y
736 depends on TAIL
737 help
738 The options (-q, -s, and -v) are provided by GNU tail, but
739 are not specific in the SUSv3 standard.
740
741 -q Never output headers giving file names
742 -s SEC Wait SEC seconds between reads with -f
743 -v Always output headers giving file names
744
745config TEE
746 bool "tee"
747 default y
748 help
749 tee is used to read from standard input and write
750 to standard output and files.
751
752config FEATURE_TEE_USE_BLOCK_IO
753 bool "Enable block I/O (larger/faster) instead of byte I/O"
754 default y
755 depends on TEE
756 help
757 Enable this option for a faster tee, at expense of size.
758
759config TOUCH
760 bool "touch"
761 default y
762 help
763 touch is used to create or change the access and/or
764 modification timestamp of specified files.
765
766config TRUE
767 bool "true"
768 default y
769 help
770 true returns an exit code of TRUE (0).
771
772config TTY
773 bool "tty"
774 default y
775 help
776 tty is used to print the name of the current terminal to
777 standard output.
778
779config UNAME
780 bool "uname"
781 default y
782 help
783 uname is used to print system information.
784
785config UNEXPAND
786 bool "unexpand"
787 default y
788 help
789 By default, convert only leading sequences of blanks to tabs.
790
791config FEATURE_UNEXPAND_LONG_OPTIONS
792 bool "Enable long options"
793 default y
794 depends on UNEXPAND && LONG_OPTS
795 help
796 Support long options for the unexpand applet.
797
798config UNIQ
799 bool "uniq"
800 default y
801 help
802 uniq is used to remove duplicate lines from a sorted file.
803
804config USLEEP
805 bool "usleep"
806 default y
807 help
808 usleep is used to pause for a specified number of microseconds.
809
810config UUDECODE
811 bool "uudecode"
812 default y
813 help
814 uudecode is used to decode a uuencoded file.
815
816config UUENCODE
817 bool "uuencode"
818 default y
819 help
820 uuencode is used to uuencode a file.
821
822config WC
823 bool "wc"
824 default y
825 help
826 wc is used to print the number of bytes, words, and lines,
827 in specified files.
828
829config FEATURE_WC_LARGE
830 bool "Support very large files in wc"
831 default y
832 depends on WC
833 help
834 Use "unsigned long long" in wc for counter variables.
835
836config WHO
837 bool "who"
838 default y
839 depends on FEATURE_UTMP
840 help
841 who is used to show who is logged on.
842
843config WHOAMI
844 bool "whoami"
845 default y
846 help
847 whoami is used to print the username of the current
848 user id (same as id -un).
849
850config YES
851 bool "yes"
852 default y
853 help
854 yes is used to repeatedly output a specific string, or
855 the default string `y'.
856
857comment "Common options for cp and mv"
858 depends on CP || MV
859
860config FEATURE_PRESERVE_HARDLINKS
861 bool "Preserve hard links"
862 default y
863 depends on CP || MV
864 help
865 Allow cp and mv to preserve hard links.
866
867comment "Common options for ls, more and telnet"
868 depends on LS || MORE || TELNET
869
870config FEATURE_AUTOWIDTH
871 bool "Calculate terminal & column widths"
872 default y
873 depends on LS || MORE || TELNET
874 help
875 This option allows utilities such as 'ls', 'more' and 'telnet'
876 to determine the width of the screen, which can allow them to
877 display additional text or avoid wrapping text onto the next line.
878 If you leave this disabled, your utilities will be especially
879 primitive and will be unable to determine the current screen width.
880
881comment "Common options for df, du, ls"
882 depends on DF || DU || LS
883
884config FEATURE_HUMAN_READABLE
885 bool "Support for human readable output (example 13k, 23M, 235G)"
886 default y
887 depends on DF || DU || LS
888 help
889 Allow df, du, and ls to have human readable output.
890
891comment "Common options for md5sum, sha1sum, sha256sum, sha512sum"
892 depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM
893
894config FEATURE_MD5_SHA1_SUM_CHECK
895 bool "Enable -c, -s and -w options"
896 default y
897 depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM
898 help
899 Enabling the -c options allows files to be checked
900 against pre-calculated hash values.
901
902 -s and -w are useful options when verifying checksums.
903
904endmenu
Note: See TracBrowser for help on using the repository browser.