3
0

Config.src 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  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 HOSTID
  232. bool "hostid"
  233. default y
  234. help
  235. hostid prints the numeric identifier (in hexadecimal) for
  236. the current host.
  237. config ID
  238. bool "id"
  239. default y
  240. help
  241. id displays the current user and group ID names.
  242. config INSTALL
  243. bool "install"
  244. default y
  245. help
  246. Copy files and set attributes.
  247. config FEATURE_INSTALL_LONG_OPTIONS
  248. bool "Enable long options"
  249. default y
  250. depends on INSTALL && LONG_OPTS
  251. help
  252. Support long options for the install applet.
  253. config LENGTH
  254. bool "length"
  255. default y
  256. help
  257. length is used to print out the length of a specified string.
  258. config LN
  259. bool "ln"
  260. default y
  261. help
  262. ln is used to create hard or soft links between files.
  263. config LOGNAME
  264. bool "logname"
  265. default y
  266. help
  267. logname is used to print the current user's login name.
  268. config LS
  269. bool "ls"
  270. default y
  271. help
  272. ls is used to list the contents of directories.
  273. config FEATURE_LS_FILETYPES
  274. bool "Enable filetyping options (-p and -F)"
  275. default y
  276. depends on LS
  277. help
  278. Enable the ls options (-p and -F).
  279. config FEATURE_LS_FOLLOWLINKS
  280. bool "Enable symlinks dereferencing (-L)"
  281. default y
  282. depends on LS
  283. help
  284. Enable the ls option (-L).
  285. config FEATURE_LS_RECURSIVE
  286. bool "Enable recursion (-R)"
  287. default y
  288. depends on LS
  289. help
  290. Enable the ls option (-R).
  291. config FEATURE_LS_SORTFILES
  292. bool "Sort the file names"
  293. default y
  294. depends on LS
  295. help
  296. Allow ls to sort file names alphabetically.
  297. config FEATURE_LS_TIMESTAMPS
  298. bool "Show file timestamps"
  299. default y
  300. depends on LS
  301. help
  302. Allow ls to display timestamps for files.
  303. config FEATURE_LS_USERNAME
  304. bool "Show username/groupnames"
  305. default y
  306. depends on LS
  307. help
  308. Allow ls to display username/groupname for files.
  309. config FEATURE_LS_COLOR
  310. bool "Allow use of color to identify file types"
  311. default y
  312. depends on LS && LONG_OPTS
  313. help
  314. This enables the --color option to ls.
  315. config FEATURE_LS_COLOR_IS_DEFAULT
  316. bool "Produce colored ls output by default"
  317. default y
  318. depends on FEATURE_LS_COLOR
  319. help
  320. Saying yes here will turn coloring on by default,
  321. even if no "--color" option is given to the ls command.
  322. This is not recommended, since the colors are not
  323. configurable, and the output may not be legible on
  324. many output screens.
  325. config MD5SUM
  326. bool "md5sum"
  327. default y
  328. help
  329. md5sum is used to print or check MD5 checksums.
  330. config MKDIR
  331. bool "mkdir"
  332. default y
  333. help
  334. mkdir is used to create directories with the specified names.
  335. config FEATURE_MKDIR_LONG_OPTIONS
  336. bool "Enable long options"
  337. default y
  338. depends on MKDIR && LONG_OPTS
  339. help
  340. Support long options for the mkdir applet.
  341. config MKFIFO
  342. bool "mkfifo"
  343. default y
  344. help
  345. mkfifo is used to create FIFOs (named pipes).
  346. The `mknod' program can also create FIFOs.
  347. config MKNOD
  348. bool "mknod"
  349. default y
  350. help
  351. mknod is used to create FIFOs or block/character special
  352. files with the specified names.
  353. config MV
  354. bool "mv"
  355. default y
  356. help
  357. mv is used to move or rename files or directories.
  358. config FEATURE_MV_LONG_OPTIONS
  359. bool "Enable long options"
  360. default y
  361. depends on MV && LONG_OPTS
  362. help
  363. Support long options for the mv applet.
  364. config NICE
  365. bool "nice"
  366. default y
  367. help
  368. nice runs a program with modified scheduling priority.
  369. config NOHUP
  370. bool "nohup"
  371. default y
  372. help
  373. run a command immune to hangups, with output to a non-tty.
  374. config OD
  375. bool "od"
  376. default y
  377. help
  378. od is used to dump binary files in octal and other formats.
  379. config PRINTENV
  380. bool "printenv"
  381. default y
  382. help
  383. printenv is used to print all or part of environment.
  384. config PRINTF
  385. bool "printf"
  386. default y
  387. help
  388. printf is used to format and print specified strings.
  389. It's similar to `echo' except it has more options.
  390. config PWD
  391. bool "pwd"
  392. default y
  393. help
  394. pwd is used to print the current directory.
  395. config READLINK
  396. bool "readlink"
  397. default y
  398. help
  399. This program reads a symbolic link and returns the name
  400. of the file it points to
  401. config FEATURE_READLINK_FOLLOW
  402. bool "Enable canonicalization by following all symlinks (-f)"
  403. default y
  404. depends on READLINK
  405. help
  406. Enable the readlink option (-f).
  407. config REALPATH
  408. bool "realpath"
  409. default y
  410. help
  411. Return the canonicalized absolute pathname.
  412. This isn't provided by GNU shellutils, but where else does it belong.
  413. config RM
  414. bool "rm"
  415. default y
  416. help
  417. rm is used to remove files or directories.
  418. config RMDIR
  419. bool "rmdir"
  420. default y
  421. help
  422. rmdir is used to remove empty directories.
  423. config FEATURE_RMDIR_LONG_OPTIONS
  424. bool "Enable long options"
  425. default y
  426. depends on RMDIR && LONG_OPTS
  427. help
  428. Support long options for the rmdir applet, including
  429. --ignore-fail-on-non-empty for compatibility with GNU rmdir.
  430. config SEQ
  431. bool "seq"
  432. default y
  433. help
  434. print a sequence of numbers
  435. config SHA1SUM
  436. bool "sha1sum"
  437. default y
  438. help
  439. Compute and check SHA1 message digest
  440. config SHA256SUM
  441. bool "sha256sum"
  442. default y
  443. help
  444. Compute and check SHA256 message digest
  445. config SHA512SUM
  446. bool "sha512sum"
  447. default y
  448. help
  449. Compute and check SHA512 message digest
  450. config SLEEP
  451. bool "sleep"
  452. default y
  453. help
  454. sleep is used to pause for a specified number of seconds.
  455. It comes in 3 versions:
  456. - small: takes one integer parameter
  457. - fancy: takes multiple integer arguments with suffixes:
  458. sleep 1d 2h 3m 15s
  459. - fancy with fractional numbers:
  460. sleep 2.3s 4.5h sleeps for 16202.3 seconds
  461. Last one is "the most compatible" with coreutils sleep,
  462. but it adds around 1k of code.
  463. config FEATURE_FANCY_SLEEP
  464. bool "Enable multiple arguments and s/m/h/d suffixes"
  465. default y
  466. depends on SLEEP
  467. help
  468. Allow sleep to pause for specified minutes, hours, and days.
  469. config FEATURE_FLOAT_SLEEP
  470. bool "Enable fractional arguments"
  471. default y
  472. depends on FEATURE_FANCY_SLEEP
  473. help
  474. Allow for fractional numeric parameters.
  475. config SORT
  476. bool "sort"
  477. default y
  478. help
  479. sort is used to sort lines of text in specified files.
  480. config FEATURE_SORT_BIG
  481. bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
  482. default y
  483. depends on SORT
  484. help
  485. Without this, sort only supports -r, -u, and an integer version
  486. of -n. Selecting this adds sort keys, floating point support, and
  487. more. This adds a little over 3k to a nonstatic build on x86.
  488. The SuSv3 sort standard is available at:
  489. http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
  490. config SPLIT
  491. bool "split"
  492. default y
  493. help
  494. split a file into pieces.
  495. config FEATURE_SPLIT_FANCY
  496. bool "Fancy extensions"
  497. default y
  498. depends on SPLIT
  499. help
  500. Add support for features not required by SUSv3.
  501. Supports additional suffixes 'b' for 512 bytes,
  502. 'g' for 1GiB for the -b option.
  503. config STAT
  504. bool "stat"
  505. default y
  506. depends on PLATFORM_LINUX # statfs()
  507. help
  508. display file or filesystem status.
  509. config FEATURE_STAT_FORMAT
  510. bool "Enable custom formats (-c)"
  511. default y
  512. depends on STAT
  513. help
  514. Without this, stat will not support the '-c format' option where
  515. users can pass a custom format string for output. This adds about
  516. 7k to a nonstatic build on amd64.
  517. config STTY
  518. bool "stty"
  519. default y
  520. help
  521. stty is used to change and print terminal line settings.
  522. config SUM
  523. bool "sum"
  524. default y
  525. help
  526. checksum and count the blocks in a file
  527. config SYNC
  528. bool "sync"
  529. default y
  530. help
  531. sync is used to flush filesystem buffers.
  532. config TAC
  533. bool "tac"
  534. default y
  535. help
  536. tac is used to concatenate and print files in reverse.
  537. config TAIL
  538. bool "tail"
  539. default y
  540. help
  541. tail is used to print the last specified number of lines
  542. from files.
  543. config FEATURE_FANCY_TAIL
  544. bool "Enable extra tail options (-q, -s, -v, and -F)"
  545. default y
  546. depends on TAIL
  547. help
  548. The options (-q, -s, and -v) are provided by GNU tail, but
  549. are not specific in the SUSv3 standard.
  550. -q Never output headers giving file names
  551. -s SEC Wait SEC seconds between reads with -f
  552. -v Always output headers giving file names
  553. config TEE
  554. bool "tee"
  555. default y
  556. help
  557. tee is used to read from standard input and write
  558. to standard output and files.
  559. config FEATURE_TEE_USE_BLOCK_IO
  560. bool "Enable block I/O (larger/faster) instead of byte I/O"
  561. default y
  562. depends on TEE
  563. help
  564. Enable this option for a faster tee, at expense of size.
  565. config TOUCH
  566. bool "touch"
  567. default y
  568. help
  569. touch is used to create or change the access and/or
  570. modification timestamp of specified files.
  571. config TRUE
  572. bool "true"
  573. default y
  574. help
  575. true returns an exit code of TRUE (0).
  576. config TTY
  577. bool "tty"
  578. default y
  579. help
  580. tty is used to print the name of the current terminal to
  581. standard output.
  582. config UNAME
  583. bool "uname"
  584. default y
  585. help
  586. uname is used to print system information.
  587. config UNEXPAND
  588. bool "unexpand"
  589. default y
  590. help
  591. By default, convert only leading sequences of blanks to tabs.
  592. config FEATURE_UNEXPAND_LONG_OPTIONS
  593. bool "Enable long options"
  594. default y
  595. depends on UNEXPAND && LONG_OPTS
  596. help
  597. Support long options for the unexpand applet.
  598. config UNIQ
  599. bool "uniq"
  600. default y
  601. help
  602. uniq is used to remove duplicate lines from a sorted file.
  603. config USLEEP
  604. bool "usleep"
  605. default y
  606. help
  607. usleep is used to pause for a specified number of microseconds.
  608. config UUDECODE
  609. bool "uudecode"
  610. default y
  611. help
  612. uudecode is used to decode a uuencoded file.
  613. config UUENCODE
  614. bool "uuencode"
  615. default y
  616. help
  617. uuencode is used to uuencode a file.
  618. config WC
  619. bool "wc"
  620. default y
  621. help
  622. wc is used to print the number of bytes, words, and lines,
  623. in specified files.
  624. config FEATURE_WC_LARGE
  625. bool "Support very large files in wc"
  626. default y
  627. depends on WC
  628. help
  629. Use "unsigned long long" in wc for counter variables.
  630. config WHO
  631. bool "who"
  632. default y
  633. depends on FEATURE_UTMP
  634. help
  635. who is used to show who is logged on.
  636. config WHOAMI
  637. bool "whoami"
  638. default y
  639. help
  640. whoami is used to print the username of the current
  641. user id (same as id -un).
  642. config YES
  643. bool "yes"
  644. default y
  645. help
  646. yes is used to repeatedly output a specific string, or
  647. the default string `y'.
  648. comment "Common options for cp and mv"
  649. depends on CP || MV
  650. config FEATURE_PRESERVE_HARDLINKS
  651. bool "Preserve hard links"
  652. default y
  653. depends on CP || MV
  654. help
  655. Allow cp and mv to preserve hard links.
  656. comment "Common options for ls, more and telnet"
  657. depends on LS || MORE || TELNET
  658. config FEATURE_AUTOWIDTH
  659. bool "Calculate terminal & column widths"
  660. default y
  661. depends on LS || MORE || TELNET
  662. help
  663. This option allows utilities such as 'ls', 'more' and 'telnet'
  664. to determine the width of the screen, which can allow them to
  665. display additional text or avoid wrapping text onto the next line.
  666. If you leave this disabled, your utilities will be especially
  667. primitive and will be unable to determine the current screen width.
  668. comment "Common options for df, du, ls"
  669. depends on DF || DU || LS
  670. config FEATURE_HUMAN_READABLE
  671. bool "Support for human readable output (example 13k, 23M, 235G)"
  672. default y
  673. depends on DF || DU || LS
  674. help
  675. Allow df, du, and ls to have human readable output.
  676. comment "Common options for md5sum, sha1sum, sha256sum, sha512sum"
  677. depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM
  678. config FEATURE_MD5_SHA1_SUM_CHECK
  679. bool "Enable -c, -s and -w options"
  680. default y
  681. depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM
  682. help
  683. Enabling the -c options allows files to be checked
  684. against pre-calculated hash values.
  685. -s and -w are useful options when verifying checksums.
  686. endmenu