Config.in 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  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 DMESG
  7. bool "dmesg"
  8. default n
  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 FEATURE_DMESG_PRETTY
  18. bool "pretty dmesg output"
  19. default y
  20. depends on 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 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 FEATURE_FBSET_FANCY
  43. bool "Turn on extra fbset options"
  44. default n
  45. depends on 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 FEATURE_FBSET_READMODE
  52. bool "Turn on fbset readmode support"
  53. default n
  54. depends on FBSET
  55. help
  56. This option allows fbset to read the video mode database stored by
  57. default as /etc/fb.modes, which can be used to set frame buffer
  58. device to pre-defined video modes.
  59. 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 FDFORMAT
  71. bool "fdformat"
  72. default n
  73. help
  74. fdformat is used to low-level format a floppy disk.
  75. 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 FDISK_SUPPORT_LARGE_DISKS
  84. bool "support over 4GB disks"
  85. default y
  86. depends on FDISK
  87. help
  88. Enable this option to support large disks > 4GB.
  89. config FEATURE_FDISK_WRITABLE
  90. bool "Write support"
  91. default y
  92. depends on 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 FEATURE_AIX_LABEL
  98. bool "Support AIX disklabels"
  99. default n
  100. depends on FDISK && 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 FEATURE_SGI_LABEL
  105. bool "Support SGI disklabels"
  106. default n
  107. depends on FDISK && 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 FEATURE_SUN_LABEL
  112. bool "Support SUN disklabels"
  113. default n
  114. depends on FDISK && 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 FEATURE_OSF_LABEL
  119. bool "Support BSD disklabels"
  120. default n
  121. depends on FDISK && 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 FEATURE_FDISK_ADVANCED
  126. bool "Support expert mode"
  127. default n
  128. depends on FDISK && 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 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 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 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 FSCK_MINIX || MKFS_MINIX
  163. config FEATURE_MINIX2
  164. bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
  165. default y
  166. depends on FSCK_MINIX || 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 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 HEXDUMP
  182. bool "hexdump"
  183. default n
  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 HWCLOCK
  188. bool "hwclock"
  189. default n
  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 FEATURE_HWCLOCK_LONG_OPTIONS
  196. bool "Support long options (--hctosys,...)"
  197. default n
  198. depends on HWCLOCK && 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 FEATURE_HWCLOCK_ADJTIME_FHS
  204. bool "Use FHS /var/lib/hwclock/adjtime"
  205. default y
  206. depends on 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 IPCRM
  214. bool "ipcrm"
  215. default n
  216. select 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 IPCS
  222. bool "ipcs"
  223. default n
  224. select 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 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 MDEV
  236. bool "mdev"
  237. default n
  238. help
  239. mdev is a mini-udev implementation: call it with -s to populate
  240. /dev from /sys, then "echo /sbin/mdev > /proc/sys/kernel/hotplug" to
  241. have it handle hotplug events afterwards. Device names are taken
  242. from sysfs.
  243. config FEATURE_MDEV_CONF
  244. bool "Support /etc/mdev.conf"
  245. default n
  246. depends on MDEV
  247. help
  248. The mdev config file contains lines that look like:
  249. hd[a-z][0-9]* 0:3 660
  250. That's device name (with regex match), uid:gid, and permissions.
  251. Config file parsing stops on the first matching line. If no config
  252. entry is matched, devices are created with default 0:0 660. (Make
  253. the last line match .* to override this.)
  254. config FEATURE_MDEV_EXEC
  255. bool "Support command execution at device addition/removal"
  256. default n
  257. depends on FEATURE_MDEV_CONF
  258. help
  259. This adds support for an optional field to /etc/mdev.conf, consisting
  260. of a special character and a command line to run after creating the
  261. corresponding device(s) and before removing, ala:
  262. hdc root:cdrom 660 *ln -s $MDEV cdrom
  263. The $MDEV environment variable is set to the name of the device.
  264. The special characters and their meanings are:
  265. @ Run after creating the device.
  266. $ Run before removing the device.
  267. * Run both after creating and before removing the device.
  268. Commands are executed via system() so you need /bin/sh, meaning you
  269. probably want to select a default shell in the Shells menu.
  270. config MKSWAP
  271. bool "mkswap"
  272. default n
  273. help
  274. The mkswap utility is used to configure a file or disk partition as
  275. Linux swap space. This allows Linux to use the entire file or
  276. partition as if it were additional RAM, which can greatly increase
  277. the capability of low-memory machines. This additional memory is
  278. much slower than real RAM, but can be very helpful at preventing your
  279. applications being killed by the Linux out of memory (OOM) killer.
  280. Once you have created swap space using 'mkswap' you need to enable
  281. the swap space using the 'swapon' utility.
  282. config FEATURE_MKSWAP_V0
  283. bool "version 0 support"
  284. default n
  285. depends on MKSWAP
  286. # depends on MKSWAP && DEPRECATED
  287. help
  288. Enable support for the old v0 style.
  289. If your kernel is older than 2.1.117, then v0 support is the
  290. only option.
  291. config MORE
  292. bool "more"
  293. default n
  294. help
  295. more is a simple utility which allows you to read text one screen
  296. sized page at a time. If you want to read text that is larger than
  297. the screen, and you are using anything faster than a 300 baud modem,
  298. you will probably find this utility very helpful. If you don't have
  299. any need to reading text files, you can leave this disabled.
  300. config FEATURE_USE_TERMIOS
  301. bool "Use termios to manipulate the screen"
  302. default y
  303. depends on MORE
  304. help
  305. This option allows utilities such as 'more' and 'top' to determine
  306. the size of the screen. If you leave this disabled, your utilities
  307. that display things on the screen will be especially primitive and
  308. will be unable to determine the current screen size, and will be
  309. unable to move the cursor.
  310. config MOUNT
  311. bool "mount"
  312. default n
  313. help
  314. All files and filesystems in Unix are arranged into one big directory
  315. tree. The 'mount' utility is used to graft a filesystem onto a
  316. particular part of the tree. A filesystem can either live on a block
  317. device, or it can be accessible over the network, as is the case with
  318. NFS filesystems. Most people using BusyBox will also want to enable
  319. the 'mount' utility.
  320. config FEATURE_MOUNT_NFS
  321. bool "Support mounting NFS file systems"
  322. default n
  323. depends on MOUNT
  324. depends on FEATURE_HAVE_RPC
  325. select FEATURE_SYSLOG
  326. help
  327. Enable mounting of NFS file systems.
  328. config FEATURE_MOUNT_CIFS
  329. bool "Support mounting CIFS/SMB file systems"
  330. default n
  331. depends on MOUNT
  332. help
  333. Enable support for samba mounts.
  334. config FEATURE_MOUNT_FLAGS
  335. depends on MOUNT
  336. bool "Support lots of -o flags in mount"
  337. default y
  338. help
  339. Without this, mount only supports ro/rw/remount. With this, it
  340. supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
  341. noatime, diratime, nodiratime, loud, bind, move, shared, slave,
  342. private, unbindable, rshared, rslave, rprivate, and runbindable.
  343. config FEATURE_MOUNT_FSTAB
  344. depends on MOUNT
  345. bool "Support /etc/fstab and -a"
  346. default y
  347. help
  348. Support mount all and looking for files in /etc/fstab.
  349. config PIVOT_ROOT
  350. bool "pivot_root"
  351. default n
  352. help
  353. The pivot_root utility swaps the mount points for the root filesystem
  354. with some other mounted filesystem. This allows you to do all sorts
  355. of wild and crazy things with your Linux system and is far more
  356. powerful than 'chroot'.
  357. Note: This is for initrd in linux 2.4. Under initramfs (introduced
  358. in linux 2.6) use switch_root instead.
  359. config RDATE
  360. bool "rdate"
  361. default n
  362. help
  363. The rdate utility allows you to synchronize the date and time of your
  364. system clock with the date and time of a remote networked system using
  365. the RFC868 protocol, which is built into the inetd daemon on most
  366. systems.
  367. config READPROFILE
  368. bool "readprofile"
  369. default n
  370. help
  371. This allows you to parse /proc/profile for basic profiling.
  372. config SETARCH
  373. bool "setarch"
  374. default n
  375. help
  376. The linux32 utility is used to create a 32bit environment for the
  377. specified program (usually a shell). It only makes sense to have
  378. this util on a system that supports both 64bit and 32bit userland
  379. (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
  380. config SWAPONOFF
  381. bool "swaponoff"
  382. default n
  383. help
  384. This option enables both the 'swapon' and the 'swapoff' utilities.
  385. Once you have created some swap space using 'mkswap', you also need
  386. to enable your swap space with the 'swapon' utility. The 'swapoff'
  387. utility is used, typically at system shutdown, to disable any swap
  388. space. If you are not using any swap space, you can leave this
  389. option disabled.
  390. config SWITCH_ROOT
  391. bool "switch_root"
  392. default n
  393. help
  394. The switch_root utility is used from initramfs to select a new
  395. root device. Under initramfs, you have to use this instead of
  396. pivot_root. (Stop reading here if you don't care why.)
  397. Booting with initramfs extracts a gzipped cpio archive into rootfs
  398. (which is a variant of ramfs/tmpfs). Because rootfs can't be moved
  399. or unmounted*, pivot_root will not work from initramfs. Instead,
  400. switch_root deletes everything out of rootfs (including itself),
  401. does a mount --move that overmounts rootfs with the new root, and
  402. then execs the specified init program.
  403. * Because the Linux kernel uses rootfs internally as the starting
  404. and ending point for searching through the kernel's doubly linked
  405. list of active mount points. That's why.
  406. config UMOUNT
  407. bool "umount"
  408. default n
  409. help
  410. When you want to remove a mounted filesystem from its current mount point,
  411. for example when you are shutting down the system, the 'umount' utility is
  412. the tool to use. If you enabled the 'mount' utility, you almost certainly
  413. also want to enable 'umount'.
  414. config FEATURE_UMOUNT_ALL
  415. bool "umount -a option"
  416. default n
  417. depends on UMOUNT
  418. help
  419. Support -a option to unmount all currently mounted filesystems.
  420. comment "Common options for mount/umount"
  421. depends on MOUNT || UMOUNT
  422. config FEATURE_MOUNT_LOOP
  423. bool "Support loopback mounts"
  424. default n
  425. depends on MOUNT || UMOUNT
  426. help
  427. Enabling this feature allows automatic mounting of files (containing
  428. filesystem images) via the linux kernel's loopback devices. The mount
  429. command will detect you are trying to mount a file instead of a block
  430. device, and transparently associate the file with a loopback device.
  431. The umount command will also free that loopback device.
  432. You can still use the 'losetup' utility (to manually associate files
  433. with loop devices) if you need to do something advanced, such as
  434. specify an offset or cryptographic options to the loopback device.
  435. (If you don't want umount to free the loop device, use "umount -D".)
  436. config FEATURE_MTAB_SUPPORT
  437. bool "Support for the old /etc/mtab file"
  438. default n
  439. depends on MOUNT || UMOUNT
  440. help
  441. Historically, Unix systems kept track of the currently mounted
  442. partitions in the file "/etc/mtab". These days, the kernel exports
  443. the list of currently mounted partitions in "/proc/mounts", rendering
  444. the old mtab file obsolete. (In modern systems, /etc/mtab should be
  445. a symlink to /proc/mounts.)
  446. The only reason to have mount maintain an /etc/mtab file itself is if
  447. your stripped-down embedded system does not have a /proc directory.
  448. If you must use this, keep in mind it's inherently brittle (for
  449. example a mount under chroot won't update it), can't handle modern
  450. features like separate per-process filesystem namespaces, requires
  451. that your /etc directory be writeable, tends to get easily confused
  452. by --bind or --move mounts, won't update if you rename a directory
  453. that contains a mount point, and so on. (In brief: avoid.)
  454. About the only reason to use this is if you've removed /proc from
  455. your kernel.
  456. endmenu