Config.in 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805
  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_CONFIG_BLOCKDEV
  8. bool "blockdev"
  9. default BUSYBOX_DEFAULT_BLOCKDEV
  10. help
  11. Performs some ioctls with block devices.
  12. config BUSYBOX_CONFIG_FATATTR
  13. bool "fatattr"
  14. default BUSYBOX_DEFAULT_FATATTR
  15. select BUSYBOX_CONFIG_PLATFORM_LINUX
  16. help
  17. fatattr lists or changes the file attributes on a fat file system.
  18. config BUSYBOX_CONFIG_FSTRIM
  19. bool "fstrim"
  20. default BUSYBOX_DEFAULT_FSTRIM
  21. select BUSYBOX_CONFIG_PLATFORM_LINUX
  22. help
  23. Discard unused blocks on a mounted filesystem.
  24. config BUSYBOX_CONFIG_MDEV
  25. bool "mdev"
  26. default BUSYBOX_DEFAULT_MDEV
  27. select BUSYBOX_CONFIG_PLATFORM_LINUX
  28. help
  29. mdev is a mini-udev implementation for dynamically creating device
  30. nodes in the /dev directory.
  31. For more information, please see docs/mdev.txt
  32. config BUSYBOX_CONFIG_FEATURE_MDEV_CONF
  33. bool "Support /etc/mdev.conf"
  34. default BUSYBOX_DEFAULT_FEATURE_MDEV_CONF
  35. depends on BUSYBOX_CONFIG_MDEV
  36. help
  37. Add support for the mdev config file to control ownership and
  38. permissions of the device nodes.
  39. For more information, please see docs/mdev.txt
  40. config BUSYBOX_CONFIG_FEATURE_MDEV_RENAME
  41. bool "Support subdirs/symlinks"
  42. default BUSYBOX_DEFAULT_FEATURE_MDEV_RENAME
  43. depends on BUSYBOX_CONFIG_FEATURE_MDEV_CONF
  44. help
  45. Add support for renaming devices and creating symlinks.
  46. For more information, please see docs/mdev.txt
  47. config BUSYBOX_CONFIG_FEATURE_MDEV_RENAME_REGEXP
  48. bool "Support regular expressions substitutions when renaming device"
  49. default BUSYBOX_DEFAULT_FEATURE_MDEV_RENAME_REGEXP
  50. depends on BUSYBOX_CONFIG_FEATURE_MDEV_RENAME
  51. help
  52. Add support for regular expressions substitutions when renaming
  53. device.
  54. config BUSYBOX_CONFIG_FEATURE_MDEV_EXEC
  55. bool "Support command execution at device addition/removal"
  56. default BUSYBOX_DEFAULT_FEATURE_MDEV_EXEC
  57. depends on BUSYBOX_CONFIG_FEATURE_MDEV_CONF
  58. help
  59. This adds support for an optional field to /etc/mdev.conf for
  60. executing commands when devices are created/removed.
  61. For more information, please see docs/mdev.txt
  62. config BUSYBOX_CONFIG_FEATURE_MDEV_LOAD_FIRMWARE
  63. bool "Support loading of firmwares"
  64. default BUSYBOX_DEFAULT_FEATURE_MDEV_LOAD_FIRMWARE
  65. depends on BUSYBOX_CONFIG_MDEV
  66. help
  67. Some devices need to load firmware before they can be usable.
  68. These devices will request userspace look up the files in
  69. /lib/firmware/ and if it exists, send it to the kernel for
  70. loading into the hardware.
  71. config BUSYBOX_CONFIG_MOUNT
  72. bool "mount"
  73. default BUSYBOX_DEFAULT_MOUNT
  74. select BUSYBOX_CONFIG_PLATFORM_LINUX
  75. help
  76. All files and filesystems in Unix are arranged into one big directory
  77. tree. The 'mount' utility is used to graft a filesystem onto a
  78. particular part of the tree. A filesystem can either live on a block
  79. device, or it can be accessible over the network, as is the case with
  80. NFS filesystems. Most people using BusyBox will also want to enable
  81. the 'mount' utility.
  82. config BUSYBOX_CONFIG_FEATURE_MOUNT_FAKE
  83. bool "Support option -f"
  84. default BUSYBOX_DEFAULT_FEATURE_MOUNT_FAKE
  85. depends on BUSYBOX_CONFIG_MOUNT
  86. help
  87. Enable support for faking a file system mount.
  88. config BUSYBOX_CONFIG_FEATURE_MOUNT_VERBOSE
  89. bool "Support option -v"
  90. default BUSYBOX_DEFAULT_FEATURE_MOUNT_VERBOSE
  91. depends on BUSYBOX_CONFIG_MOUNT
  92. help
  93. Enable multi-level -v[vv...] verbose messages. Useful if you
  94. debug mount problems and want to see what is exactly passed
  95. to the kernel.
  96. config BUSYBOX_CONFIG_FEATURE_MOUNT_HELPERS
  97. bool "Support mount helpers"
  98. default BUSYBOX_DEFAULT_FEATURE_MOUNT_HELPERS
  99. depends on BUSYBOX_CONFIG_MOUNT
  100. help
  101. Enable mounting of virtual file systems via external helpers.
  102. E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call
  103. "obexfs -b00.11.22.33.44.55 /mnt"
  104. Also "mount -t sometype [-o opts] fs /mnt" will try
  105. "sometype [-o opts] fs /mnt" if simple mount syscall fails.
  106. The idea is to use such virtual filesystems in /etc/fstab.
  107. config BUSYBOX_CONFIG_FEATURE_MOUNT_LABEL
  108. bool "Support specifying devices by label or UUID"
  109. default BUSYBOX_DEFAULT_FEATURE_MOUNT_LABEL
  110. depends on BUSYBOX_CONFIG_MOUNT
  111. select BUSYBOX_CONFIG_VOLUMEID
  112. help
  113. This allows for specifying a device by label or uuid, rather than by
  114. name. This feature utilizes the same functionality as blkid/findfs.
  115. This also enables label or uuid support for swapon.
  116. config BUSYBOX_CONFIG_FEATURE_MOUNT_NFS
  117. bool "Support mounting NFS file systems on Linux < 2.6.23"
  118. default BUSYBOX_DEFAULT_FEATURE_MOUNT_NFS
  119. depends on BUSYBOX_CONFIG_MOUNT
  120. select BUSYBOX_CONFIG_FEATURE_HAVE_RPC
  121. select BUSYBOX_CONFIG_FEATURE_SYSLOG
  122. help
  123. Enable mounting of NFS file systems on Linux kernels prior
  124. to version 2.6.23. Note that in this case mounting of NFS
  125. over IPv6 will not be possible.
  126. Note that this option links in RPC support from libc,
  127. which is rather large (~10 kbytes on uclibc).
  128. config BUSYBOX_CONFIG_FEATURE_MOUNT_CIFS
  129. bool "Support mounting CIFS/SMB file systems"
  130. default BUSYBOX_DEFAULT_FEATURE_MOUNT_CIFS
  131. depends on BUSYBOX_CONFIG_MOUNT
  132. help
  133. Enable support for samba mounts.
  134. config BUSYBOX_CONFIG_FEATURE_MOUNT_FLAGS
  135. depends on BUSYBOX_CONFIG_MOUNT
  136. bool "Support lots of -o flags in mount"
  137. default BUSYBOX_DEFAULT_FEATURE_MOUNT_FLAGS
  138. help
  139. Without this, mount only supports ro/rw/remount. With this, it
  140. supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
  141. noatime, diratime, nodiratime, loud, bind, move, shared, slave,
  142. private, unbindable, rshared, rslave, rprivate, and runbindable.
  143. config BUSYBOX_CONFIG_FEATURE_MOUNT_FSTAB
  144. depends on BUSYBOX_CONFIG_MOUNT
  145. bool "Support /etc/fstab and -a"
  146. default BUSYBOX_DEFAULT_FEATURE_MOUNT_FSTAB
  147. help
  148. Support mount all and looking for files in /etc/fstab.
  149. config BUSYBOX_CONFIG_FEATURE_MOUNT_OTHERTAB
  150. depends on BUSYBOX_CONFIG_FEATURE_MOUNT_FSTAB
  151. bool "Support -T <alt_fstab>"
  152. default BUSYBOX_DEFAULT_FEATURE_MOUNT_OTHERTAB
  153. help
  154. Support mount -T (specifying an alternate fstab)
  155. config BUSYBOX_CONFIG_REV
  156. bool "rev"
  157. default BUSYBOX_DEFAULT_REV
  158. help
  159. Reverse lines of a file or files.
  160. config BUSYBOX_CONFIG_UEVENT
  161. bool "uevent"
  162. default BUSYBOX_DEFAULT_UEVENT
  163. select BUSYBOX_CONFIG_PLATFORM_LINUX
  164. help
  165. uevent is a netlink listener for kernel uevent notifications
  166. sent via netlink. It is usually used for dynamic device creation.
  167. config BUSYBOX_CONFIG_ACPID
  168. bool "acpid"
  169. default BUSYBOX_DEFAULT_ACPID
  170. select BUSYBOX_CONFIG_PLATFORM_LINUX
  171. help
  172. acpid listens to ACPI events coming either in textual form from
  173. /proc/acpi/event (though it is marked deprecated it is still widely
  174. used and _is_ a standard) or in binary form from specified evdevs
  175. (just use /dev/input/event*).
  176. It parses the event to retrieve ACTION and a possible PARAMETER.
  177. It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts
  178. (if the resulting path is a directory) or directly as an executable.
  179. N.B. acpid relies on run-parts so have the latter installed.
  180. config BUSYBOX_CONFIG_FEATURE_ACPID_COMPAT
  181. bool "Accept and ignore redundant options"
  182. default BUSYBOX_DEFAULT_FEATURE_ACPID_COMPAT
  183. depends on BUSYBOX_CONFIG_ACPID
  184. help
  185. Accept and ignore compatibility options -g -m -s -S -v.
  186. config BUSYBOX_CONFIG_BLKID
  187. bool "blkid"
  188. default BUSYBOX_DEFAULT_BLKID
  189. select BUSYBOX_CONFIG_PLATFORM_LINUX
  190. select BUSYBOX_CONFIG_VOLUMEID
  191. help
  192. Lists labels and UUIDs of all filesystems.
  193. WARNING:
  194. With all submodules selected, it will add ~8k to busybox.
  195. config BUSYBOX_CONFIG_FEATURE_BLKID_TYPE
  196. bool "Print filesystem type"
  197. default BUSYBOX_DEFAULT_FEATURE_BLKID_TYPE
  198. depends on BUSYBOX_CONFIG_BLKID
  199. help
  200. Show TYPE="filesystem type"
  201. config BUSYBOX_CONFIG_DMESG
  202. bool "dmesg"
  203. default BUSYBOX_DEFAULT_DMESG
  204. select BUSYBOX_CONFIG_PLATFORM_LINUX
  205. help
  206. dmesg is used to examine or control the kernel ring buffer. When the
  207. Linux kernel prints messages to the system log, they are stored in
  208. the kernel ring buffer. You can use dmesg to print the kernel's ring
  209. buffer, clear the kernel ring buffer, change the size of the kernel
  210. ring buffer, and change the priority level at which kernel messages
  211. are also logged to the system console. Enable this option if you
  212. wish to enable the 'dmesg' utility.
  213. config BUSYBOX_CONFIG_FEATURE_DMESG_PRETTY
  214. bool "Pretty dmesg output"
  215. default BUSYBOX_DEFAULT_FEATURE_DMESG_PRETTY
  216. depends on BUSYBOX_CONFIG_DMESG
  217. help
  218. If you wish to scrub the syslog level from the output, say 'Y' here.
  219. The syslog level is a string prefixed to every line with the form
  220. "<#>".
  221. With this option you will see:
  222. # dmesg
  223. Linux version 2.6.17.4 .....
  224. BIOS-provided physical RAM map:
  225. BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
  226. Without this option you will see:
  227. # dmesg
  228. <5>Linux version 2.6.17.4 .....
  229. <6>BIOS-provided physical RAM map:
  230. <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
  231. config BUSYBOX_CONFIG_FBSET
  232. bool "fbset"
  233. default BUSYBOX_DEFAULT_FBSET
  234. select BUSYBOX_CONFIG_PLATFORM_LINUX
  235. help
  236. fbset is used to show or change the settings of a Linux frame buffer
  237. device. The frame buffer device provides a simple and unique
  238. interface to access a graphics display. Enable this option
  239. if you wish to enable the 'fbset' utility.
  240. config BUSYBOX_CONFIG_FEATURE_FBSET_FANCY
  241. bool "Turn on extra fbset options"
  242. default BUSYBOX_DEFAULT_FEATURE_FBSET_FANCY
  243. depends on BUSYBOX_CONFIG_FBSET
  244. help
  245. This option enables extended fbset options, allowing one to set the
  246. framebuffer size, color depth, etc. interface to access a graphics
  247. display. Enable this option if you wish to enable extended fbset
  248. options.
  249. config BUSYBOX_CONFIG_FEATURE_FBSET_READMODE
  250. bool "Turn on fbset readmode support"
  251. default BUSYBOX_DEFAULT_FEATURE_FBSET_READMODE
  252. depends on BUSYBOX_CONFIG_FBSET
  253. help
  254. This option allows fbset to read the video mode database stored by
  255. default BUSYBOX_DEFAULT_FEATURE_FBSET_READMODE /etc/fb.modes, which can be used to set frame buffer
  256. device to pre-defined video modes.
  257. config BUSYBOX_CONFIG_FDFLUSH
  258. bool "fdflush"
  259. default BUSYBOX_DEFAULT_FDFLUSH
  260. select BUSYBOX_CONFIG_PLATFORM_LINUX
  261. help
  262. fdflush is only needed when changing media on slightly-broken
  263. removable media drives. It is used to make Linux believe that a
  264. hardware disk-change switch has been actuated, which causes Linux to
  265. forget anything it has cached from the previous media. If you have
  266. such a slightly-broken drive, you will need to run fdflush every time
  267. you change a disk. Most people have working hardware and can safely
  268. leave this disabled.
  269. config BUSYBOX_CONFIG_FDFORMAT
  270. bool "fdformat"
  271. default BUSYBOX_DEFAULT_FDFORMAT
  272. select BUSYBOX_CONFIG_PLATFORM_LINUX
  273. help
  274. fdformat is used to low-level format a floppy disk.
  275. config BUSYBOX_CONFIG_FDISK
  276. bool "fdisk"
  277. default BUSYBOX_DEFAULT_FDISK
  278. select BUSYBOX_CONFIG_PLATFORM_LINUX
  279. help
  280. The fdisk utility is used to divide hard disks into one or more
  281. logical disks, which are generally called partitions. This utility
  282. can be used to list and edit the set of partitions or BSD style
  283. 'disk slices' that are defined on a hard drive.
  284. config BUSYBOX_CONFIG_FDISK_SUPPORT_LARGE_DISKS
  285. bool "Support over 4GB disks"
  286. default BUSYBOX_DEFAULT_FDISK_SUPPORT_LARGE_DISKS
  287. depends on BUSYBOX_CONFIG_FDISK
  288. depends on !BUSYBOX_CONFIG_LFS # with LFS no special code is needed
  289. help
  290. Enable this option to support large disks > 4GB.
  291. config BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
  292. bool "Write support"
  293. default BUSYBOX_DEFAULT_FEATURE_FDISK_WRITABLE
  294. depends on BUSYBOX_CONFIG_FDISK
  295. help
  296. Enabling this option allows you to create or change a partition table
  297. and write those changes out to disk. If you leave this option
  298. disabled, you will only be able to view the partition table.
  299. config BUSYBOX_CONFIG_FEATURE_AIX_LABEL
  300. bool "Support AIX disklabels"
  301. default BUSYBOX_DEFAULT_FEATURE_AIX_LABEL
  302. depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
  303. help
  304. Enabling this option allows you to create or change AIX disklabels.
  305. Most people can safely leave this option disabled.
  306. config BUSYBOX_CONFIG_FEATURE_SGI_LABEL
  307. bool "Support SGI disklabels"
  308. default BUSYBOX_DEFAULT_FEATURE_SGI_LABEL
  309. depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
  310. help
  311. Enabling this option allows you to create or change SGI disklabels.
  312. Most people can safely leave this option disabled.
  313. config BUSYBOX_CONFIG_FEATURE_SUN_LABEL
  314. bool "Support SUN disklabels"
  315. default BUSYBOX_DEFAULT_FEATURE_SUN_LABEL
  316. depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
  317. help
  318. Enabling this option allows you to create or change SUN disklabels.
  319. Most people can safely leave this option disabled.
  320. config BUSYBOX_CONFIG_FEATURE_OSF_LABEL
  321. bool "Support BSD disklabels"
  322. default BUSYBOX_DEFAULT_FEATURE_OSF_LABEL
  323. depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
  324. help
  325. Enabling this option allows you to create or change BSD disklabels
  326. and define and edit BSD disk slices.
  327. config BUSYBOX_CONFIG_FEATURE_GPT_LABEL
  328. bool "Support GPT disklabels"
  329. default BUSYBOX_DEFAULT_FEATURE_GPT_LABEL
  330. depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
  331. help
  332. Enabling this option allows you to view GUID Partition Table
  333. disklabels.
  334. config BUSYBOX_CONFIG_FEATURE_FDISK_ADVANCED
  335. bool "Support expert mode"
  336. default BUSYBOX_DEFAULT_FEATURE_FDISK_ADVANCED
  337. depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
  338. help
  339. Enabling this option allows you to do terribly unsafe things like
  340. define arbitrary drive geometry, move the beginning of data in a
  341. partition, and similarly evil things. Unless you have a very good
  342. reason you would be wise to leave this disabled.
  343. config BUSYBOX_CONFIG_FINDFS
  344. bool "findfs"
  345. default BUSYBOX_DEFAULT_FINDFS
  346. select BUSYBOX_CONFIG_PLATFORM_LINUX
  347. select BUSYBOX_CONFIG_VOLUMEID
  348. help
  349. Prints the name of a filesystem with given label or UUID.
  350. WARNING:
  351. With all submodules selected, it will add ~8k to busybox.
  352. config BUSYBOX_CONFIG_FLOCK
  353. bool "flock"
  354. default BUSYBOX_DEFAULT_FLOCK
  355. help
  356. Manage locks from shell scripts
  357. config BUSYBOX_CONFIG_FREERAMDISK
  358. bool "freeramdisk"
  359. default BUSYBOX_DEFAULT_FREERAMDISK
  360. select BUSYBOX_CONFIG_PLATFORM_LINUX
  361. help
  362. Linux allows you to create ramdisks. This utility allows you to
  363. delete them and completely free all memory that was used for the
  364. ramdisk. For example, if you boot Linux into a ramdisk and later
  365. pivot_root, you may want to free the memory that is allocated to the
  366. ramdisk. If you have no use for freeing memory from a ramdisk, leave
  367. this disabled.
  368. config BUSYBOX_CONFIG_FSCK_MINIX
  369. bool "fsck_minix"
  370. default BUSYBOX_DEFAULT_FSCK_MINIX
  371. help
  372. The minix filesystem is a nice, small, compact, read-write filesystem
  373. with little overhead. It is not a journaling filesystem however and
  374. can experience corruption if it is not properly unmounted or if the
  375. power goes off in the middle of a write. This utility allows you to
  376. check for and attempt to repair any corruption that occurs to a minix
  377. filesystem.
  378. config BUSYBOX_CONFIG_MKFS_EXT2
  379. bool "mkfs_ext2"
  380. default BUSYBOX_DEFAULT_MKFS_EXT2
  381. select BUSYBOX_CONFIG_PLATFORM_LINUX
  382. help
  383. Utility to create EXT2 filesystems.
  384. config BUSYBOX_CONFIG_MKFS_MINIX
  385. bool "mkfs_minix"
  386. default BUSYBOX_DEFAULT_MKFS_MINIX
  387. select BUSYBOX_CONFIG_PLATFORM_LINUX
  388. help
  389. The minix filesystem is a nice, small, compact, read-write filesystem
  390. with little overhead. If you wish to be able to create minix
  391. filesystems this utility will do the job for you.
  392. config BUSYBOX_CONFIG_FEATURE_MINIX2
  393. bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
  394. default BUSYBOX_DEFAULT_FEATURE_MINIX2
  395. depends on BUSYBOX_CONFIG_FSCK_MINIX || BUSYBOX_CONFIG_MKFS_MINIX
  396. help
  397. If you wish to be able to create version 2 minix filesystems, enable
  398. this. If you enabled 'mkfs_minix' then you almost certainly want to
  399. be using the version 2 filesystem support.
  400. config BUSYBOX_CONFIG_MKFS_REISER
  401. bool "mkfs_reiser"
  402. default BUSYBOX_DEFAULT_MKFS_REISER
  403. select BUSYBOX_CONFIG_PLATFORM_LINUX
  404. help
  405. Utility to create ReiserFS filesystems.
  406. Note: this applet needs a lot of testing and polishing.
  407. config BUSYBOX_CONFIG_MKFS_VFAT
  408. bool "mkfs_vfat"
  409. default BUSYBOX_DEFAULT_MKFS_VFAT
  410. select BUSYBOX_CONFIG_PLATFORM_LINUX
  411. help
  412. Utility to create FAT32 filesystems.
  413. config BUSYBOX_CONFIG_GETOPT
  414. bool "getopt"
  415. default BUSYBOX_DEFAULT_GETOPT
  416. help
  417. The getopt utility is used to break up (parse) options in command
  418. lines to make it easy to write complex shell scripts that also check
  419. for legal (and illegal) options. If you want to write horribly
  420. complex shell scripts, or use some horribly complex shell script
  421. written by others, this utility may be for you. Most people will
  422. wisely leave this disabled.
  423. config BUSYBOX_CONFIG_FEATURE_GETOPT_LONG
  424. bool "Support option -l"
  425. default BUSYBOX_DEFAULT_FEATURE_GETOPT_LONG if BUSYBOX_CONFIG_LONG_OPTS
  426. depends on BUSYBOX_CONFIG_GETOPT
  427. help
  428. Enable support for long options (option -l).
  429. config BUSYBOX_CONFIG_HEXDUMP
  430. bool "hexdump"
  431. default BUSYBOX_DEFAULT_HEXDUMP
  432. help
  433. The hexdump utility is used to display binary data in a readable
  434. way that is comparable to the output from most hex editors.
  435. config BUSYBOX_CONFIG_FEATURE_HEXDUMP_REVERSE
  436. bool "Support -R, reverse of 'hexdump -Cv'"
  437. default BUSYBOX_DEFAULT_FEATURE_HEXDUMP_REVERSE
  438. depends on BUSYBOX_CONFIG_HEXDUMP
  439. help
  440. The hexdump utility is used to display binary data in an ascii
  441. readable way. This option creates binary data from an ascii input.
  442. NB: this option is non-standard. It's unwise to use it in scripts
  443. aimed to be portable.
  444. config BUSYBOX_CONFIG_HD
  445. bool "hd"
  446. default BUSYBOX_DEFAULT_HD
  447. depends on BUSYBOX_CONFIG_HEXDUMP
  448. help
  449. hd is an alias to hexdump -C.
  450. config BUSYBOX_CONFIG_HWCLOCK
  451. bool "hwclock"
  452. default BUSYBOX_DEFAULT_HWCLOCK
  453. select BUSYBOX_CONFIG_PLATFORM_LINUX
  454. help
  455. The hwclock utility is used to read and set the hardware clock
  456. on a system. This is primarily used to set the current time on
  457. shutdown in the hardware clock, so the hardware will keep the
  458. correct time when Linux is _not_ running.
  459. config BUSYBOX_CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS
  460. bool "Support long options (--hctosys,...)"
  461. default BUSYBOX_DEFAULT_FEATURE_HWCLOCK_LONG_OPTIONS
  462. depends on BUSYBOX_CONFIG_HWCLOCK && BUSYBOX_CONFIG_LONG_OPTS
  463. help
  464. By default, the hwclock utility only uses short options. If you
  465. are overly fond of its long options, such as --hctosys, --utc, etc)
  466. then enable this option.
  467. config BUSYBOX_CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS
  468. bool "Use FHS /var/lib/hwclock/adjtime"
  469. default BUSYBOX_DEFAULT_FEATURE_HWCLOCK_ADJTIME_FHS # util-linux-ng in Fedora 13 still uses /etc/adjtime
  470. depends on BUSYBOX_CONFIG_HWCLOCK
  471. help
  472. Starting with FHS 2.3, the adjtime state file is supposed to exist
  473. at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
  474. to use the FHS behavior, answer Y here, otherwise answer N for the
  475. classic /etc/adjtime path.
  476. pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
  477. config BUSYBOX_CONFIG_IPCRM
  478. bool "ipcrm"
  479. default BUSYBOX_DEFAULT_IPCRM
  480. help
  481. The ipcrm utility allows the removal of System V interprocess
  482. communication (IPC) objects and the associated data structures
  483. from the system.
  484. config BUSYBOX_CONFIG_IPCS
  485. bool "ipcs"
  486. default BUSYBOX_DEFAULT_IPCS
  487. select BUSYBOX_CONFIG_PLATFORM_LINUX
  488. help
  489. The ipcs utility is used to provide information on the currently
  490. allocated System V interprocess (IPC) objects in the system.
  491. config BUSYBOX_CONFIG_LOSETUP
  492. bool "losetup"
  493. default BUSYBOX_DEFAULT_LOSETUP
  494. select BUSYBOX_CONFIG_PLATFORM_LINUX
  495. help
  496. losetup is used to associate or detach a loop device with a regular
  497. file or block device, and to query the status of a loop device. This
  498. version does not currently support enabling data encryption.
  499. config BUSYBOX_CONFIG_LSPCI
  500. bool "lspci"
  501. default BUSYBOX_DEFAULT_LSPCI
  502. #select PLATFORM_LINUX
  503. help
  504. lspci is a utility for displaying information about PCI buses in the
  505. system and devices connected to them.
  506. This version uses sysfs (/sys/bus/pci/devices) only.
  507. config BUSYBOX_CONFIG_LSUSB
  508. bool "lsusb"
  509. default BUSYBOX_DEFAULT_LSUSB
  510. #select PLATFORM_LINUX
  511. help
  512. lsusb is a utility for displaying information about USB buses in the
  513. system and devices connected to them.
  514. This version uses sysfs (/sys/bus/usb/devices) only.
  515. config BUSYBOX_CONFIG_MKSWAP
  516. bool "mkswap"
  517. default BUSYBOX_DEFAULT_MKSWAP
  518. help
  519. The mkswap utility is used to configure a file or disk partition as
  520. Linux swap space. This allows Linux to use the entire file or
  521. partition as if it were additional RAM, which can greatly increase
  522. the capability of low-memory machines. This additional memory is
  523. much slower than real RAM, but can be very helpful at preventing your
  524. applications being killed by the Linux out of memory (OOM) killer.
  525. Once you have created swap space using 'mkswap' you need to enable
  526. the swap space using the 'swapon' utility.
  527. config BUSYBOX_CONFIG_FEATURE_MKSWAP_UUID
  528. bool "UUID support"
  529. default BUSYBOX_DEFAULT_FEATURE_MKSWAP_UUID
  530. depends on BUSYBOX_CONFIG_MKSWAP
  531. help
  532. Generate swap spaces with universally unique identifiers.
  533. config BUSYBOX_CONFIG_MORE
  534. bool "more"
  535. default BUSYBOX_DEFAULT_MORE
  536. help
  537. more is a simple utility which allows you to read text one screen
  538. sized page at a time. If you want to read text that is larger than
  539. the screen, and you are using anything faster than a 300 baud modem,
  540. you will probably find this utility very helpful. If you don't have
  541. any need to reading text files, you can leave this disabled.
  542. config BUSYBOX_CONFIG_PIVOT_ROOT
  543. bool "pivot_root"
  544. default BUSYBOX_DEFAULT_PIVOT_ROOT
  545. select BUSYBOX_CONFIG_PLATFORM_LINUX
  546. help
  547. The pivot_root utility swaps the mount points for the root filesystem
  548. with some other mounted filesystem. This allows you to do all sorts
  549. of wild and crazy things with your Linux system and is far more
  550. powerful than 'chroot'.
  551. Note: This is for initrd in linux 2.4. Under initramfs (introduced
  552. in linux 2.6) use switch_root instead.
  553. config BUSYBOX_CONFIG_RDATE
  554. bool "rdate"
  555. default BUSYBOX_DEFAULT_RDATE
  556. help
  557. The rdate utility allows you to synchronize the date and time of your
  558. system clock with the date and time of a remote networked system using
  559. the RFC868 protocol, which is built into the inetd daemon on most
  560. systems.
  561. config BUSYBOX_CONFIG_RDEV
  562. bool "rdev"
  563. default BUSYBOX_DEFAULT_RDEV
  564. help
  565. Print the device node associated with the filesystem mounted at '/'.
  566. config BUSYBOX_CONFIG_READPROFILE
  567. bool "readprofile"
  568. default BUSYBOX_DEFAULT_READPROFILE
  569. #select PLATFORM_LINUX
  570. help
  571. This allows you to parse /proc/profile for basic profiling.
  572. config BUSYBOX_CONFIG_RTCWAKE
  573. bool "rtcwake"
  574. default BUSYBOX_DEFAULT_RTCWAKE
  575. select BUSYBOX_CONFIG_PLATFORM_LINUX
  576. help
  577. Enter a system sleep state until specified wakeup time.
  578. config BUSYBOX_CONFIG_SCRIPT
  579. bool "script"
  580. default BUSYBOX_DEFAULT_SCRIPT
  581. help
  582. The script makes typescript of terminal session.
  583. config BUSYBOX_CONFIG_SCRIPTREPLAY
  584. bool "scriptreplay"
  585. default BUSYBOX_DEFAULT_SCRIPTREPLAY
  586. help
  587. This program replays a typescript, using timing information
  588. given by script -t.
  589. config BUSYBOX_CONFIG_SETARCH
  590. bool "setarch"
  591. default BUSYBOX_DEFAULT_SETARCH
  592. select BUSYBOX_CONFIG_PLATFORM_LINUX
  593. help
  594. The linux32 utility is used to create a 32bit environment for the
  595. specified program (usually a shell). It only makes sense to have
  596. this util on a system that supports both 64bit and 32bit userland
  597. (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
  598. config BUSYBOX_CONFIG_SWAPONOFF
  599. bool "swaponoff"
  600. default BUSYBOX_DEFAULT_SWAPONOFF
  601. select BUSYBOX_CONFIG_PLATFORM_LINUX
  602. help
  603. This option enables both the 'swapon' and the 'swapoff' utilities.
  604. Once you have created some swap space using 'mkswap', you also need
  605. to enable your swap space with the 'swapon' utility. The 'swapoff'
  606. utility is used, typically at system shutdown, to disable any swap
  607. space. If you are not using any swap space, you can leave this
  608. option disabled.
  609. config BUSYBOX_CONFIG_FEATURE_SWAPON_DISCARD
  610. bool "Support discard option -d"
  611. default BUSYBOX_DEFAULT_FEATURE_SWAPON_DISCARD
  612. depends on BUSYBOX_CONFIG_SWAPONOFF
  613. help
  614. Enable support for discarding swap area blocks at swapon and/or as
  615. the kernel frees them. This option enables both the -d option on
  616. 'swapon' and the 'discard' option for swap entries in /etc/fstab.
  617. config BUSYBOX_CONFIG_FEATURE_SWAPON_PRI
  618. bool "Support priority option -p"
  619. default BUSYBOX_DEFAULT_FEATURE_SWAPON_PRI
  620. depends on BUSYBOX_CONFIG_SWAPONOFF
  621. help
  622. Enable support for setting swap device priority in swapon.
  623. config BUSYBOX_CONFIG_SWITCH_ROOT
  624. bool "switch_root"
  625. default BUSYBOX_DEFAULT_SWITCH_ROOT
  626. select BUSYBOX_CONFIG_PLATFORM_LINUX
  627. help
  628. The switch_root utility is used from initramfs to select a new
  629. root device. Under initramfs, you have to use this instead of
  630. pivot_root. (Stop reading here if you don't care why.)
  631. Booting with initramfs extracts a gzipped cpio archive into rootfs
  632. (which is a variant of ramfs/tmpfs). Because rootfs can't be moved
  633. or unmounted*, pivot_root will not work from initramfs. Instead,
  634. switch_root deletes everything out of rootfs (including itself),
  635. does a mount --move that overmounts rootfs with the new root, and
  636. then execs the specified init program.
  637. * Because the Linux kernel uses rootfs internally as the starting
  638. and ending point for searching through the kernel's doubly linked
  639. list of active mount points. That's why.
  640. config BUSYBOX_CONFIG_UMOUNT
  641. bool "umount"
  642. default BUSYBOX_DEFAULT_UMOUNT
  643. select BUSYBOX_CONFIG_PLATFORM_LINUX
  644. help
  645. When you want to remove a mounted filesystem from its current mount
  646. point, for example when you are shutting down the system, the
  647. 'umount' utility is the tool to use. If you enabled the 'mount'
  648. utility, you almost certainly also want to enable 'umount'.
  649. config BUSYBOX_CONFIG_FEATURE_UMOUNT_ALL
  650. bool "Support option -a"
  651. default BUSYBOX_DEFAULT_FEATURE_UMOUNT_ALL
  652. depends on BUSYBOX_CONFIG_UMOUNT
  653. help
  654. Support -a option to unmount all currently mounted filesystems.
  655. comment "Common options for mount/umount"
  656. depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
  657. config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP
  658. bool "Support loopback mounts"
  659. default BUSYBOX_DEFAULT_FEATURE_MOUNT_LOOP
  660. depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
  661. help
  662. Enabling this feature allows automatic mounting of files (containing
  663. filesystem images) via the linux kernel's loopback devices.
  664. The mount command will detect you are trying to mount a file instead
  665. of a block device, and transparently associate the file with a
  666. loopback device. The umount command will also free that loopback
  667. device.
  668. You can still use the 'losetup' utility (to manually associate files
  669. with loop devices) if you need to do something advanced, such as
  670. specify an offset or cryptographic options to the loopback device.
  671. (If you don't want umount to free the loop device, use "umount -D".)
  672. config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP_CREATE
  673. bool "Create new loopback devices if needed"
  674. default BUSYBOX_DEFAULT_FEATURE_MOUNT_LOOP_CREATE
  675. depends on BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP
  676. help
  677. Linux kernels >= 2.6.24 support unlimited loopback devices. They are
  678. allocated for use when trying to use a loop device. The loop device
  679. must however exist.
  680. This feature lets mount to try to create next /dev/loopN device
  681. if it does not find a free one.
  682. config BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT
  683. bool "Support for the old /etc/mtab file"
  684. default BUSYBOX_DEFAULT_FEATURE_MTAB_SUPPORT
  685. depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
  686. select BUSYBOX_CONFIG_FEATURE_MOUNT_FAKE
  687. help
  688. Historically, Unix systems kept track of the currently mounted
  689. partitions in the file "/etc/mtab". These days, the kernel exports
  690. the list of currently mounted partitions in "/proc/mounts", rendering
  691. the old mtab file obsolete. (In modern systems, /etc/mtab should be
  692. a symlink to /proc/mounts.)
  693. The only reason to have mount maintain an /etc/mtab file itself is if
  694. your stripped-down embedded system does not have a /proc directory.
  695. If you must use this, keep in mind it's inherently brittle (for
  696. example a mount under chroot won't update it), can't handle modern
  697. features like separate per-process filesystem namespaces, requires
  698. that your /etc directory be writable, tends to get easily confused
  699. by --bind or --move mounts, won't update if you rename a directory
  700. that contains a mount point, and so on. (In brief: avoid.)
  701. About the only reason to use this is if you've removed /proc from
  702. your kernel.
  703. source volume_id/Config.in
  704. endmenu