Config.in 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942
  1. # DO NOT EDIT. This file is generated from Config.src
  2. #
  3. # For a description of the syntax of this configuration file,
  4. # see scripts/kbuild/config-language.txt.
  5. #
  6. menu "Coreutils"
  7. config BUSYBOX_CONFIG_BASENAME
  8. bool "basename"
  9. default BUSYBOX_DEFAULT_BASENAME
  10. help
  11. basename is used to strip the directory and suffix from filenames,
  12. leaving just the filename itself. Enable this option if you wish
  13. to enable the 'basename' utility.
  14. config BUSYBOX_CONFIG_CAT
  15. bool "cat"
  16. default BUSYBOX_DEFAULT_CAT
  17. help
  18. cat is used to concatenate files and print them to the standard
  19. output. Enable this option if you wish to enable the 'cat' utility.
  20. config BUSYBOX_CONFIG_FEATURE_CATV
  21. bool "cat -v[etA]"
  22. default BUSYBOX_DEFAULT_FEATURE_CATV
  23. depends on BUSYBOX_CONFIG_CAT
  24. help
  25. Display nonprinting characters as escape sequences
  26. config BUSYBOX_CONFIG_CHGRP
  27. bool "chgrp"
  28. default BUSYBOX_DEFAULT_CHGRP
  29. help
  30. chgrp is used to change the group ownership of files.
  31. config BUSYBOX_CONFIG_CHMOD
  32. bool "chmod"
  33. default BUSYBOX_DEFAULT_CHMOD
  34. help
  35. chmod is used to change the access permission of files.
  36. config BUSYBOX_CONFIG_CHOWN
  37. bool "chown"
  38. default BUSYBOX_DEFAULT_CHOWN
  39. help
  40. chown is used to change the user and/or group ownership
  41. of files.
  42. config BUSYBOX_CONFIG_FEATURE_CHOWN_LONG_OPTIONS
  43. bool "Enable long options"
  44. default BUSYBOX_DEFAULT_FEATURE_CHOWN_LONG_OPTIONS
  45. depends on BUSYBOX_CONFIG_CHOWN && BUSYBOX_CONFIG_LONG_OPTS
  46. config BUSYBOX_CONFIG_CHROOT
  47. bool "chroot"
  48. default BUSYBOX_DEFAULT_CHROOT
  49. help
  50. chroot is used to change the root directory and run a command.
  51. The default command is `/bin/sh'.
  52. config BUSYBOX_CONFIG_CKSUM
  53. bool "cksum"
  54. default BUSYBOX_DEFAULT_CKSUM
  55. help
  56. cksum is used to calculate the CRC32 checksum of a file.
  57. config BUSYBOX_CONFIG_COMM
  58. bool "comm"
  59. default BUSYBOX_DEFAULT_COMM
  60. help
  61. comm is used to compare two files line by line and return
  62. a three-column output.
  63. config BUSYBOX_CONFIG_CP
  64. bool "cp"
  65. default BUSYBOX_DEFAULT_CP
  66. help
  67. cp is used to copy files and directories.
  68. config BUSYBOX_CONFIG_FEATURE_CP_LONG_OPTIONS
  69. bool "Enable long options"
  70. default BUSYBOX_DEFAULT_FEATURE_CP_LONG_OPTIONS
  71. depends on BUSYBOX_CONFIG_CP && BUSYBOX_CONFIG_LONG_OPTS
  72. help
  73. Enable long options.
  74. Also add support for --parents option.
  75. config BUSYBOX_CONFIG_CUT
  76. bool "cut"
  77. default BUSYBOX_DEFAULT_CUT
  78. help
  79. cut is used to print selected parts of lines from
  80. each file to stdout.
  81. config BUSYBOX_CONFIG_DATE
  82. bool "date"
  83. default BUSYBOX_DEFAULT_DATE
  84. help
  85. date is used to set the system date or display the
  86. current time in the given format.
  87. config BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT
  88. bool "Enable ISO date format output (-I)"
  89. default BUSYBOX_DEFAULT_FEATURE_DATE_ISOFMT
  90. depends on BUSYBOX_CONFIG_DATE
  91. help
  92. Enable option (-I) to output an ISO-8601 compliant
  93. date/time string.
  94. # defaults to "no": stat's nanosecond field is a bit non-portable
  95. config BUSYBOX_CONFIG_FEATURE_DATE_NANO
  96. bool "Support %[num]N nanosecond format specifier"
  97. default BUSYBOX_DEFAULT_FEATURE_DATE_NANO
  98. depends on BUSYBOX_CONFIG_DATE # syscall(__NR_clock_gettime)
  99. select BUSYBOX_CONFIG_PLATFORM_LINUX
  100. help
  101. Support %[num]N format specifier. Adds ~250 bytes of code.
  102. config BUSYBOX_CONFIG_FEATURE_DATE_COMPAT
  103. bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format"
  104. default BUSYBOX_DEFAULT_FEATURE_DATE_COMPAT
  105. depends on BUSYBOX_CONFIG_DATE
  106. help
  107. System time can be set by 'date -s DATE' and simply 'date DATE',
  108. but formats of DATE string are different. 'date DATE' accepts
  109. a rather weird MMDDhhmm[[YY]YY][.ss] format with completely
  110. unnatural placement of year between minutes and seconds.
  111. date -s (and other commands like touch -d) use more sensible
  112. formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss).
  113. With this option off, 'date DATE' is 'date -s DATE' support
  114. the same format. With it on, 'date DATE' additionally supports
  115. MMDDhhmm[[YY]YY][.ss] format.
  116. config BUSYBOX_CONFIG_DD
  117. bool "dd"
  118. default BUSYBOX_DEFAULT_DD
  119. help
  120. dd copies a file (from standard input to standard output,
  121. by default) using specific input and output blocksizes,
  122. while optionally performing conversions on it.
  123. config BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING
  124. bool "Enable signal handling for status reporting"
  125. default BUSYBOX_DEFAULT_FEATURE_DD_SIGNAL_HANDLING
  126. depends on BUSYBOX_CONFIG_DD
  127. help
  128. Sending a SIGUSR1 signal to a running `dd' process makes it
  129. print to standard error the number of records read and written
  130. so far, then to resume copying.
  131. $ dd if=/dev/zero of=/dev/null &
  132. $ pid=$!; kill -USR1 $pid; sleep 1; kill $pid
  133. 10899206+0 records in
  134. 10899206+0 records out
  135. config BUSYBOX_CONFIG_FEATURE_DD_THIRD_STATUS_LINE
  136. bool "Enable the third status line upon signal"
  137. default BUSYBOX_DEFAULT_FEATURE_DD_THIRD_STATUS_LINE
  138. depends on BUSYBOX_CONFIG_DD && BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING
  139. help
  140. Displays a coreutils-like third status line with transferred bytes,
  141. elapsed time and speed.
  142. config BUSYBOX_CONFIG_FEATURE_DD_IBS_OBS
  143. bool "Enable ibs, obs and conv options"
  144. default BUSYBOX_DEFAULT_FEATURE_DD_IBS_OBS
  145. depends on BUSYBOX_CONFIG_DD
  146. help
  147. Enable support for writing a certain number of bytes in and out,
  148. at a time, and performing conversions on the data stream.
  149. config BUSYBOX_CONFIG_FEATURE_DD_STATUS
  150. bool "Enable status display options"
  151. default BUSYBOX_DEFAULT_FEATURE_DD_STATUS
  152. depends on BUSYBOX_CONFIG_DD
  153. help
  154. Enable support for status=noxfer/none option.
  155. config BUSYBOX_CONFIG_DF
  156. bool "df"
  157. default BUSYBOX_DEFAULT_DF
  158. help
  159. df reports the amount of disk space used and available
  160. on filesystems.
  161. config BUSYBOX_CONFIG_FEATURE_DF_FANCY
  162. bool "Enable -a, -i, -B"
  163. default BUSYBOX_DEFAULT_FEATURE_DF_FANCY
  164. depends on BUSYBOX_CONFIG_DF
  165. help
  166. -a Show all filesystems
  167. -i Inodes
  168. -B <SIZE> Blocksize
  169. config BUSYBOX_CONFIG_DIRNAME
  170. bool "dirname"
  171. default BUSYBOX_DEFAULT_DIRNAME
  172. help
  173. dirname is used to strip a non-directory suffix from
  174. a file name.
  175. config BUSYBOX_CONFIG_DOS2UNIX
  176. bool "dos2unix"
  177. default BUSYBOX_DEFAULT_DOS2UNIX
  178. help
  179. dos2unix is used to convert a text file from DOS format to
  180. UNIX format, and vice versa.
  181. config BUSYBOX_CONFIG_UNIX2DOS
  182. bool "unix2dos"
  183. default BUSYBOX_DEFAULT_UNIX2DOS
  184. help
  185. unix2dos is used to convert a text file from UNIX format to
  186. DOS format, and vice versa.
  187. config BUSYBOX_CONFIG_DU
  188. bool "du (default blocksize of 512 bytes)"
  189. default BUSYBOX_DEFAULT_DU
  190. help
  191. du is used to report the amount of disk space used
  192. for specified files.
  193. config BUSYBOX_CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
  194. bool "Use a default blocksize of 1024 bytes (1K)"
  195. default BUSYBOX_DEFAULT_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
  196. depends on BUSYBOX_CONFIG_DU
  197. help
  198. Use a blocksize of (1K) instead of the default 512b.
  199. config BUSYBOX_CONFIG_ECHO
  200. bool "echo (basic SuSv3 version taking no options)"
  201. default BUSYBOX_DEFAULT_ECHO
  202. help
  203. echo is used to print a specified string to stdout.
  204. # this entry also appears in shell/Config.in, next to the echo builtin
  205. config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO
  206. bool "Enable -n and -e options"
  207. default BUSYBOX_DEFAULT_FEATURE_FANCY_ECHO
  208. depends on BUSYBOX_CONFIG_ECHO || BUSYBOX_CONFIG_ASH_ECHO || BUSYBOX_CONFIG_HUSH_ECHO
  209. config BUSYBOX_CONFIG_ENV
  210. bool "env"
  211. default BUSYBOX_DEFAULT_ENV
  212. help
  213. env is used to set an environment variable and run
  214. a command; without options it displays the current
  215. environment.
  216. config BUSYBOX_CONFIG_FEATURE_ENV_LONG_OPTIONS
  217. bool "Enable long options"
  218. default BUSYBOX_DEFAULT_FEATURE_ENV_LONG_OPTIONS
  219. depends on BUSYBOX_CONFIG_ENV && BUSYBOX_CONFIG_LONG_OPTS
  220. config BUSYBOX_CONFIG_EXPAND
  221. bool "expand"
  222. default BUSYBOX_DEFAULT_EXPAND
  223. help
  224. By default, convert all tabs to spaces.
  225. config BUSYBOX_CONFIG_FEATURE_EXPAND_LONG_OPTIONS
  226. bool "Enable long options"
  227. default BUSYBOX_DEFAULT_FEATURE_EXPAND_LONG_OPTIONS
  228. depends on BUSYBOX_CONFIG_EXPAND && BUSYBOX_CONFIG_LONG_OPTS
  229. config BUSYBOX_CONFIG_UNEXPAND
  230. bool "unexpand"
  231. default BUSYBOX_DEFAULT_UNEXPAND
  232. help
  233. By default, convert only leading sequences of blanks to tabs.
  234. config BUSYBOX_CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS
  235. bool "Enable long options"
  236. default BUSYBOX_DEFAULT_FEATURE_UNEXPAND_LONG_OPTIONS
  237. depends on BUSYBOX_CONFIG_UNEXPAND && BUSYBOX_CONFIG_LONG_OPTS
  238. config BUSYBOX_CONFIG_EXPR
  239. bool "expr"
  240. default BUSYBOX_DEFAULT_EXPR
  241. help
  242. expr is used to calculate numbers and print the result
  243. to standard output.
  244. config BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64
  245. bool "Extend Posix numbers support to 64 bit"
  246. default BUSYBOX_DEFAULT_EXPR_MATH_SUPPORT_64
  247. depends on BUSYBOX_CONFIG_EXPR
  248. help
  249. Enable 64-bit math support in the expr applet. This will make
  250. the applet slightly larger, but will allow computation with very
  251. large numbers.
  252. config BUSYBOX_CONFIG_FACTOR
  253. bool "factor"
  254. default BUSYBOX_DEFAULT_FACTOR
  255. help
  256. factor factorizes integers
  257. config BUSYBOX_CONFIG_FALSE
  258. bool "false"
  259. default BUSYBOX_DEFAULT_FALSE
  260. help
  261. false returns an exit code of FALSE (1).
  262. config BUSYBOX_CONFIG_FOLD
  263. bool "fold"
  264. default BUSYBOX_DEFAULT_FOLD
  265. help
  266. Wrap text to fit a specific width.
  267. config BUSYBOX_CONFIG_FSYNC
  268. bool "fsync"
  269. default BUSYBOX_DEFAULT_FSYNC
  270. help
  271. fsync is used to flush file-related cached blocks to disk.
  272. config BUSYBOX_CONFIG_HEAD
  273. bool "head"
  274. default BUSYBOX_DEFAULT_HEAD
  275. help
  276. head is used to print the first specified number of lines
  277. from files.
  278. config BUSYBOX_CONFIG_FEATURE_FANCY_HEAD
  279. bool "Enable -c, -q, and -v"
  280. default BUSYBOX_DEFAULT_FEATURE_FANCY_HEAD
  281. depends on BUSYBOX_CONFIG_HEAD
  282. config BUSYBOX_CONFIG_HOSTID
  283. bool "hostid"
  284. default BUSYBOX_DEFAULT_HOSTID
  285. help
  286. hostid prints the numeric identifier (in hexadecimal) for
  287. the current host.
  288. config BUSYBOX_CONFIG_ID
  289. bool "id"
  290. default BUSYBOX_DEFAULT_ID
  291. help
  292. id displays the current user and group ID names.
  293. config BUSYBOX_CONFIG_GROUPS
  294. bool "groups"
  295. default BUSYBOX_DEFAULT_GROUPS
  296. help
  297. Print the group names associated with current user id.
  298. config BUSYBOX_CONFIG_INSTALL
  299. bool "install"
  300. default BUSYBOX_DEFAULT_INSTALL
  301. help
  302. Copy files and set attributes.
  303. config BUSYBOX_CONFIG_FEATURE_INSTALL_LONG_OPTIONS
  304. bool "Enable long options"
  305. default BUSYBOX_DEFAULT_FEATURE_INSTALL_LONG_OPTIONS
  306. depends on BUSYBOX_CONFIG_INSTALL && BUSYBOX_CONFIG_LONG_OPTS
  307. config BUSYBOX_CONFIG_LINK
  308. bool "link"
  309. default BUSYBOX_DEFAULT_LINK
  310. help
  311. link creates hard links between files.
  312. config BUSYBOX_CONFIG_LN
  313. bool "ln"
  314. default BUSYBOX_DEFAULT_LN
  315. help
  316. ln is used to create hard or soft links between files.
  317. config BUSYBOX_CONFIG_LOGNAME
  318. bool "logname"
  319. default BUSYBOX_DEFAULT_LOGNAME
  320. help
  321. logname is used to print the current user's login name.
  322. config BUSYBOX_CONFIG_LS
  323. bool "ls"
  324. default BUSYBOX_DEFAULT_LS
  325. help
  326. ls is used to list the contents of directories.
  327. config BUSYBOX_CONFIG_FEATURE_LS_FILETYPES
  328. bool "Enable filetyping options (-p and -F)"
  329. default BUSYBOX_DEFAULT_FEATURE_LS_FILETYPES
  330. depends on BUSYBOX_CONFIG_LS
  331. config BUSYBOX_CONFIG_FEATURE_LS_FOLLOWLINKS
  332. bool "Enable symlinks dereferencing (-L)"
  333. default BUSYBOX_DEFAULT_FEATURE_LS_FOLLOWLINKS
  334. depends on BUSYBOX_CONFIG_LS
  335. config BUSYBOX_CONFIG_FEATURE_LS_RECURSIVE
  336. bool "Enable recursion (-R)"
  337. default BUSYBOX_DEFAULT_FEATURE_LS_RECURSIVE
  338. depends on BUSYBOX_CONFIG_LS
  339. config BUSYBOX_CONFIG_FEATURE_LS_WIDTH
  340. bool "Enable -w WIDTH and window size autodetection"
  341. default BUSYBOX_DEFAULT_FEATURE_LS_WIDTH
  342. depends on BUSYBOX_CONFIG_LS
  343. config BUSYBOX_CONFIG_FEATURE_LS_SORTFILES
  344. bool "Sort the file names"
  345. default BUSYBOX_DEFAULT_FEATURE_LS_SORTFILES
  346. depends on BUSYBOX_CONFIG_LS
  347. help
  348. Allow ls to sort file names alphabetically.
  349. config BUSYBOX_CONFIG_FEATURE_LS_TIMESTAMPS
  350. bool "Show file timestamps"
  351. default BUSYBOX_DEFAULT_FEATURE_LS_TIMESTAMPS
  352. depends on BUSYBOX_CONFIG_LS
  353. help
  354. Allow ls to display timestamps for files.
  355. config BUSYBOX_CONFIG_FEATURE_LS_USERNAME
  356. bool "Show username/groupnames"
  357. default BUSYBOX_DEFAULT_FEATURE_LS_USERNAME
  358. depends on BUSYBOX_CONFIG_LS
  359. help
  360. Allow ls to display username/groupname for files.
  361. config BUSYBOX_CONFIG_FEATURE_LS_COLOR
  362. bool "Allow use of color to identify file types"
  363. default BUSYBOX_DEFAULT_FEATURE_LS_COLOR
  364. depends on BUSYBOX_CONFIG_LS && BUSYBOX_CONFIG_LONG_OPTS
  365. help
  366. This enables the --color option to ls.
  367. config BUSYBOX_CONFIG_FEATURE_LS_COLOR_IS_DEFAULT
  368. bool "Produce colored ls output by default"
  369. default BUSYBOX_DEFAULT_FEATURE_LS_COLOR_IS_DEFAULT
  370. depends on BUSYBOX_CONFIG_FEATURE_LS_COLOR
  371. help
  372. Saying yes here will turn coloring on by default,
  373. even if no "--color" option is given to the ls command.
  374. This is not recommended, since the colors are not
  375. configurable, and the output may not be legible on
  376. many output screens.
  377. config BUSYBOX_CONFIG_MD5SUM
  378. bool "md5sum"
  379. default BUSYBOX_DEFAULT_MD5SUM
  380. help
  381. md5sum is used to print or check MD5 checksums.
  382. config BUSYBOX_CONFIG_SHA1SUM
  383. bool "sha1sum"
  384. default BUSYBOX_DEFAULT_SHA1SUM
  385. help
  386. Compute and check SHA1 message digest
  387. config BUSYBOX_CONFIG_SHA256SUM
  388. bool "sha256sum"
  389. default BUSYBOX_DEFAULT_SHA256SUM
  390. help
  391. Compute and check SHA256 message digest
  392. config BUSYBOX_CONFIG_SHA512SUM
  393. bool "sha512sum"
  394. default BUSYBOX_DEFAULT_SHA512SUM
  395. help
  396. Compute and check SHA512 message digest
  397. config BUSYBOX_CONFIG_SHA3SUM
  398. bool "sha3sum"
  399. default BUSYBOX_DEFAULT_SHA3SUM
  400. help
  401. Compute and check SHA3 message digest
  402. comment "Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum"
  403. depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM || BUSYBOX_CONFIG_SHA256SUM || BUSYBOX_CONFIG_SHA512SUM || BUSYBOX_CONFIG_SHA3SUM
  404. config BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
  405. bool "Enable -c, -s and -w options"
  406. default BUSYBOX_DEFAULT_FEATURE_MD5_SHA1_SUM_CHECK
  407. depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM || BUSYBOX_CONFIG_SHA256SUM || BUSYBOX_CONFIG_SHA512SUM || BUSYBOX_CONFIG_SHA3SUM
  408. help
  409. Enabling the -c options allows files to be checked
  410. against pre-calculated hash values.
  411. -s and -w are useful options when verifying checksums.
  412. config BUSYBOX_CONFIG_MKDIR
  413. bool "mkdir"
  414. default BUSYBOX_DEFAULT_MKDIR
  415. help
  416. mkdir is used to create directories with the specified names.
  417. config BUSYBOX_CONFIG_FEATURE_MKDIR_LONG_OPTIONS
  418. bool "Enable long options"
  419. default BUSYBOX_DEFAULT_FEATURE_MKDIR_LONG_OPTIONS
  420. depends on BUSYBOX_CONFIG_MKDIR && BUSYBOX_CONFIG_LONG_OPTS
  421. config BUSYBOX_CONFIG_MKFIFO
  422. bool "mkfifo"
  423. default BUSYBOX_DEFAULT_MKFIFO
  424. help
  425. mkfifo is used to create FIFOs (named pipes).
  426. The 'mknod' program can also create FIFOs.
  427. config BUSYBOX_CONFIG_MKNOD
  428. bool "mknod"
  429. default BUSYBOX_DEFAULT_MKNOD
  430. help
  431. mknod is used to create FIFOs or block/character special
  432. files with the specified names.
  433. config BUSYBOX_CONFIG_MKTEMP
  434. bool "mktemp"
  435. default BUSYBOX_DEFAULT_MKTEMP
  436. help
  437. mktemp is used to create unique temporary files
  438. config BUSYBOX_CONFIG_MV
  439. bool "mv"
  440. default BUSYBOX_DEFAULT_MV
  441. help
  442. mv is used to move or rename files or directories.
  443. config BUSYBOX_CONFIG_FEATURE_MV_LONG_OPTIONS
  444. bool "Enable long options"
  445. default BUSYBOX_DEFAULT_FEATURE_MV_LONG_OPTIONS
  446. depends on BUSYBOX_CONFIG_MV && BUSYBOX_CONFIG_LONG_OPTS
  447. config BUSYBOX_CONFIG_NICE
  448. bool "nice"
  449. default BUSYBOX_DEFAULT_NICE
  450. help
  451. nice runs a program with modified scheduling priority.
  452. config BUSYBOX_CONFIG_NL
  453. bool "nl"
  454. default BUSYBOX_DEFAULT_NL
  455. help
  456. nl is used to number lines of files.
  457. config BUSYBOX_CONFIG_NOHUP
  458. bool "nohup"
  459. default BUSYBOX_DEFAULT_NOHUP
  460. help
  461. run a command immune to hangups, with output to a non-tty.
  462. config BUSYBOX_CONFIG_NPROC
  463. bool "nproc"
  464. default BUSYBOX_DEFAULT_NPROC
  465. help
  466. Print number of CPUs
  467. config BUSYBOX_CONFIG_OD
  468. bool "od"
  469. default BUSYBOX_DEFAULT_OD
  470. help
  471. od is used to dump binary files in octal and other formats.
  472. config BUSYBOX_CONFIG_PASTE
  473. bool "paste"
  474. default BUSYBOX_DEFAULT_PASTE
  475. help
  476. paste is used to paste lines of different files together
  477. and write the result to stdout
  478. config BUSYBOX_CONFIG_PRINTENV
  479. bool "printenv"
  480. default BUSYBOX_DEFAULT_PRINTENV
  481. help
  482. printenv is used to print all or part of environment.
  483. config BUSYBOX_CONFIG_PRINTF
  484. bool "printf"
  485. default BUSYBOX_DEFAULT_PRINTF
  486. help
  487. printf is used to format and print specified strings.
  488. It's similar to `echo' except it has more options.
  489. config BUSYBOX_CONFIG_PWD
  490. bool "pwd"
  491. default BUSYBOX_DEFAULT_PWD
  492. help
  493. pwd is used to print the current directory.
  494. config BUSYBOX_CONFIG_READLINK
  495. bool "readlink"
  496. default BUSYBOX_DEFAULT_READLINK
  497. help
  498. This program reads a symbolic link and returns the name
  499. of the file it points to
  500. config BUSYBOX_CONFIG_FEATURE_READLINK_FOLLOW
  501. bool "Enable canonicalization by following all symlinks (-f)"
  502. default BUSYBOX_DEFAULT_FEATURE_READLINK_FOLLOW
  503. depends on BUSYBOX_CONFIG_READLINK
  504. help
  505. Enable the readlink option (-f).
  506. config BUSYBOX_CONFIG_REALPATH
  507. bool "realpath"
  508. default BUSYBOX_DEFAULT_REALPATH
  509. help
  510. Return the canonicalized absolute pathname.
  511. This isn't provided by GNU shellutils, but where else does it belong.
  512. config BUSYBOX_CONFIG_RM
  513. bool "rm"
  514. default BUSYBOX_DEFAULT_RM
  515. help
  516. rm is used to remove files or directories.
  517. config BUSYBOX_CONFIG_RMDIR
  518. bool "rmdir"
  519. default BUSYBOX_DEFAULT_RMDIR
  520. help
  521. rmdir is used to remove empty directories.
  522. config BUSYBOX_CONFIG_FEATURE_RMDIR_LONG_OPTIONS
  523. bool "Enable long options"
  524. default BUSYBOX_DEFAULT_FEATURE_RMDIR_LONG_OPTIONS
  525. depends on BUSYBOX_CONFIG_RMDIR && BUSYBOX_CONFIG_LONG_OPTS
  526. help
  527. Support long options for the rmdir applet, including
  528. --ignore-fail-on-non-empty for compatibility with GNU rmdir.
  529. config BUSYBOX_CONFIG_SEQ
  530. bool "seq"
  531. default BUSYBOX_DEFAULT_SEQ
  532. help
  533. print a sequence of numbers
  534. config BUSYBOX_CONFIG_SHRED
  535. bool "shred"
  536. default BUSYBOX_DEFAULT_SHRED
  537. help
  538. Overwrite a file to hide its contents, and optionally delete it
  539. config BUSYBOX_CONFIG_SHUF
  540. bool "shuf"
  541. default BUSYBOX_DEFAULT_SHUF
  542. help
  543. Generate random permutations
  544. config BUSYBOX_CONFIG_SLEEP
  545. bool "sleep"
  546. default BUSYBOX_DEFAULT_SLEEP
  547. help
  548. sleep is used to pause for a specified number of seconds.
  549. It comes in 3 versions:
  550. - small: takes one integer parameter
  551. - fancy: takes multiple integer arguments with suffixes:
  552. sleep 1d 2h 3m 15s
  553. - fancy with fractional numbers:
  554. sleep 2.3s 4.5h sleeps for 16202.3 seconds
  555. Last one is "the most compatible" with coreutils sleep,
  556. but it adds around 1k of code.
  557. config BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP
  558. bool "Enable multiple arguments and s/m/h/d suffixes"
  559. default BUSYBOX_DEFAULT_FEATURE_FANCY_SLEEP
  560. depends on BUSYBOX_CONFIG_SLEEP
  561. help
  562. Allow sleep to pause for specified minutes, hours, and days.
  563. config BUSYBOX_CONFIG_FEATURE_FLOAT_SLEEP
  564. bool "Enable fractional arguments"
  565. default BUSYBOX_DEFAULT_FEATURE_FLOAT_SLEEP
  566. depends on BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP
  567. help
  568. Allow for fractional numeric parameters.
  569. config BUSYBOX_CONFIG_SORT
  570. bool "sort"
  571. default BUSYBOX_DEFAULT_SORT
  572. help
  573. sort is used to sort lines of text in specified files.
  574. config BUSYBOX_CONFIG_FEATURE_SORT_BIG
  575. bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
  576. default BUSYBOX_DEFAULT_FEATURE_SORT_BIG
  577. depends on BUSYBOX_CONFIG_SORT
  578. help
  579. Without this, sort only supports -r, -u, and an integer version
  580. of -n. Selecting this adds sort keys, floating point support, and
  581. more. This adds a little over 3k to a nonstatic build on x86.
  582. The SuSv3 sort standard is available at:
  583. http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
  584. config BUSYBOX_CONFIG_SPLIT
  585. bool "split"
  586. default BUSYBOX_DEFAULT_SPLIT
  587. help
  588. Split a file into pieces.
  589. config BUSYBOX_CONFIG_FEATURE_SPLIT_FANCY
  590. bool "Fancy extensions"
  591. default BUSYBOX_DEFAULT_FEATURE_SPLIT_FANCY
  592. depends on BUSYBOX_CONFIG_SPLIT
  593. help
  594. Add support for features not required by SUSv3.
  595. Supports additional suffixes 'b' for 512 bytes,
  596. 'g' for 1GiB for the -b option.
  597. config BUSYBOX_CONFIG_STAT
  598. bool "stat"
  599. default BUSYBOX_DEFAULT_STAT
  600. help
  601. display file or filesystem status.
  602. config BUSYBOX_CONFIG_FEATURE_STAT_FORMAT
  603. bool "Enable custom formats (-c)"
  604. default BUSYBOX_DEFAULT_FEATURE_STAT_FORMAT
  605. depends on BUSYBOX_CONFIG_STAT
  606. help
  607. Without this, stat will not support the '-c format' option where
  608. users can pass a custom format string for output. This adds about
  609. 7k to a nonstatic build on amd64.
  610. config BUSYBOX_CONFIG_FEATURE_STAT_FILESYSTEM
  611. bool "Enable display of filesystem status (-f)"
  612. default BUSYBOX_DEFAULT_FEATURE_STAT_FILESYSTEM
  613. depends on BUSYBOX_CONFIG_STAT
  614. select BUSYBOX_CONFIG_PLATFORM_LINUX # statfs()
  615. help
  616. Without this, stat will not support the '-f' option to display
  617. information about filesystem status.
  618. config BUSYBOX_CONFIG_STTY
  619. bool "stty"
  620. default BUSYBOX_DEFAULT_STTY
  621. help
  622. stty is used to change and print terminal line settings.
  623. config BUSYBOX_CONFIG_SUM
  624. bool "sum"
  625. default BUSYBOX_DEFAULT_SUM
  626. help
  627. checksum and count the blocks in a file
  628. config BUSYBOX_CONFIG_SYNC
  629. bool "sync"
  630. default BUSYBOX_DEFAULT_SYNC
  631. help
  632. sync is used to flush filesystem buffers.
  633. config BUSYBOX_CONFIG_FEATURE_SYNC_FANCY
  634. bool "Enable -d and -f flags (requires syncfs(2) in libc)"
  635. default BUSYBOX_DEFAULT_FEATURE_SYNC_FANCY
  636. depends on BUSYBOX_CONFIG_SYNC
  637. help
  638. sync -d FILE... executes fdatasync() on each FILE.
  639. sync -f FILE... executes syncfs() on each FILE.
  640. config BUSYBOX_CONFIG_TAC
  641. bool "tac"
  642. default BUSYBOX_DEFAULT_TAC
  643. help
  644. tac is used to concatenate and print files in reverse.
  645. config BUSYBOX_CONFIG_TAIL
  646. bool "tail"
  647. default BUSYBOX_DEFAULT_TAIL
  648. help
  649. tail is used to print the last specified number of lines
  650. from files.
  651. config BUSYBOX_CONFIG_FEATURE_FANCY_TAIL
  652. bool "Enable -q, -s, -v, and -F options"
  653. default BUSYBOX_DEFAULT_FEATURE_FANCY_TAIL
  654. depends on BUSYBOX_CONFIG_TAIL
  655. help
  656. These options are provided by GNU tail, but
  657. are not specific in the SUSv3 standard:
  658. -q Never output headers giving file names
  659. -s SEC Wait SEC seconds between reads with -f
  660. -v Always output headers giving file names
  661. -F Same as -f, but keep retrying
  662. config BUSYBOX_CONFIG_TEE
  663. bool "tee"
  664. default BUSYBOX_DEFAULT_TEE
  665. help
  666. tee is used to read from standard input and write
  667. to standard output and files.
  668. config BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO
  669. bool "Enable block I/O (larger/faster) instead of byte I/O"
  670. default BUSYBOX_DEFAULT_FEATURE_TEE_USE_BLOCK_IO
  671. depends on BUSYBOX_CONFIG_TEE
  672. help
  673. Enable this option for a faster tee, at expense of size.
  674. config BUSYBOX_CONFIG_TEST
  675. bool "test"
  676. default BUSYBOX_DEFAULT_TEST
  677. help
  678. test is used to check file types and compare values,
  679. returning an appropriate exit code. The bash shell
  680. has test built in, ash can build it in optionally.
  681. config BUSYBOX_CONFIG_TEST1
  682. bool "test as ["
  683. default BUSYBOX_DEFAULT_TEST1
  684. help
  685. Provide test command in the "[ EXPR ]" form
  686. config BUSYBOX_CONFIG_TEST2
  687. bool "test as [["
  688. default BUSYBOX_DEFAULT_TEST2
  689. help
  690. Provide test command in the "[[ EXPR ]]" form
  691. config BUSYBOX_CONFIG_FEATURE_TEST_64
  692. bool "Extend test to 64 bit"
  693. default BUSYBOX_DEFAULT_FEATURE_TEST_64
  694. depends on BUSYBOX_CONFIG_TEST || BUSYBOX_CONFIG_TEST1 || BUSYBOX_CONFIG_TEST2 || BUSYBOX_CONFIG_ASH_TEST || BUSYBOX_CONFIG_HUSH_TEST
  695. help
  696. Enable 64-bit support in test.
  697. config BUSYBOX_CONFIG_TIMEOUT
  698. bool "timeout"
  699. default BUSYBOX_DEFAULT_TIMEOUT
  700. help
  701. Runs a program and watches it. If it does not terminate in
  702. specified number of seconds, it is sent a signal.
  703. config BUSYBOX_CONFIG_TOUCH
  704. bool "touch"
  705. default BUSYBOX_DEFAULT_TOUCH
  706. help
  707. touch is used to create or change the access and/or
  708. modification timestamp of specified files.
  709. config BUSYBOX_CONFIG_FEATURE_TOUCH_NODEREF
  710. bool "Add support for -h"
  711. default BUSYBOX_DEFAULT_FEATURE_TOUCH_NODEREF
  712. depends on BUSYBOX_CONFIG_TOUCH
  713. help
  714. Enable touch to have the -h option.
  715. This requires libc support for lutimes() function.
  716. config BUSYBOX_CONFIG_FEATURE_TOUCH_SUSV3
  717. bool "Add support for SUSV3 features (-d -t -r)"
  718. default BUSYBOX_DEFAULT_FEATURE_TOUCH_SUSV3
  719. depends on BUSYBOX_CONFIG_TOUCH
  720. help
  721. Enable touch to use a reference file or a given date/time argument.
  722. config BUSYBOX_CONFIG_TR
  723. bool "tr"
  724. default BUSYBOX_DEFAULT_TR
  725. help
  726. tr is used to squeeze, and/or delete characters from standard
  727. input, writing to standard output.
  728. config BUSYBOX_CONFIG_FEATURE_TR_CLASSES
  729. bool "Enable character classes (such as [:upper:])"
  730. default BUSYBOX_DEFAULT_FEATURE_TR_CLASSES
  731. depends on BUSYBOX_CONFIG_TR
  732. help
  733. Enable character classes, enabling commands such as:
  734. tr [:upper:] [:lower:] to convert input into lowercase.
  735. config BUSYBOX_CONFIG_FEATURE_TR_EQUIV
  736. bool "Enable equivalence classes"
  737. default BUSYBOX_DEFAULT_FEATURE_TR_EQUIV
  738. depends on BUSYBOX_CONFIG_TR
  739. help
  740. Enable equivalence classes, which essentially add the enclosed
  741. character to the current set. For instance, tr [=a=] xyz would
  742. replace all instances of 'a' with 'xyz'. This option is mainly
  743. useful for cases when no other way of expressing a character
  744. is possible.
  745. config BUSYBOX_CONFIG_TRUE
  746. bool "true"
  747. default BUSYBOX_DEFAULT_TRUE
  748. help
  749. true returns an exit code of TRUE (0).
  750. config BUSYBOX_CONFIG_TRUNCATE
  751. bool "truncate"
  752. default BUSYBOX_DEFAULT_TRUNCATE
  753. help
  754. truncate truncates files to a given size. If a file does
  755. not exist, it is created unless told otherwise.
  756. config BUSYBOX_CONFIG_TTY
  757. bool "tty"
  758. default BUSYBOX_DEFAULT_TTY
  759. help
  760. tty is used to print the name of the current terminal to
  761. standard output.
  762. config BUSYBOX_CONFIG_UNAME
  763. bool "uname"
  764. default BUSYBOX_DEFAULT_UNAME
  765. help
  766. uname is used to print system information.
  767. config BUSYBOX_CONFIG_UNAME_OSNAME
  768. string "Operating system name"
  769. default BUSYBOX_DEFAULT_UNAME_OSNAME
  770. depends on BUSYBOX_CONFIG_UNAME
  771. help
  772. Sets the operating system name reported by uname -o. The
  773. default BUSYBOX_DEFAULT_UNAME_OSNAME "GNU/Linux".
  774. config BUSYBOX_CONFIG_UNIQ
  775. bool "uniq"
  776. default BUSYBOX_DEFAULT_UNIQ
  777. help
  778. uniq is used to remove duplicate lines from a sorted file.
  779. config BUSYBOX_CONFIG_UNLINK
  780. bool "unlink"
  781. default BUSYBOX_DEFAULT_UNLINK
  782. help
  783. unlink deletes a file by calling unlink()
  784. config BUSYBOX_CONFIG_USLEEP
  785. bool "usleep"
  786. default BUSYBOX_DEFAULT_USLEEP
  787. help
  788. usleep is used to pause for a specified number of microseconds.
  789. config BUSYBOX_CONFIG_UUDECODE
  790. bool "uudecode"
  791. default BUSYBOX_DEFAULT_UUDECODE
  792. help
  793. uudecode is used to decode a uuencoded file.
  794. config BUSYBOX_CONFIG_BASE64
  795. bool "base64"
  796. default BUSYBOX_DEFAULT_BASE64
  797. help
  798. Base64 encode and decode
  799. config BUSYBOX_CONFIG_UUENCODE
  800. bool "uuencode"
  801. default BUSYBOX_DEFAULT_UUENCODE
  802. help
  803. uuencode is used to uuencode a file.
  804. config BUSYBOX_CONFIG_WC
  805. bool "wc"
  806. default BUSYBOX_DEFAULT_WC
  807. help
  808. wc is used to print the number of bytes, words, and lines,
  809. in specified files.
  810. config BUSYBOX_CONFIG_FEATURE_WC_LARGE
  811. bool "Support very large counts"
  812. default BUSYBOX_DEFAULT_FEATURE_WC_LARGE
  813. depends on BUSYBOX_CONFIG_WC
  814. help
  815. Use "unsigned long long" for counter variables.
  816. config BUSYBOX_CONFIG_WHO
  817. bool "who"
  818. default BUSYBOX_DEFAULT_WHO
  819. depends on BUSYBOX_CONFIG_FEATURE_UTMP
  820. help
  821. who is used to show who is logged on.
  822. config BUSYBOX_CONFIG_W
  823. bool "w"
  824. default BUSYBOX_DEFAULT_W
  825. depends on BUSYBOX_CONFIG_FEATURE_UTMP
  826. help
  827. w is used to show who is logged on.
  828. config BUSYBOX_CONFIG_USERS
  829. bool "users"
  830. default BUSYBOX_DEFAULT_USERS
  831. depends on BUSYBOX_CONFIG_FEATURE_UTMP
  832. help
  833. Print users currently logged on.
  834. config BUSYBOX_CONFIG_WHOAMI
  835. bool "whoami"
  836. default BUSYBOX_DEFAULT_WHOAMI
  837. help
  838. whoami is used to print the username of the current
  839. user id (same as id -un).
  840. config BUSYBOX_CONFIG_YES
  841. bool "yes"
  842. default BUSYBOX_DEFAULT_YES
  843. help
  844. yes is used to repeatedly output a specific string, or
  845. the default string `y'.
  846. comment "Common options"
  847. config BUSYBOX_CONFIG_FEATURE_VERBOSE
  848. bool "Support verbose options (usually -v) for various applets"
  849. default BUSYBOX_DEFAULT_FEATURE_VERBOSE
  850. help
  851. Enable cp -v, rm -v and similar messages.
  852. Also enables long option (--verbose) if it exists.
  853. Without this option, -v is accepted but ignored.
  854. comment "Common options for cp and mv"
  855. depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV
  856. config BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS
  857. bool "Preserve hard links"
  858. default BUSYBOX_DEFAULT_FEATURE_PRESERVE_HARDLINKS
  859. depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV
  860. help
  861. Allow cp and mv to preserve hard links.
  862. comment "Common options for df, du, ls"
  863. depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS
  864. config BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE
  865. bool "Support human readable output (example 13k, 23M, 235G)"
  866. default BUSYBOX_DEFAULT_FEATURE_HUMAN_READABLE
  867. depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS
  868. help
  869. Allow df, du, and ls to have human readable output.
  870. endmenu