Config.in 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. menu "Linux System Utilities"
  6. config BUSYBOX_CONFIG_DMESG
  7. bool "dmesg"
  8. default y
  9. help
  10. dmesg is used to examine or control the kernel ring buffer. When the
  11. Linux kernel prints messages to the system log, they are stored in
  12. the kernel ring buffer. You can use dmesg to print the kernel's ring
  13. buffer, clear the kernel ring buffer, change the size of the kernel
  14. ring buffer, and change the priority level at which kernel messages
  15. are also logged to the system console. Enable this option if you
  16. wish to enable the 'dmesg' utility.
  17. config BUSYBOX_CONFIG_FEATURE_DMESG_PRETTY
  18. bool "pretty dmesg output"
  19. default y
  20. depends on BUSYBOX_CONFIG_DMESG
  21. help
  22. If you wish to scrub the syslog level from the output, say 'Y' here.
  23. The syslog level is a string prefixed to every line with the form "<#>".
  24. With this option you will see:
  25. # dmesg
  26. Linux version 2.6.17.4 .....
  27. BIOS-provided physical RAM map:
  28. BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
  29. Without this option you will see:
  30. # dmesg
  31. <5>Linux version 2.6.17.4 .....
  32. <6>BIOS-provided physical RAM map:
  33. <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
  34. config BUSYBOX_CONFIG_FBSET
  35. bool "fbset"
  36. default n
  37. help
  38. fbset is used to show or change the settings of a Linux frame buffer
  39. device. The frame buffer device provides a simple and unique
  40. interface to access a graphics display. Enable this option
  41. if you wish to enable the 'fbset' utility.
  42. config BUSYBOX_CONFIG_FEATURE_FBSET_FANCY
  43. bool "Turn on extra fbset options"
  44. default n
  45. depends on BUSYBOX_CONFIG_FBSET
  46. help
  47. This option enables extended fbset options, allowing one to set the
  48. framebuffer size, color depth, etc. interface to access a graphics
  49. display. Enable this option if you wish to enable extended fbset
  50. options.
  51. config BUSYBOX_CONFIG_FEATURE_FBSET_READMODE
  52. bool "Turn on fbset readmode support"
  53. default n
  54. depends on BUSYBOX_CONFIG_FBSET
  55. help
  56. This option allows fbset to read the video mode database stored by
  57. default n /etc/fb.modes, which can be used to set frame buffer
  58. device to pre-defined video modes.
  59. config BUSYBOX_CONFIG_FDFLUSH
  60. bool "fdflush"
  61. default n
  62. help
  63. fdflush is only needed when changing media on slightly-broken
  64. removable media drives. It is used to make Linux believe that a
  65. hardware disk-change switch has been actuated, which causes Linux to
  66. forget anything it has cached from the previous media. If you have
  67. such a slightly-broken drive, you will need to run fdflush every time
  68. you change a disk. Most people have working hardware and can safely
  69. leave this disabled.
  70. config BUSYBOX_CONFIG_FDFORMAT
  71. bool "fdformat"
  72. default n
  73. help
  74. fdformat is used to low-level format a floppy disk.
  75. config BUSYBOX_CONFIG_FDISK
  76. bool "fdisk"
  77. default n
  78. help
  79. The fdisk utility is used to divide hard disks into one or more
  80. logical disks, which are generally called partitions. This utility
  81. can be used to list and edit the set of partitions or BSD style
  82. 'disk slices' that are defined on a hard drive.
  83. config BUSYBOX_CONFIG_FDISK_SUPPORT_LARGE_DISKS
  84. bool "support over 4GB disks"
  85. default y
  86. depends on BUSYBOX_CONFIG_FDISK
  87. help
  88. Enable this option to support large disks > 4GB.
  89. config BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
  90. bool "Write support"
  91. default n
  92. depends on BUSYBOX_CONFIG_FDISK
  93. help
  94. Enabling this option allows you to create or change a partition table
  95. and write those changes out to disk. If you leave this option
  96. disabled, you will only be able to view the partition table.
  97. config BUSYBOX_CONFIG_FEATURE_AIX_LABEL
  98. bool "Support AIX disklabels"
  99. default n
  100. depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
  101. help
  102. Enabling this option allows you to create or change AIX disklabels.
  103. Most people can safely leave this option disabled.
  104. config BUSYBOX_CONFIG_FEATURE_SGI_LABEL
  105. bool "Support SGI disklabels"
  106. default n
  107. depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
  108. help
  109. Enabling this option allows you to create or change SGI disklabels.
  110. Most people can safely leave this option disabled.
  111. config BUSYBOX_CONFIG_FEATURE_SUN_LABEL
  112. bool "Support SUN disklabels"
  113. default n
  114. depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
  115. help
  116. Enabling this option allows you to create or change SUN disklabels.
  117. Most people can safely leave this option disabled.
  118. config BUSYBOX_CONFIG_FEATURE_OSF_LABEL
  119. bool "Support BSD disklabels"
  120. default n
  121. depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
  122. help
  123. Enabling this option allows you to create or change BSD disklabels
  124. and define and edit BSD disk slices.
  125. config BUSYBOX_CONFIG_FEATURE_FDISK_ADVANCED
  126. bool "Support expert mode"
  127. default n
  128. depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE
  129. help
  130. Enabling this option allows you to do terribly unsafe things like
  131. define arbitrary drive geometry, move the beginning of data in a
  132. partition, and similarly evil things. Unless you have a very good
  133. reason you would be wise to leave this disabled.
  134. config BUSYBOX_CONFIG_FREERAMDISK
  135. bool "freeramdisk"
  136. default n
  137. help
  138. Linux allows you to create ramdisks. This utility allows you to
  139. delete them and completely free all memory that was used for the
  140. ramdisk. For example, if you boot Linux into a ramdisk and later
  141. pivot_root, you may want to free the memory that is allocated to the
  142. ramdisk. If you have no use for freeing memory from a ramdisk, leave
  143. this disabled.
  144. config BUSYBOX_CONFIG_FSCK_MINIX
  145. bool "fsck_minix"
  146. default n
  147. help
  148. The minix filesystem is a nice, small, compact, read-write filesystem
  149. with little overhead. It is not a journaling filesystem however and
  150. can experience corruption if it is not properly unmounted or if the
  151. power goes off in the middle of a write. This utility allows you to
  152. check for and attempt to repair any corruption that occurs to a minix
  153. filesystem.
  154. config BUSYBOX_CONFIG_MKFS_MINIX
  155. bool "mkfs_minix"
  156. default n
  157. help
  158. The minix filesystem is a nice, small, compact, read-write filesystem
  159. with little overhead. If you wish to be able to create minix filesystems
  160. this utility will do the job for you.
  161. comment "Minix filesystem support"
  162. depends on BUSYBOX_CONFIG_FSCK_MINIX || BUSYBOX_CONFIG_MKFS_MINIX
  163. config BUSYBOX_CONFIG_FEATURE_MINIX2
  164. bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
  165. default n
  166. depends on BUSYBOX_CONFIG_FSCK_MINIX || BUSYBOX_CONFIG_MKFS_MINIX
  167. help
  168. If you wish to be able to create version 2 minix filesystems, enable this.
  169. If you enabled 'mkfs_minix' then you almost certainly want to be using the
  170. version 2 filesystem support.
  171. config BUSYBOX_CONFIG_GETOPT
  172. bool "getopt"
  173. default n
  174. help
  175. The getopt utility is used to break up (parse) options in command
  176. lines to make it easy to write complex shell scripts that also check
  177. for legal (and illegal) options. If you want to write horribly
  178. complex shell scripts, or use some horribly complex shell script
  179. written by others, this utility may be for you. Most people will
  180. wisely leave this disabled.
  181. config BUSYBOX_CONFIG_HEXDUMP
  182. bool "hexdump"
  183. default y
  184. help
  185. The hexdump utility is used to display binary data in a readable
  186. way that is comparable to the output from most hex editors.
  187. config BUSYBOX_CONFIG_HWCLOCK
  188. bool "hwclock"
  189. default y
  190. help
  191. The hwclock utility is used to read and set the hardware clock
  192. on a system. This is primarily used to set the current time on
  193. shutdown in the hardware clock, so the hardware will keep the
  194. correct time when Linux is _not_ running.
  195. config BUSYBOX_CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS
  196. bool "Support long options (--hctosys,...)"
  197. default n
  198. depends on BUSYBOX_CONFIG_HWCLOCK && BUSYBOX_CONFIG_GETOPT_LONG
  199. help
  200. By default, the hwclock utility only uses short options. If you
  201. are overly fond of its long options, such as --hctosys, --utc, etc)
  202. then enable this option.
  203. config BUSYBOX_CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS
  204. bool "Use FHS /var/lib/hwclock/adjtime"
  205. default n
  206. depends on BUSYBOX_CONFIG_HWCLOCK
  207. help
  208. Starting with FHS 2.3, the adjtime state file is supposed to exist
  209. at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
  210. to use the FHS behavior, answer Y here, otherwise answer N for the
  211. classic /etc/adjtime path.
  212. http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
  213. config BUSYBOX_CONFIG_IPCRM
  214. bool "ipcrm"
  215. default n
  216. select BUSYBOX_CONFIG_FEATURE_SUID
  217. help
  218. The ipcrm utility allows the removal of System V interprocess
  219. communication (IPC) objects and the associated data structures
  220. from the system.
  221. config BUSYBOX_CONFIG_IPCS
  222. bool "ipcs"
  223. default n
  224. select BUSYBOX_CONFIG_FEATURE_SUID
  225. help
  226. The ipcs utility is used to provide information on the currently
  227. allocated System V interprocess (IPC) objects in the system.
  228. config BUSYBOX_CONFIG_LOSETUP
  229. bool "losetup"
  230. default n
  231. help
  232. losetup is used to associate or detach a loop device with a regular
  233. file or block device, and to query the status of a loop device. This
  234. version does not currently support enabling data encryption.
  235. config BUSYBOX_CONFIG_MDEV
  236. bool "mdev"
  237. default n
  238. help
  239. mdev is a mini-udev implementation for dynamically creating device
  240. nodes in the /dev directory.
  241. For more information, please see docs/mdev.txt
  242. config BUSYBOX_CONFIG_FEATURE_MDEV_CONF
  243. bool "Support /etc/mdev.conf"
  244. default n
  245. depends on BUSYBOX_CONFIG_MDEV
  246. help
  247. Add support for the mdev config file to control ownership and
  248. permissions of the device nodes.
  249. For more information, please see docs/mdev.txt
  250. config BUSYBOX_CONFIG_FEATURE_MDEV_EXEC
  251. bool "Support command execution at device addition/removal"
  252. default n
  253. depends on BUSYBOX_CONFIG_FEATURE_MDEV_CONF
  254. help
  255. This adds support for an optional field to /etc/mdev.conf for
  256. executing commands when devices are created/removed.
  257. For more information, please see docs/mdev.txt
  258. config BUSYBOX_CONFIG_FEATURE_MDEV_LOAD_FIRMWARE
  259. bool "Support loading of firmwares"
  260. default n
  261. depends on BUSYBOX_CONFIG_MDEV
  262. help
  263. Some devices need to load firmware before they can be usable.
  264. These devices will request userspace look up the files in
  265. /lib/firmware/ and if it exists, send it to the kernel for
  266. loading into the hardware.
  267. config BUSYBOX_CONFIG_MKSWAP
  268. bool "mkswap"
  269. default n
  270. help
  271. The mkswap utility is used to configure a file or disk partition as
  272. Linux swap space. This allows Linux to use the entire file or
  273. partition as if it were additional RAM, which can greatly increase
  274. the capability of low-memory machines. This additional memory is
  275. much slower than real RAM, but can be very helpful at preventing your
  276. applications being killed by the Linux out of memory (OOM) killer.
  277. Once you have created swap space using 'mkswap' you need to enable
  278. the swap space using the 'swapon' utility.
  279. config BUSYBOX_CONFIG_FEATURE_MKSWAP_V0
  280. bool "version 0 support"
  281. default n
  282. depends on BUSYBOX_CONFIG_MKSWAP
  283. # depends on MKSWAP && BUSYBOX_CONFIG_DEPRECATED
  284. help
  285. Enable support for the old v0 style.
  286. If your kernel is older than 2.1.117, then v0 support is the
  287. only option.
  288. config BUSYBOX_CONFIG_MORE
  289. bool "more"
  290. default n
  291. help
  292. more is a simple utility which allows you to read text one screen
  293. sized page at a time. If you want to read text that is larger than
  294. the screen, and you are using anything faster than a 300 baud modem,
  295. you will probably find this utility very helpful. If you don't have
  296. any need to reading text files, you can leave this disabled.
  297. config BUSYBOX_CONFIG_FEATURE_USE_TERMIOS
  298. bool "Use termios to manipulate the screen"
  299. default n
  300. depends on BUSYBOX_CONFIG_MORE
  301. help
  302. This option allows utilities such as 'more' and 'top' to determine
  303. the size of the screen. If you leave this disabled, your utilities
  304. that display things on the screen will be especially primitive and
  305. will be unable to determine the current screen size, and will be
  306. unable to move the cursor.
  307. config BUSYBOX_CONFIG_MOUNT
  308. bool "mount"
  309. default y
  310. help
  311. All files and filesystems in Unix are arranged into one big directory
  312. tree. The 'mount' utility is used to graft a filesystem onto a
  313. particular part of the tree. A filesystem can either live on a block
  314. device, or it can be accessible over the network, as is the case with
  315. NFS filesystems. Most people using BusyBox will also want to enable
  316. the 'mount' utility.
  317. config BUSYBOX_CONFIG_FEATURE_MOUNT_HELPERS
  318. bool "Support mount helpers"
  319. default n
  320. depends on BUSYBOX_CONFIG_MOUNT
  321. help
  322. Enable mounting of virtual file systems via external helpers.
  323. E.g. mount obexfs#-b00.11.22.33.44.55 /mnt will in effect call
  324. obexfs -b00.11.22.33.44.55 /mnt
  325. The idea is to use such virtual filesystems in /etc/fstab
  326. config BUSYBOX_CONFIG_FEATURE_MOUNT_NFS
  327. bool "Support mounting NFS file systems"
  328. default y
  329. depends on BUSYBOX_CONFIG_MOUNT
  330. select BUSYBOX_CONFIG_FEATURE_HAVE_RPC
  331. select BUSYBOX_CONFIG_FEATURE_SYSLOG
  332. help
  333. Enable mounting of NFS file systems.
  334. config BUSYBOX_CONFIG_FEATURE_MOUNT_CIFS
  335. bool "Support mounting CIFS/SMB file systems"
  336. default y
  337. depends on BUSYBOX_CONFIG_MOUNT
  338. help
  339. Enable support for samba mounts.
  340. config BUSYBOX_CONFIG_FEATURE_MOUNT_FLAGS
  341. depends on BUSYBOX_CONFIG_MOUNT
  342. bool "Support lots of -o flags in mount"
  343. default y
  344. help
  345. Without this, mount only supports ro/rw/remount. With this, it
  346. supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
  347. noatime, diratime, nodiratime, loud, bind, move, shared, slave,
  348. private, unbindable, rshared, rslave, rprivate, and runbindable.
  349. config BUSYBOX_CONFIG_FEATURE_MOUNT_FSTAB
  350. depends on BUSYBOX_CONFIG_MOUNT
  351. bool "Support /etc/fstab and -a"
  352. default y
  353. help
  354. Support mount all and looking for files in /etc/fstab.
  355. config BUSYBOX_CONFIG_PIVOT_ROOT
  356. bool "pivot_root"
  357. default y
  358. help
  359. The pivot_root utility swaps the mount points for the root filesystem
  360. with some other mounted filesystem. This allows you to do all sorts
  361. of wild and crazy things with your Linux system and is far more
  362. powerful than 'chroot'.
  363. Note: This is for initrd in linux 2.4. Under initramfs (introduced
  364. in linux 2.6) use switch_root instead.
  365. config BUSYBOX_CONFIG_RDATE
  366. bool "rdate"
  367. default y
  368. help
  369. The rdate utility allows you to synchronize the date and time of your
  370. system clock with the date and time of a remote networked system using
  371. the RFC868 protocol, which is built into the inetd daemon on most
  372. systems.
  373. config BUSYBOX_CONFIG_READPROFILE
  374. bool "readprofile"
  375. default n
  376. help
  377. This allows you to parse /proc/profile for basic profiling.
  378. config BUSYBOX_CONFIG_SETARCH
  379. bool "setarch"
  380. default n
  381. help
  382. The linux32 utility is used to create a 32bit environment for the
  383. specified program (usually a shell). It only makes sense to have
  384. this util on a system that supports both 64bit and 32bit userland
  385. (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
  386. config BUSYBOX_CONFIG_SWAPONOFF
  387. bool "swaponoff"
  388. default n
  389. help
  390. This option enables both the 'swapon' and the 'swapoff' utilities.
  391. Once you have created some swap space using 'mkswap', you also need
  392. to enable your swap space with the 'swapon' utility. The 'swapoff'
  393. utility is used, typically at system shutdown, to disable any swap
  394. space. If you are not using any swap space, you can leave this
  395. option disabled.
  396. config BUSYBOX_CONFIG_SWITCH_ROOT
  397. bool "switch_root"
  398. default y
  399. help
  400. The switch_root utility is used from initramfs to select a new
  401. root device. Under initramfs, you have to use this instead of
  402. pivot_root. (Stop reading here if you don't care why.)
  403. Booting with initramfs extracts a gzipped cpio archive into rootfs
  404. (which is a variant of ramfs/tmpfs). Because rootfs can't be moved
  405. or unmounted*, pivot_root will not work from initramfs. Instead,
  406. switch_root deletes everything out of rootfs (including itself),
  407. does a mount --move that overmounts rootfs with the new root, and
  408. then execs the specified init program.
  409. * Because the Linux kernel uses rootfs internally as the starting
  410. and ending point for searching through the kernel's doubly linked
  411. list of active mount points. That's why.
  412. config BUSYBOX_CONFIG_UMOUNT
  413. bool "umount"
  414. default y
  415. help
  416. When you want to remove a mounted filesystem from its current mount point,
  417. for example when you are shutting down the system, the 'umount' utility is
  418. the tool to use. If you enabled the 'mount' utility, you almost certainly
  419. also want to enable 'umount'.
  420. config BUSYBOX_CONFIG_FEATURE_UMOUNT_ALL
  421. bool "umount -a option"
  422. default y
  423. depends on BUSYBOX_CONFIG_UMOUNT
  424. help
  425. Support -a option to unmount all currently mounted filesystems.
  426. comment "Common options for mount/umount"
  427. depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
  428. config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP
  429. bool "Support loopback mounts"
  430. default y
  431. depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
  432. help
  433. Enabling this feature allows automatic mounting of files (containing
  434. filesystem images) via the linux kernel's loopback devices. The mount
  435. command will detect you are trying to mount a file instead of a block
  436. device, and transparently associate the file with a loopback device.
  437. The umount command will also free that loopback device.
  438. You can still use the 'losetup' utility (to manually associate files
  439. with loop devices) if you need to do something advanced, such as
  440. specify an offset or cryptographic options to the loopback device.
  441. (If you don't want umount to free the loop device, use "umount -D".)
  442. config BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT
  443. bool "Support for the old /etc/mtab file"
  444. default n
  445. depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
  446. help
  447. Historically, Unix systems kept track of the currently mounted
  448. partitions in the file "/etc/mtab". These days, the kernel exports
  449. the list of currently mounted partitions in "/proc/mounts", rendering
  450. the old mtab file obsolete. (In modern systems, /etc/mtab should be
  451. a symlink to /proc/mounts.)
  452. The only reason to have mount maintain an /etc/mtab file itself is if
  453. your stripped-down embedded system does not have a /proc directory.
  454. If you must use this, keep in mind it's inherently brittle (for
  455. example a mount under chroot won't update it), can't handle modern
  456. features like separate per-process filesystem namespaces, requires
  457. that your /etc directory be writeable, tends to get easily confused
  458. by --bind or --move mounts, won't update if you rename a directory
  459. that contains a mount point, and so on. (In brief: avoid.)
  460. About the only reason to use this is if you've removed /proc from
  461. your kernel.
  462. endmenu