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