Config.src 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782
  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 SLEEP
  440. bool "sleep"
  441. default y
  442. help
  443. sleep is used to pause for a specified number of seconds.
  444. It comes in 3 versions:
  445. - small: takes one integer parameter
  446. - fancy: takes multiple integer arguments with suffixes:
  447. sleep 1d 2h 3m 15s
  448. - fancy with fractional numbers:
  449. sleep 2.3s 4.5h sleeps for 16202.3 seconds
  450. Last one is "the most compatible" with coreutils sleep,
  451. but it adds around 1k of code.
  452. config FEATURE_FANCY_SLEEP
  453. bool "Enable multiple arguments and s/m/h/d suffixes"
  454. default y
  455. depends on SLEEP
  456. help
  457. Allow sleep to pause for specified minutes, hours, and days.
  458. config FEATURE_FLOAT_SLEEP
  459. bool "Enable fractional arguments"
  460. default y
  461. depends on FEATURE_FANCY_SLEEP
  462. help
  463. Allow for fractional numeric parameters.
  464. config SORT
  465. bool "sort"
  466. default y
  467. help
  468. sort is used to sort lines of text in specified files.
  469. config FEATURE_SORT_BIG
  470. bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
  471. default y
  472. depends on SORT
  473. help
  474. Without this, sort only supports -r, -u, and an integer version
  475. of -n. Selecting this adds sort keys, floating point support, and
  476. more. This adds a little over 3k to a nonstatic build on x86.
  477. The SuSv3 sort standard is available at:
  478. http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
  479. config SPLIT
  480. bool "split"
  481. default y
  482. help
  483. split a file into pieces.
  484. config FEATURE_SPLIT_FANCY
  485. bool "Fancy extensions"
  486. default y
  487. depends on SPLIT
  488. help
  489. Add support for features not required by SUSv3.
  490. Supports additional suffixes 'b' for 512 bytes,
  491. 'g' for 1GiB for the -b option.
  492. config STAT
  493. bool "stat"
  494. default y
  495. select PLATFORM_LINUX # statfs()
  496. help
  497. display file or filesystem status.
  498. config FEATURE_STAT_FORMAT
  499. bool "Enable custom formats (-c)"
  500. default y
  501. depends on STAT
  502. help
  503. Without this, stat will not support the '-c format' option where
  504. users can pass a custom format string for output. This adds about
  505. 7k to a nonstatic build on amd64.
  506. config STTY
  507. bool "stty"
  508. default y
  509. help
  510. stty is used to change and print terminal line settings.
  511. config SUM
  512. bool "sum"
  513. default y
  514. help
  515. checksum and count the blocks in a file
  516. config SYNC
  517. bool "sync"
  518. default y
  519. help
  520. sync is used to flush filesystem buffers.
  521. config TAC
  522. bool "tac"
  523. default y
  524. help
  525. tac is used to concatenate and print files in reverse.
  526. config TAIL
  527. bool "tail"
  528. default y
  529. help
  530. tail is used to print the last specified number of lines
  531. from files.
  532. config FEATURE_FANCY_TAIL
  533. bool "Enable extra tail options (-q, -s, -v, and -F)"
  534. default y
  535. depends on TAIL
  536. help
  537. The options (-q, -s, and -v) are provided by GNU tail, but
  538. are not specific in the SUSv3 standard.
  539. -q Never output headers giving file names
  540. -s SEC Wait SEC seconds between reads with -f
  541. -v Always output headers giving file names
  542. config TEE
  543. bool "tee"
  544. default y
  545. help
  546. tee is used to read from standard input and write
  547. to standard output and files.
  548. config FEATURE_TEE_USE_BLOCK_IO
  549. bool "Enable block I/O (larger/faster) instead of byte I/O"
  550. default y
  551. depends on TEE
  552. help
  553. Enable this option for a faster tee, at expense of size.
  554. config TRUE
  555. bool "true"
  556. default y
  557. help
  558. true returns an exit code of TRUE (0).
  559. config TTY
  560. bool "tty"
  561. default y
  562. help
  563. tty is used to print the name of the current terminal to
  564. standard output.
  565. config UNAME
  566. bool "uname"
  567. default y
  568. help
  569. uname is used to print system information.
  570. config UNEXPAND
  571. bool "unexpand"
  572. default y
  573. help
  574. By default, convert only leading sequences of blanks to tabs.
  575. config FEATURE_UNEXPAND_LONG_OPTIONS
  576. bool "Enable long options"
  577. default y
  578. depends on UNEXPAND && LONG_OPTS
  579. help
  580. Support long options for the unexpand applet.
  581. config UNIQ
  582. bool "uniq"
  583. default y
  584. help
  585. uniq is used to remove duplicate lines from a sorted file.
  586. config USLEEP
  587. bool "usleep"
  588. default y
  589. help
  590. usleep is used to pause for a specified number of microseconds.
  591. config UUDECODE
  592. bool "uudecode"
  593. default y
  594. help
  595. uudecode is used to decode a uuencoded file.
  596. config UUENCODE
  597. bool "uuencode"
  598. default y
  599. help
  600. uuencode is used to uuencode a file.
  601. config WC
  602. bool "wc"
  603. default y
  604. help
  605. wc is used to print the number of bytes, words, and lines,
  606. in specified files.
  607. config FEATURE_WC_LARGE
  608. bool "Support very large files in wc"
  609. default y
  610. depends on WC
  611. help
  612. Use "unsigned long long" in wc for counter variables.
  613. config WHOAMI
  614. bool "whoami"
  615. default y
  616. help
  617. whoami is used to print the username of the current
  618. user id (same as id -un).
  619. config YES
  620. bool "yes"
  621. default y
  622. help
  623. yes is used to repeatedly output a specific string, or
  624. the default string `y'.
  625. comment "Common options for cp and mv"
  626. depends on CP || MV
  627. config FEATURE_PRESERVE_HARDLINKS
  628. bool "Preserve hard links"
  629. default y
  630. depends on CP || MV
  631. help
  632. Allow cp and mv to preserve hard links.
  633. comment "Common options for ls, more and telnet"
  634. depends on LS || MORE || TELNET
  635. config FEATURE_AUTOWIDTH
  636. bool "Calculate terminal & column widths"
  637. default y
  638. depends on LS || MORE || TELNET
  639. help
  640. This option allows utilities such as 'ls', 'more' and 'telnet'
  641. to determine the width of the screen, which can allow them to
  642. display additional text or avoid wrapping text onto the next line.
  643. If you leave this disabled, your utilities will be especially
  644. primitive and will be unable to determine the current screen width.
  645. comment "Common options for df, du, ls"
  646. depends on DF || DU || LS
  647. config FEATURE_HUMAN_READABLE
  648. bool "Support for human readable output (example 13k, 23M, 235G)"
  649. default y
  650. depends on DF || DU || LS
  651. help
  652. Allow df, du, and ls to have human readable output.
  653. comment "Common options for md5sum, sha1sum, sha256sum, sha512sum"
  654. depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM
  655. config FEATURE_MD5_SHA1_SUM_CHECK
  656. bool "Enable -c, -s and -w options"
  657. default y
  658. depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM
  659. help
  660. Enabling the -c options allows files to be checked
  661. against pre-calculated hash values.
  662. -s and -w are useful options when verifying checksums.
  663. endmenu