Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


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