Magellan Linux

Contents of /trunk/mkinitrd-magellan/busybox/coreutils/Config.in

Parent Directory Parent Directory | Revision Log Revision Log


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