Config.src 17 KB

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