Config.in 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254
  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 "Linux System Utilities"
  7. config BUSYBOX_BLKDISCARD
  8. bool "blkdiscard"
  9. default n
  10. help
  11. blkdiscard discards sectors on a given device.
  12. config BUSYBOX_BLOCKDEV
  13. bool "blockdev"
  14. default n
  15. help
  16. Performs some ioctls with block devices.
  17. config BUSYBOX_FALLOCATE
  18. bool "fallocate (4.1 kb)"
  19. default n
  20. help
  21. Preallocate space for files.
  22. config BUSYBOX_FATATTR
  23. bool "fatattr"
  24. default n
  25. select BUSYBOX_PLATFORM_LINUX
  26. help
  27. fatattr lists or changes the file attributes on a fat file system.
  28. config BUSYBOX_FSTRIM
  29. bool "fstrim"
  30. default n
  31. select BUSYBOX_PLATFORM_LINUX
  32. help
  33. Discard unused blocks on a mounted filesystem.
  34. config BUSYBOX_MDEV
  35. bool "mdev"
  36. default y
  37. select BUSYBOX_PLATFORM_LINUX
  38. help
  39. mdev is a mini-udev implementation for dynamically creating device
  40. nodes in the /dev directory.
  41. For more information, please see docs/mdev.txt
  42. config BUSYBOX_FEATURE_MDEV_CONF
  43. bool "Support /etc/mdev.conf"
  44. default y
  45. depends on BUSYBOX_MDEV
  46. help
  47. Add support for the mdev config file to control ownership and
  48. permissions of the device nodes.
  49. For more information, please see docs/mdev.txt
  50. config BUSYBOX_FEATURE_MDEV_RENAME
  51. bool "Support subdirs/symlinks"
  52. default y
  53. depends on BUSYBOX_FEATURE_MDEV_CONF
  54. help
  55. Add support for renaming devices and creating symlinks.
  56. For more information, please see docs/mdev.txt
  57. config BUSYBOX_FEATURE_MDEV_RENAME_REGEXP
  58. bool "Support regular expressions substitutions when renaming device"
  59. default y
  60. depends on BUSYBOX_FEATURE_MDEV_RENAME
  61. help
  62. Add support for regular expressions substitutions when renaming
  63. device.
  64. config BUSYBOX_FEATURE_MDEV_EXEC
  65. bool "Support command execution at device addition/removal"
  66. default y
  67. depends on BUSYBOX_FEATURE_MDEV_CONF
  68. help
  69. This adds support for an optional field to /etc/mdev.conf for
  70. executing commands when devices are created/removed.
  71. For more information, please see docs/mdev.txt
  72. config BUSYBOX_FEATURE_MDEV_LOAD_FIRMWARE
  73. bool "Support loading of firmwares"
  74. default y
  75. depends on BUSYBOX_MDEV
  76. help
  77. Some devices need to load firmware before they can be usable.
  78. These devices will request userspace look up the files in
  79. /lib/firmware/ and if it exists, send it to the kernel for
  80. loading into the hardware.
  81. config BUSYBOX_FEATURE_MDEV_DAEMON
  82. bool "Support daemon mode"
  83. default y
  84. depends on BUSYBOX_MDEV
  85. help
  86. Adds the -d option to run mdev in daemon mode handling hotplug
  87. events from the kernel like udev. If the system generates many
  88. hotplug events this mode of operation will consume less
  89. resources than registering mdev as hotplug helper or using the
  90. uevent applet.
  91. config BUSYBOX_MKE2FS
  92. bool "mke2fs"
  93. default n
  94. select PLATFORM_LINUX
  95. help
  96. Utility to create EXT2 filesystems.
  97. config BUSYBOX_MKFS_EXT2
  98. bool "mkfs.ext2"
  99. default n
  100. select PLATFORM_LINUX
  101. help
  102. Alias to "mke2fs".
  103. config BUSYBOX_MKDOSFS
  104. bool "mkdosfs"
  105. default n
  106. select PLATFORM_LINUX
  107. help
  108. Utility to create FAT32 filesystems.
  109. config BUSYBOX_NOLOGIN
  110. bool "nologin"
  111. default n
  112. depends on BUSYBOX_FEATURE_SH_EMBEDDED_SCRIPTS
  113. help
  114. Politely refuse a login
  115. config BUSYBOX_NOLOGIN_DEPENDENCIES
  116. bool "Enable dependencies for nologin"
  117. default n # Y default makes it harder to select single-applet test
  118. depends on BUSYBOX_NOLOGIN
  119. select BUSYBOX_CAT
  120. select BUSYBOX_ECHO
  121. select BUSYBOX_SLEEP
  122. help
  123. nologin is implemented as a shell script. It requires the
  124. following in the runtime environment:
  125. cat echo sleep
  126. If you know these will be available externally you can
  127. disable this option.
  128. config BUSYBOX_NSENTER
  129. bool "nsenter"
  130. default n
  131. select BUSYBOX_PLATFORM_LINUX
  132. help
  133. Run program with namespaces of other processes.
  134. config BUSYBOX_FEATURE_NSENTER_LONG_OPTS
  135. bool "Enable long options"
  136. default n
  137. depends on BUSYBOX_NSENTER && BUSYBOX_LONG_OPTS
  138. help
  139. Support long options for the nsenter applet. This makes
  140. the busybox implementation more compatible with upstream.
  141. config BUSYBOX_REV
  142. bool "rev"
  143. default n
  144. help
  145. Reverse lines of a file or files.
  146. config BUSYBOX_UEVENT
  147. bool "uevent"
  148. default n
  149. select BUSYBOX_PLATFORM_LINUX
  150. help
  151. uevent is a netlink listener for kernel uevent notifications
  152. sent via netlink. It is usually used for dynamic device creation.
  153. config BUSYBOX_UNSHARE
  154. bool "unshare"
  155. default n
  156. depends on BUSYBOX_LONG_OPTS && !BUSYBOX_NOMMU
  157. select BUSYBOX_PLATFORM_LINUX
  158. help
  159. Run program with some namespaces unshared from parent.
  160. config BUSYBOX_ACPID
  161. bool "acpid"
  162. default n
  163. select BUSYBOX_PLATFORM_LINUX
  164. help
  165. acpid listens to ACPI events coming either in textual form from
  166. /proc/acpi/event (though it is marked deprecated it is still widely
  167. used and _is_ a standard) or in binary form from specified evdevs
  168. (just use /dev/input/event*).
  169. It parses the event to retrieve ACTION and a possible PARAMETER.
  170. It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts
  171. (if the resulting path is a directory) or directly as an executable.
  172. N.B. acpid relies on run-parts so have the latter installed.
  173. config BUSYBOX_FEATURE_ACPID_COMPAT
  174. bool "Accept and ignore redundant options"
  175. default y
  176. depends on BUSYBOX_ACPID
  177. help
  178. Accept and ignore compatibility options -g -m -s -S -v.
  179. config BUSYBOX_BLKID
  180. bool "blkid"
  181. default y
  182. select BUSYBOX_PLATFORM_LINUX
  183. select BUSYBOX_VOLUMEID
  184. help
  185. Lists labels and UUIDs of all filesystems.
  186. WARNING:
  187. With all submodules selected, it will add ~8k to busybox.
  188. config BUSYBOX_FEATURE_BLKID_TYPE
  189. bool "Print filesystem type"
  190. default n
  191. depends on BUSYBOX_BLKID
  192. help
  193. Show TYPE="filesystem type"
  194. config BUSYBOX_DMESG
  195. bool "dmesg"
  196. default y
  197. select BUSYBOX_PLATFORM_LINUX
  198. help
  199. dmesg is used to examine or control the kernel ring buffer. When the
  200. Linux kernel prints messages to the system log, they are stored in
  201. the kernel ring buffer. You can use dmesg to print the kernel's ring
  202. buffer, clear the kernel ring buffer, change the size of the kernel
  203. ring buffer, and change the priority level at which kernel messages
  204. are also logged to the system console. Enable this option if you
  205. wish to enable the 'dmesg' utility.
  206. config BUSYBOX_FEATURE_DMESG_PRETTY
  207. bool "Pretty dmesg output"
  208. default y
  209. depends on BUSYBOX_DMESG
  210. help
  211. If you wish to scrub the syslog level from the output, say 'Y' here.
  212. The syslog level is a string prefixed to every line with the form
  213. "<#>".
  214. With this option you will see:
  215. # dmesg
  216. Linux version 2.6.17.4 .....
  217. BIOS-provided physical RAM map:
  218. BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
  219. Without this option you will see:
  220. # dmesg
  221. <5>Linux version 2.6.17.4 .....
  222. <6>BIOS-provided physical RAM map:
  223. <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
  224. config BUSYBOX_FBSET
  225. bool "fbset"
  226. depends on !BUSYBOX_DISABLE_FBSET
  227. default n
  228. select BUSYBOX_PLATFORM_LINUX
  229. help
  230. fbset is used to show or change the settings of a Linux frame buffer
  231. device. The frame buffer device provides a simple and unique
  232. interface to access a graphics display. Enable this option
  233. if you wish to enable the 'fbset' utility.
  234. config BUSYBOX_FEATURE_FBSET_FANCY
  235. bool "Turn on extra fbset options"
  236. default y
  237. depends on BUSYBOX_FBSET
  238. help
  239. This option enables extended fbset options, allowing one to set the
  240. framebuffer size, color depth, etc. interface to access a graphics
  241. display. Enable this option if you wish to enable extended fbset
  242. options.
  243. config BUSYBOX_FEATURE_FBSET_READMODE
  244. bool "Turn on fbset readmode support"
  245. default y
  246. depends on BUSYBOX_FBSET
  247. help
  248. This option allows fbset to read the video mode database stored by
  249. default as /etc/fb.modes, which can be used to set frame buffer
  250. device to pre-defined video modes.
  251. config BUSYBOX_FDFLUSH
  252. bool "fdflush"
  253. default n
  254. select BUSYBOX_PLATFORM_LINUX
  255. help
  256. fdflush is only needed when changing media on slightly-broken
  257. removable media drives. It is used to make Linux believe that a
  258. hardware disk-change switch has been actuated, which causes Linux to
  259. forget anything it has cached from the previous media. If you have
  260. such a slightly-broken drive, you will need to run fdflush every time
  261. you change a disk. Most people have working hardware and can safely
  262. leave this disabled.
  263. config BUSYBOX_FDFORMAT
  264. bool "fdformat"
  265. default n
  266. select BUSYBOX_PLATFORM_LINUX
  267. help
  268. fdformat is used to low-level format a floppy disk.
  269. config BUSYBOX_FDISK
  270. bool "fdisk"
  271. default n
  272. depends on !BUSYBOX_DISABLE_FDISK
  273. select BUSYBOX_PLATFORM_LINUX
  274. help
  275. The fdisk utility is used to divide hard disks into one or more
  276. logical disks, which are generally called partitions. This utility
  277. can be used to list and edit the set of partitions or BSD style
  278. 'disk slices' that are defined on a hard drive.
  279. config BUSYBOX_FDISK_SUPPORT_LARGE_DISKS
  280. bool "Support over 4GB disks"
  281. default y
  282. depends on BUSYBOX_FDISK
  283. depends on !BUSYBOX_LFS # with LFS no special code is needed
  284. help
  285. Enable this option to support large disks > 4GB.
  286. config BUSYBOX_FEATURE_FDISK_WRITABLE
  287. bool "Write support"
  288. default y
  289. depends on BUSYBOX_FDISK
  290. help
  291. Enabling this option allows you to create or change a partition table
  292. and write those changes out to disk. If you leave this option
  293. disabled, you will only be able to view the partition table.
  294. config BUSYBOX_FEATURE_AIX_LABEL
  295. bool "Support AIX disklabels"
  296. default n
  297. depends on BUSYBOX_FDISK && BUSYBOX_FEATURE_FDISK_WRITABLE
  298. help
  299. Enabling this option allows you to create or change AIX disklabels.
  300. Most people can safely leave this option disabled.
  301. config BUSYBOX_FEATURE_SGI_LABEL
  302. bool "Support SGI disklabels"
  303. default n
  304. depends on BUSYBOX_FDISK && BUSYBOX_FEATURE_FDISK_WRITABLE
  305. help
  306. Enabling this option allows you to create or change SGI disklabels.
  307. Most people can safely leave this option disabled.
  308. config BUSYBOX_FEATURE_SUN_LABEL
  309. bool "Support SUN disklabels"
  310. default n
  311. depends on BUSYBOX_FDISK && BUSYBOX_FEATURE_FDISK_WRITABLE
  312. help
  313. Enabling this option allows you to create or change SUN disklabels.
  314. Most people can safely leave this option disabled.
  315. config BUSYBOX_FEATURE_OSF_LABEL
  316. bool "Support BSD disklabels"
  317. default n
  318. depends on BUSYBOX_FDISK && BUSYBOX_FEATURE_FDISK_WRITABLE
  319. help
  320. Enabling this option allows you to create or change BSD disklabels
  321. and define and edit BSD disk slices.
  322. config BUSYBOX_FEATURE_GPT_LABEL
  323. bool "Support GPT disklabels"
  324. default n
  325. depends on BUSYBOX_FDISK && BUSYBOX_FEATURE_FDISK_WRITABLE
  326. help
  327. Enabling this option allows you to view GUID Partition Table
  328. disklabels.
  329. config BUSYBOX_FEATURE_FDISK_ADVANCED
  330. bool "Support expert mode"
  331. default y
  332. depends on BUSYBOX_FDISK && BUSYBOX_FEATURE_FDISK_WRITABLE
  333. help
  334. Enabling this option allows you to do terribly unsafe things like
  335. define arbitrary drive geometry, move the beginning of data in a
  336. partition, and similarly evil things. Unless you have a very good
  337. reason you would be wise to leave this disabled.
  338. config BUSYBOX_FINDFS
  339. bool "findfs"
  340. default n
  341. select BUSYBOX_PLATFORM_LINUX
  342. select BUSYBOX_VOLUMEID
  343. help
  344. Prints the name of a filesystem with given label or UUID.
  345. WARNING:
  346. With all submodules selected, it will add ~8k to busybox.
  347. config BUSYBOX_FLOCK
  348. bool "flock"
  349. default n
  350. help
  351. Manage locks from shell scripts
  352. config BUSYBOX_FREERAMDISK
  353. bool "freeramdisk"
  354. default n
  355. select BUSYBOX_PLATFORM_LINUX
  356. help
  357. Linux allows you to create ramdisks. This utility allows you to
  358. delete them and completely free all memory that was used for the
  359. ramdisk. For example, if you boot Linux into a ramdisk and later
  360. pivot_root, you may want to free the memory that is allocated to the
  361. ramdisk. If you have no use for freeing memory from a ramdisk, leave
  362. this disabled.
  363. config BUSYBOX_FSCK_MINIX
  364. bool "fsck_minix"
  365. default n
  366. help
  367. The minix filesystem is a nice, small, compact, read-write filesystem
  368. with little overhead. It is not a journaling filesystem however and
  369. can experience corruption if it is not properly unmounted or if the
  370. power goes off in the middle of a write. This utility allows you to
  371. check for and attempt to repair any corruption that occurs to a minix
  372. filesystem.
  373. config BUSYBOX_FSFREEZE
  374. bool "fsfreeze (3.5 kb)"
  375. default n
  376. select BUSYBOX_PLATFORM_LINUX
  377. select BUSYBOX_LONG_OPTS
  378. help
  379. Halt new accesses and flush writes on a mounted filesystem.
  380. config BUSYBOX_MKFS_EXT2
  381. bool "mkfs_ext2"
  382. default n
  383. select BUSYBOX_PLATFORM_LINUX
  384. help
  385. Utility to create EXT2 filesystems.
  386. config BUSYBOX_MKFS_MINIX
  387. bool "mkfs_minix"
  388. default n
  389. select BUSYBOX_PLATFORM_LINUX
  390. help
  391. The minix filesystem is a nice, small, compact, read-write filesystem
  392. with little overhead. If you wish to be able to create minix
  393. filesystems this utility will do the job for you.
  394. config BUSYBOX_FEATURE_MINIX2
  395. bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
  396. default y
  397. depends on BUSYBOX_FSCK_MINIX || BUSYBOX_MKFS_MINIX
  398. help
  399. If you wish to be able to create version 2 minix filesystems, enable
  400. this. If you enabled 'mkfs_minix' then you almost certainly want to
  401. be using the version 2 filesystem support.
  402. config BUSYBOX_MKFS_REISER
  403. bool "mkfs_reiser"
  404. default n
  405. select BUSYBOX_PLATFORM_LINUX
  406. help
  407. Utility to create ReiserFS filesystems.
  408. Note: this applet needs a lot of testing and polishing.
  409. config BUSYBOX_MKFS_VFAT
  410. bool "mkfs_vfat"
  411. default n
  412. select BUSYBOX_PLATFORM_LINUX
  413. help
  414. Utility to create FAT32 filesystems.
  415. config BUSYBOX_GETOPT
  416. bool "getopt"
  417. default n
  418. help
  419. The getopt utility is used to break up (parse) options in command
  420. lines to make it easy to write complex shell scripts that also check
  421. for legal (and illegal) options. If you want to write horribly
  422. complex shell scripts, or use some horribly complex shell script
  423. written by others, this utility may be for you. Most people will
  424. wisely leave this disabled.
  425. config BUSYBOX_FEATURE_GETOPT_LONG
  426. bool "Support option -l"
  427. default y if LONG_OPTS
  428. depends on BUSYBOX_GETOPT
  429. help
  430. Enable support for long options (option -l).
  431. config BUSYBOX_HEXDUMP
  432. bool "hexdump"
  433. default n
  434. help
  435. The hexdump utility is used to display binary data in a readable
  436. way that is comparable to the output from most hex editors.
  437. config BUSYBOX_FEATURE_HEXDUMP_REVERSE
  438. bool "Support -R, reverse of 'hexdump -Cv'"
  439. default y
  440. depends on BUSYBOX_HEXDUMP
  441. help
  442. The hexdump utility is used to display binary data in an ascii
  443. readable way. This option creates binary data from an ascii input.
  444. NB: this option is non-standard. It's unwise to use it in scripts
  445. aimed to be portable.
  446. config BUSYBOX_HD
  447. bool "hd"
  448. default n
  449. help
  450. hd is an alias to hexdump -C.
  451. config BUSYBOX_XXD
  452. bool "xxd (8.9 kb)"
  453. default n
  454. help
  455. The xxd utility is used to display binary data in a readable
  456. way that is comparable to the output from most hex editors.
  457. config BUSYBOX_HWCLOCK
  458. bool "hwclock"
  459. default y if ADK_TARGET_WITH_RTC
  460. default n
  461. select BUSYBOX_PLATFORM_LINUX
  462. help
  463. The hwclock utility is used to read and set the hardware clock
  464. on a system. This is primarily used to set the current time on
  465. shutdown in the hardware clock, so the hardware will keep the
  466. correct time when Linux is _not_ running.
  467. config BUSYBOX_FEATURE_HWCLOCK_LONG_OPTIONS
  468. bool "Support long options (--hctosys,...)"
  469. default y
  470. depends on BUSYBOX_HWCLOCK && BUSYBOX_LONG_OPTS
  471. help
  472. By default, the hwclock utility only uses short options. If you
  473. are overly fond of its long options, such as --hctosys, --utc, etc)
  474. then enable this option.
  475. config BUSYBOX_FEATURE_HWCLOCK_ADJTIME_FHS
  476. bool "Use FHS /var/lib/hwclock/adjtime"
  477. default n # util-linux-ng in Fedora 13 still uses /etc/adjtime
  478. depends on BUSYBOX_HWCLOCK
  479. help
  480. Starting with FHS 2.3, the adjtime state file is supposed to exist
  481. at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
  482. to use the FHS behavior, answer Y here, otherwise answer N for the
  483. classic /etc/adjtime path.
  484. pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
  485. config BUSYBOX_IPCRM
  486. bool "ipcrm"
  487. default n
  488. help
  489. The ipcrm utility allows the removal of System V interprocess
  490. communication (IPC) objects and the associated data structures
  491. from the system.
  492. config BUSYBOX_IPCS
  493. bool "ipcs"
  494. default n
  495. select BUSYBOX_PLATFORM_LINUX
  496. help
  497. The ipcs utility is used to provide information on the currently
  498. allocated System V interprocess (IPC) objects in the system.
  499. config BUSYBOX_LOSETUP
  500. bool "losetup"
  501. default n
  502. select BUSYBOX_PLATFORM_LINUX
  503. help
  504. losetup is used to associate or detach a loop device with a regular
  505. file or block device, and to query the status of a loop device. This
  506. version does not currently support enabling data encryption.
  507. config BUSYBOX_LSPCI
  508. bool "lspci"
  509. depends on !BUSYBOX_DISABLE_LSPCI
  510. default n
  511. #select PLATFORM_LINUX
  512. help
  513. lspci is a utility for displaying information about PCI buses in the
  514. system and devices connected to them.
  515. This version uses sysfs (/sys/bus/pci/devices) only.
  516. config BUSYBOX_LSUSB
  517. bool "lsusb"
  518. depends on !BUSYBOX_DISABLE_LSUSB
  519. default n
  520. #select PLATFORM_LINUX
  521. help
  522. lsusb is a utility for displaying information about USB buses in the
  523. system and devices connected to them.
  524. This version uses sysfs (/sys/bus/usb/devices) only.
  525. config BUSYBOX_MKSWAP
  526. bool "mkswap"
  527. default n
  528. help
  529. The mkswap utility is used to configure a file or disk partition as
  530. Linux swap space. This allows Linux to use the entire file or
  531. partition as if it were additional RAM, which can greatly increase
  532. the capability of low-memory machines. This additional memory is
  533. much slower than real RAM, but can be very helpful at preventing your
  534. applications being killed by the Linux out of memory (OOM) killer.
  535. Once you have created swap space using 'mkswap' you need to enable
  536. the swap space using the 'swapon' utility.
  537. config BUSYBOX_FEATURE_MKSWAP_UUID
  538. bool "UUID support"
  539. default y
  540. depends on BUSYBOX_MKSWAP
  541. help
  542. Generate swap spaces with universally unique identifiers.
  543. config BUSYBOX_MORE
  544. bool "more"
  545. default n
  546. help
  547. more is a simple utility which allows you to read text one screen
  548. sized page at a time. If you want to read text that is larger than
  549. the screen, and you are using anything faster than a 300 baud modem,
  550. you will probably find this utility very helpful. If you don't have
  551. any need to reading text files, you can leave this disabled.
  552. config BUSYBOX_MOUNT
  553. bool "mount"
  554. default y
  555. depends on !BUSYBOX_DISABLE_MOUNT
  556. select BUSYBOX_PLATFORM_LINUX
  557. help
  558. All files and filesystems in Unix are arranged into one big directory
  559. tree. The 'mount' utility is used to graft a filesystem onto a
  560. particular part of the tree. A filesystem can either live on a block
  561. device, or it can be accessible over the network, as is the case with
  562. NFS filesystems. Most people using BusyBox will also want to enable
  563. the 'mount' utility.
  564. config BUSYBOX_FEATURE_MOUNT_FAKE
  565. bool "Support option -f"
  566. default n
  567. depends on BUSYBOX_MOUNT
  568. help
  569. Enable support for faking a file system mount.
  570. config BUSYBOX_FEATURE_MOUNT_VERBOSE
  571. bool "Support option -v"
  572. default n
  573. depends on BUSYBOX_MOUNT
  574. help
  575. Enable multi-level -v[vv...] verbose messages. Useful if you
  576. debug mount problems and want to see what is exactly passed
  577. to the kernel.
  578. config BUSYBOX_FEATURE_MOUNT_HELPERS
  579. bool "Support mount helpers"
  580. default y
  581. depends on BUSYBOX_MOUNT
  582. help
  583. Enable mounting of virtual file systems via external helpers.
  584. E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call
  585. "obexfs -b00.11.22.33.44.55 /mnt"
  586. Also "mount -t sometype [-o opts] fs /mnt" will try
  587. "sometype [-o opts] fs /mnt" if simple mount syscall fails.
  588. The idea is to use such virtual filesystems in /etc/fstab.
  589. config BUSYBOX_FEATURE_MOUNT_LABEL
  590. bool "Support specifying devices by label or UUID"
  591. default y
  592. depends on BUSYBOX_MOUNT
  593. select BUSYBOX_VOLUMEID
  594. help
  595. This allows for specifying a device by label or uuid, rather than by
  596. name. This feature utilizes the same functionality as blkid/findfs.
  597. This also enables label or uuid support for swapon.
  598. config BUSYBOX_FEATURE_MOUNT_NFS
  599. bool "Support mounting NFS file systems on Linux < 2.6.23"
  600. default n
  601. depends on BUSYBOX_MOUNT
  602. select BUSYBOX_FEATURE_HAVE_RPC
  603. select BUSYBOX_FEATURE_SYSLOG
  604. help
  605. Enable mounting of NFS file systems on Linux kernels prior
  606. to version 2.6.23. Note that in this case mounting of NFS
  607. over IPv6 will not be possible.
  608. Note that this option links in RPC support from libc,
  609. which is rather large (~10 kbytes on uclibc).
  610. config BUSYBOX_FEATURE_MOUNT_CIFS
  611. bool "Support mounting CIFS/SMB file systems"
  612. default n
  613. depends on BUSYBOX_MOUNT
  614. help
  615. Enable support for samba mounts.
  616. config BUSYBOX_FEATURE_MOUNT_FLAGS
  617. depends on BUSYBOX_MOUNT
  618. bool "Support lots of -o flags in mount"
  619. default y
  620. help
  621. Without this, mount only supports ro/rw/remount. With this, it
  622. supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
  623. noatime, diratime, nodiratime, loud, bind, move, shared, slave,
  624. private, unbindable, rshared, rslave, rprivate, and runbindable.
  625. config BUSYBOX_FEATURE_MOUNT_FSTAB
  626. depends on BUSYBOX_MOUNT
  627. bool "Support /etc/fstab and -a"
  628. default y
  629. help
  630. Support mount all and looking for files in /etc/fstab.
  631. config BUSYBOX_FEATURE_MOUNT_OTHERTAB
  632. depends on BUSYBOX_FEATURE_MOUNT_FSTAB
  633. bool "Support -T <alt_fstab>"
  634. default n
  635. help
  636. Support mount -T (specifying an alternate fstab)
  637. config BUSYBOX_PIVOT_ROOT
  638. bool "pivot_root"
  639. default n
  640. select BUSYBOX_PLATFORM_LINUX
  641. help
  642. The pivot_root utility swaps the mount points for the root filesystem
  643. with some other mounted filesystem. This allows you to do all sorts
  644. of wild and crazy things with your Linux system and is far more
  645. powerful than 'chroot'.
  646. Note: This is for initrd in linux 2.4. Under initramfs (introduced
  647. in linux 2.6) use switch_root instead.
  648. config BUSYBOX_RDATE
  649. bool "rdate"
  650. depends on !BUSYBOX_DISABLE_RDATE
  651. default n
  652. help
  653. The rdate utility allows you to synchronize the date and time of your
  654. system clock with the date and time of a remote networked system using
  655. the RFC868 protocol, which is built into the inetd daemon on most
  656. systems.
  657. config BUSYBOX_RDEV
  658. bool "rdev"
  659. default y
  660. help
  661. Print the device node associated with the filesystem mounted at '/'.
  662. config BUSYBOX_READPROFILE
  663. bool "readprofile"
  664. default n
  665. #select PLATFORM_LINUX
  666. help
  667. This allows you to parse /proc/profile for basic profiling.
  668. config BUSYBOX_RTCWAKE
  669. bool "rtcwake"
  670. default n
  671. select BUSYBOX_PLATFORM_LINUX
  672. help
  673. Enter a system sleep state until specified wakeup time.
  674. config BUSYBOX_SCRIPT
  675. bool "script"
  676. default n
  677. help
  678. The script makes typescript of terminal session.
  679. config BUSYBOX_SCRIPTREPLAY
  680. bool "scriptreplay"
  681. default n
  682. help
  683. This program replays a typescript, using timing information
  684. given by script -t.
  685. config BUSYBOX_SETARCH
  686. bool "setarch"
  687. default n
  688. select BUSYBOX_PLATFORM_LINUX
  689. help
  690. The linux32 utility is used to create a 32bit environment for the
  691. specified program (usually a shell). It only makes sense to have
  692. this util on a system that supports both 64bit and 32bit userland
  693. (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
  694. config BUSYBOX_LINUX32
  695. bool "linux32"
  696. default n
  697. select PLATFORM_LINUX
  698. help
  699. Alias to "setarch linux32".
  700. config BUSYBOX_LINUX64
  701. bool "linux64"
  702. default n
  703. select PLATFORM_LINUX
  704. help
  705. Alias to "setarch linux64".
  706. config BUSYBOX_SETPRIV
  707. bool "setpriv (6.6 kb)"
  708. default n
  709. select BUSYBOX_PLATFORM_LINUX
  710. select BUSYBOX_LONG_OPTS
  711. help
  712. Run a program with different Linux privilege settings.
  713. Requires kernel >= 3.5
  714. config BUSYBOX_FEATURE_SETPRIV_DUMP
  715. bool "Support dumping current privilege state"
  716. default y
  717. depends on BUSYBOX_SETPRIV
  718. help
  719. Enables the "--dump" switch to print out the current privilege
  720. state. This is helpful for diagnosing problems.
  721. config BUSYBOX_FEATURE_SETPRIV_CAPABILITIES
  722. bool "Support capabilities"
  723. default y
  724. depends on BUSYBOX_SETPRIV
  725. help
  726. Capabilities can be used to grant processes additional rights
  727. without the necessity to always execute as the root user.
  728. Enabling this option enables "--dump" to show information on
  729. capabilities.
  730. config BUSYBOX_FEATURE_SETPRIV_CAPABILITY_NAMES
  731. bool "Support capability names"
  732. default y
  733. depends on BUSYBOX_SETPRIV && BUSYBOX_FEATURE_SETPRIV_CAPABILITIES
  734. help
  735. Capabilities can be either referenced via a human-readble name,
  736. e.g. "net_admin", or using their index, e.g. "cap_12". Enabling
  737. this option allows using the human-readable names in addition to
  738. the index-based names.
  739. config BUSYBOX_SWAPON
  740. bool "swapon"
  741. default n
  742. select PLATFORM_LINUX
  743. help
  744. This option enables the 'swapon' utility.
  745. Once you have created some swap space using 'mkswap', you also need
  746. to enable your swap space with the 'swapon' utility. The 'swapoff'
  747. utility is used, typically at system shutdown, to disable any swap
  748. space. If you are not using any swap space, you can leave this
  749. option disabled.
  750. config BUSYBOX_FEATURE_SWAPON_DISCARD
  751. bool "Support discard option -d"
  752. default n
  753. depends on BUSYBOX_SWAPON
  754. help
  755. Enable support for discarding swap area blocks at swapon and/or as
  756. the kernel frees them. This option enables both the -d option on
  757. 'swapon' and the 'discard' option for swap entries in /etc/fstab.
  758. config BUSYBOX_FEATURE_SWAPON_PRI
  759. bool "Support priority option -p"
  760. default y
  761. depends on BUSYBOX_SWAPON
  762. help
  763. Enable support for setting swap device priority in swapon.
  764. config BUSYBOX_SWAPOFF
  765. bool "swapoff"
  766. default n
  767. select PLATFORM_LINUX
  768. help
  769. This option enables the 'swapoff' utility.
  770. config BUSYBOX_SWITCH_ROOT
  771. bool "switch_root"
  772. default n
  773. select BUSYBOX_PLATFORM_LINUX
  774. help
  775. The switch_root utility is used from initramfs to select a new
  776. root device. Under initramfs, you have to use this instead of
  777. pivot_root. (Stop reading here if you don't care why.)
  778. Booting with initramfs extracts a gzipped cpio archive into rootfs
  779. (which is a variant of ramfs/tmpfs). Because rootfs can't be moved
  780. or unmounted*, pivot_root will not work from initramfs. Instead,
  781. switch_root deletes everything out of rootfs (including itself),
  782. does a mount --move that overmounts rootfs with the new root, and
  783. then execs the specified init program.
  784. * Because the Linux kernel uses rootfs internally as the starting
  785. and ending point for searching through the kernel's doubly linked
  786. list of active mount points. That's why.
  787. config BUSYBOX_UMOUNT
  788. bool "umount"
  789. default y
  790. depends on !BUSYBOX_DISABLE_UMOUNT
  791. select BUSYBOX_PLATFORM_LINUX
  792. help
  793. When you want to remove a mounted filesystem from its current mount
  794. point, for example when you are shutting down the system, the
  795. 'umount' utility is the tool to use. If you enabled the 'mount'
  796. utility, you almost certainly also want to enable 'umount'.
  797. config BUSYBOX_FEATURE_UMOUNT_ALL
  798. bool "Support option -a"
  799. default y
  800. depends on BUSYBOX_UMOUNT
  801. help
  802. Support -a option to unmount all currently mounted filesystems.
  803. comment "Common options for mount/umount"
  804. depends on BUSYBOX_MOUNT || BUSYBOX_UMOUNT
  805. config BUSYBOX_FEATURE_MOUNT_LOOP
  806. bool "Support loopback mounts"
  807. default y
  808. depends on BUSYBOX_MOUNT || BUSYBOX_UMOUNT
  809. help
  810. Enabling this feature allows automatic mounting of files (containing
  811. filesystem images) via the linux kernel's loopback devices.
  812. The mount command will detect you are trying to mount a file instead
  813. of a block device, and transparently associate the file with a
  814. loopback device. The umount command will also free that loopback
  815. device.
  816. You can still use the 'losetup' utility (to manually associate files
  817. with loop devices) if you need to do something advanced, such as
  818. specify an offset or cryptographic options to the loopback device.
  819. (If you don't want umount to free the loop device, use "umount -D".)
  820. config BUSYBOX_FEATURE_MOUNT_LOOP_CREATE
  821. bool "Create new loopback devices if needed"
  822. default y
  823. depends on BUSYBOX_FEATURE_MOUNT_LOOP
  824. help
  825. Linux kernels >= 2.6.24 support unlimited loopback devices. They are
  826. allocated for use when trying to use a loop device. The loop device
  827. must however exist.
  828. This feature lets mount to try to create next /dev/loopN device
  829. if it does not find a free one.
  830. config BUSYBOX_FEATURE_MTAB_SUPPORT
  831. bool "Support for the old /etc/mtab file"
  832. default n
  833. depends on BUSYBOX_MOUNT || BUSYBOX_UMOUNT
  834. select BUSYBOX_FEATURE_MOUNT_FAKE
  835. help
  836. Historically, Unix systems kept track of the currently mounted
  837. partitions in the file "/etc/mtab". These days, the kernel exports
  838. the list of currently mounted partitions in "/proc/mounts", rendering
  839. the old mtab file obsolete. (In modern systems, /etc/mtab should be
  840. a symlink to /proc/mounts.)
  841. The only reason to have mount maintain an /etc/mtab file itself is if
  842. your stripped-down embedded system does not have a /proc directory.
  843. If you must use this, keep in mind it's inherently brittle (for
  844. example a mount under chroot won't update it), can't handle modern
  845. features like separate per-process filesystem namespaces, requires
  846. that your /etc directory be writable, tends to get easily confused
  847. by --bind or --move mounts, won't update if you rename a directory
  848. that contains a mount point, and so on. (In brief: avoid.)
  849. About the only reason to use this is if you've removed /proc from
  850. your kernel.
  851. config BUSYBOX_VOLUMEID
  852. bool #No description makes it a hidden option
  853. default n
  854. menu "Filesystem/Volume identification"
  855. depends on BUSYBOX_VOLUMEID
  856. config BUSYBOX_FEATURE_VOLUMEID_BCACHE
  857. bool "bcache filesystem"
  858. default n
  859. depends on BUSYBOX_VOLUMEID
  860. help
  861. TODO
  862. config BUSYBOX_FEATURE_VOLUMEID_EXT
  863. bool "Ext filesystem"
  864. default y
  865. depends on BUSYBOX_VOLUMEID
  866. help
  867. TODO
  868. config BUSYBOX_FEATURE_VOLUMEID_BTRFS
  869. bool "btrfs filesystem"
  870. default y
  871. depends on BUSYBOX_VOLUMEID
  872. help
  873. TODO
  874. config BUSYBOX_FEATURE_VOLUMEID_REISERFS
  875. bool "Reiser filesystem"
  876. default y
  877. depends on BUSYBOX_VOLUMEID
  878. help
  879. TODO
  880. config BUSYBOX_FEATURE_VOLUMEID_F2FS
  881. bool "f2fs filesystem"
  882. default y
  883. depends on BUSYBOX_VOLUMEID
  884. help
  885. F2FS (aka Flash-Friendly File System) is a log-structured file system,
  886. which is adapted to newer forms of storage. F2FS also remedies some
  887. known issues of the older log structured file systems, such as high
  888. cleaning overhead.
  889. config BUSYBOX_FEATURE_VOLUMEID_FAT
  890. bool "fat filesystem"
  891. default y
  892. depends on BUSYBOX_VOLUMEID
  893. help
  894. TODO
  895. config BUSYBOX_FEATURE_VOLUMEID_EXFAT
  896. bool "exFAT filesystem"
  897. default y
  898. depends on BUSYBOX_VOLUMEID
  899. help
  900. exFAT (extended FAT) is a proprietary file system designed especially
  901. for flash drives. It has many features from NTFS, but with less
  902. overhead. exFAT is used on most SDXC cards for consumer electronics.
  903. config BUSYBOX_FEATURE_VOLUMEID_HFS
  904. bool "hfs filesystem"
  905. default y
  906. depends on BUSYBOX_VOLUMEID
  907. help
  908. TODO
  909. config BUSYBOX_FEATURE_VOLUMEID_MINIX
  910. bool "minix filesystem"
  911. default y
  912. depends on BUSYBOX_VOLUMEID
  913. config BUSYBOX_FEATURE_VOLUMEID_NILFS
  914. bool "nilfs filesystem"
  915. default y
  916. depends on BUSYBOX_VOLUMEID
  917. help
  918. TODO
  919. config BUSYBOX_FEATURE_VOLUMEID_JFS
  920. bool "jfs filesystem"
  921. default y
  922. depends on BUSYBOX_VOLUMEID
  923. help
  924. TODO
  925. ### config FEATURE_VOLUMEID_UFS
  926. ### bool "ufs filesystem"
  927. ### default y
  928. ### depends on BUSYBOX_VOLUMEID
  929. ### help
  930. ### TODO
  931. config BUSYBOX_FEATURE_VOLUMEID_XFS
  932. bool "xfs filesystem"
  933. default y
  934. depends on BUSYBOX_VOLUMEID
  935. help
  936. TODO
  937. config BUSYBOX_FEATURE_VOLUMEID_NTFS
  938. bool "ntfs filesystem"
  939. default y
  940. depends on BUSYBOX_VOLUMEID
  941. help
  942. TODO
  943. config BUSYBOX_FEATURE_VOLUMEID_ISO9660
  944. bool "iso9660 filesystem"
  945. default y
  946. depends on BUSYBOX_VOLUMEID
  947. help
  948. TODO
  949. config BUSYBOX_FEATURE_VOLUMEID_UDF
  950. bool "udf filesystem"
  951. default y
  952. depends on BUSYBOX_VOLUMEID
  953. help
  954. TODO
  955. config BUSYBOX_FEATURE_VOLUMEID_LUKS
  956. bool "luks filesystem"
  957. default y
  958. depends on BUSYBOX_VOLUMEID
  959. help
  960. TODO
  961. config BUSYBOX_FEATURE_VOLUMEID_LINUXSWAP
  962. bool "linux swap filesystem"
  963. default y
  964. depends on BUSYBOX_VOLUMEID
  965. help
  966. TODO
  967. ### config FEATURE_VOLUMEID_LVM
  968. ### bool "lvm"
  969. ### default y
  970. ### depends on BUSYBOX_VOLUMEID
  971. ### help
  972. ### TODO
  973. config BUSYBOX_FEATURE_VOLUMEID_CRAMFS
  974. bool "cramfs filesystem"
  975. default y
  976. depends on BUSYBOX_VOLUMEID
  977. help
  978. TODO
  979. ### config FEATURE_VOLUMEID_HPFS
  980. ### bool "hpfs filesystem"
  981. ### default y
  982. ### depends on BUSYBOX_VOLUMEID
  983. ### help
  984. ### TODO
  985. config BUSYBOX_FEATURE_VOLUMEID_ROMFS
  986. bool "romfs filesystem"
  987. default y
  988. depends on BUSYBOX_VOLUMEID
  989. help
  990. TODO
  991. config BUSYBOX_FEATURE_VOLUMEID_SQUASHFS
  992. bool "SquashFS filesystem"
  993. default y
  994. depends on BUSYBOX_VOLUMEID && BUSYBOX_FEATURE_BLKID_TYPE
  995. help
  996. Squashfs is a compressed read-only filesystem for Linux. Squashfs is
  997. intended for general read-only filesystem use and in constrained block
  998. device/memory systems (e.g. embedded systems) where low overhead is
  999. needed.
  1000. config BUSYBOX_FEATURE_VOLUMEID_SYSV
  1001. bool "sysv filesystem"
  1002. default y
  1003. depends on BUSYBOX_VOLUMEID
  1004. help
  1005. TODO
  1006. ### config FEATURE_VOLUMEID_MINIX
  1007. ### bool "minix filesystem"
  1008. ### default y
  1009. ### depends on BUSYBOX_VOLUMEID
  1010. ### help
  1011. ### TODO
  1012. ### These only detect partition tables - not used (yet?)
  1013. ### config FEATURE_VOLUMEID_MAC
  1014. ### bool "mac filesystem"
  1015. ### default y
  1016. ### depends on BUSYBOX_VOLUMEID
  1017. ### help
  1018. ### TODO
  1019. ###
  1020. ### config FEATURE_VOLUMEID_MSDOS
  1021. ### bool "msdos filesystem"
  1022. ### default y
  1023. ### depends on BUSYBOX_VOLUMEID
  1024. ### help
  1025. ### TODO
  1026. config BUSYBOX_FEATURE_VOLUMEID_OCFS2
  1027. bool "ocfs2 filesystem"
  1028. default y
  1029. depends on BUSYBOX_VOLUMEID
  1030. help
  1031. TODO
  1032. ### config FEATURE_VOLUMEID_HIGHPOINTRAID
  1033. ### bool "highpoint raid"
  1034. ### default y
  1035. ### depends on BUSYBOX_VOLUMEID
  1036. ### help
  1037. ### TODO
  1038. ### config FEATURE_VOLUMEID_ISWRAID
  1039. ### bool "intel raid"
  1040. ### default y
  1041. ### depends on BUSYBOX_VOLUMEID
  1042. ### help
  1043. ### TODO
  1044. ### config FEATURE_VOLUMEID_LSIRAID
  1045. ### bool "lsi raid"
  1046. ### default y
  1047. ### depends on BUSYBOX_VOLUMEID
  1048. ### help
  1049. ### TODO
  1050. ### config FEATURE_VOLUMEID_VIARAID
  1051. ### bool "via raid"
  1052. ### default y
  1053. ### depends on BUSYBOX_VOLUMEID
  1054. ### help
  1055. ### TODO
  1056. ### config FEATURE_VOLUMEID_SILICONRAID
  1057. ### bool "silicon raid"
  1058. ### default y
  1059. ### depends on BUSYBOX_VOLUMEID
  1060. ### help
  1061. ### TODO
  1062. ### config FEATURE_VOLUMEID_NVIDIARAID
  1063. ### bool "nvidia raid"
  1064. ### default y
  1065. ### depends on BUSYBOX_VOLUMEID
  1066. ### help
  1067. ### TODO
  1068. ### config FEATURE_VOLUMEID_PROMISERAID
  1069. ### bool "promise raid"
  1070. ### default y
  1071. ### depends on BUSYBOX_VOLUMEID
  1072. ### help
  1073. ### TODO
  1074. config BUSYBOX_FEATURE_VOLUMEID_LINUXRAID
  1075. bool "linuxraid"
  1076. default y
  1077. depends on BUSYBOX_VOLUMEID
  1078. help
  1079. TODO
  1080. config BUSYBOX_FEATURE_VOLUMEID_UBIFS
  1081. bool "UBIFS filesystem"
  1082. default y
  1083. depends on BUSYBOX_VOLUMEID
  1084. help
  1085. UBIFS (Unsorted Block Image File System) is a file
  1086. system for use with raw flash memory media.
  1087. endmenu
  1088. endmenu