Config.src 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615
  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. INSERT
  7. config ACPID
  8. bool "acpid"
  9. default y
  10. select PLATFORM_LINUX
  11. help
  12. acpid listens to ACPI events coming either in textual form from
  13. /proc/acpi/event (though it is marked deprecated it is still widely
  14. used and _is_ a standard) or in binary form from specified evdevs
  15. (just use /dev/input/event*).
  16. It parses the event to retrieve ACTION and a possible PARAMETER.
  17. It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts
  18. (if the resulting path is a directory) or directly as an executable.
  19. N.B. acpid relies on run-parts so have the latter installed.
  20. config FEATURE_ACPID_COMPAT
  21. bool "Accept and ignore redundant options"
  22. default y
  23. depends on ACPID
  24. help
  25. Accept and ignore compatibility options -g -m -s -S -v.
  26. config BLKID
  27. bool "blkid"
  28. default y
  29. select PLATFORM_LINUX
  30. select VOLUMEID
  31. help
  32. Lists labels and UUIDs of all filesystems.
  33. WARNING:
  34. With all submodules selected, it will add ~8k to busybox.
  35. config FEATURE_BLKID_TYPE
  36. bool "Print filesystem type"
  37. default n
  38. depends on BLKID
  39. help
  40. Show TYPE="filesystem type"
  41. config DMESG
  42. bool "dmesg"
  43. default y
  44. select PLATFORM_LINUX
  45. help
  46. dmesg is used to examine or control the kernel ring buffer. When the
  47. Linux kernel prints messages to the system log, they are stored in
  48. the kernel ring buffer. You can use dmesg to print the kernel's ring
  49. buffer, clear the kernel ring buffer, change the size of the kernel
  50. ring buffer, and change the priority level at which kernel messages
  51. are also logged to the system console. Enable this option if you
  52. wish to enable the 'dmesg' utility.
  53. config FEATURE_DMESG_PRETTY
  54. bool "Pretty dmesg output"
  55. default y
  56. depends on DMESG
  57. help
  58. If you wish to scrub the syslog level from the output, say 'Y' here.
  59. The syslog level is a string prefixed to every line with the form
  60. "<#>".
  61. With this option you will see:
  62. # dmesg
  63. Linux version 2.6.17.4 .....
  64. BIOS-provided physical RAM map:
  65. BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
  66. Without this option you will see:
  67. # dmesg
  68. <5>Linux version 2.6.17.4 .....
  69. <6>BIOS-provided physical RAM map:
  70. <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
  71. config FBSET
  72. bool "fbset"
  73. default y
  74. select PLATFORM_LINUX
  75. help
  76. fbset is used to show or change the settings of a Linux frame buffer
  77. device. The frame buffer device provides a simple and unique
  78. interface to access a graphics display. Enable this option
  79. if you wish to enable the 'fbset' utility.
  80. config FEATURE_FBSET_FANCY
  81. bool "Turn on extra fbset options"
  82. default y
  83. depends on FBSET
  84. help
  85. This option enables extended fbset options, allowing one to set the
  86. framebuffer size, color depth, etc. interface to access a graphics
  87. display. Enable this option if you wish to enable extended fbset
  88. options.
  89. config FEATURE_FBSET_READMODE
  90. bool "Turn on fbset readmode support"
  91. default y
  92. depends on FBSET
  93. help
  94. This option allows fbset to read the video mode database stored by
  95. default as /etc/fb.modes, which can be used to set frame buffer
  96. device to pre-defined video modes.
  97. config FDFLUSH
  98. bool "fdflush"
  99. default y
  100. select PLATFORM_LINUX
  101. help
  102. fdflush is only needed when changing media on slightly-broken
  103. removable media drives. It is used to make Linux believe that a
  104. hardware disk-change switch has been actuated, which causes Linux to
  105. forget anything it has cached from the previous media. If you have
  106. such a slightly-broken drive, you will need to run fdflush every time
  107. you change a disk. Most people have working hardware and can safely
  108. leave this disabled.
  109. config FDFORMAT
  110. bool "fdformat"
  111. default y
  112. select PLATFORM_LINUX
  113. help
  114. fdformat is used to low-level format a floppy disk.
  115. config FDISK
  116. bool "fdisk"
  117. default y
  118. select PLATFORM_LINUX
  119. help
  120. The fdisk utility is used to divide hard disks into one or more
  121. logical disks, which are generally called partitions. This utility
  122. can be used to list and edit the set of partitions or BSD style
  123. 'disk slices' that are defined on a hard drive.
  124. config FDISK_SUPPORT_LARGE_DISKS
  125. bool "Support over 4GB disks"
  126. default y
  127. depends on FDISK
  128. depends on !LFS # with LFS no special code is needed
  129. help
  130. Enable this option to support large disks > 4GB.
  131. config FEATURE_FDISK_WRITABLE
  132. bool "Write support"
  133. default y
  134. depends on FDISK
  135. help
  136. Enabling this option allows you to create or change a partition table
  137. and write those changes out to disk. If you leave this option
  138. disabled, you will only be able to view the partition table.
  139. config FEATURE_AIX_LABEL
  140. bool "Support AIX disklabels"
  141. default n
  142. depends on FDISK && FEATURE_FDISK_WRITABLE
  143. help
  144. Enabling this option allows you to create or change AIX disklabels.
  145. Most people can safely leave this option disabled.
  146. config FEATURE_SGI_LABEL
  147. bool "Support SGI disklabels"
  148. default n
  149. depends on FDISK && FEATURE_FDISK_WRITABLE
  150. help
  151. Enabling this option allows you to create or change SGI disklabels.
  152. Most people can safely leave this option disabled.
  153. config FEATURE_SUN_LABEL
  154. bool "Support SUN disklabels"
  155. default n
  156. depends on FDISK && FEATURE_FDISK_WRITABLE
  157. help
  158. Enabling this option allows you to create or change SUN disklabels.
  159. Most people can safely leave this option disabled.
  160. config FEATURE_OSF_LABEL
  161. bool "Support BSD disklabels"
  162. default n
  163. depends on FDISK && FEATURE_FDISK_WRITABLE
  164. help
  165. Enabling this option allows you to create or change BSD disklabels
  166. and define and edit BSD disk slices.
  167. config FEATURE_GPT_LABEL
  168. bool "Support GPT disklabels"
  169. default n
  170. depends on FDISK && FEATURE_FDISK_WRITABLE
  171. help
  172. Enabling this option allows you to view GUID Partition Table
  173. disklabels.
  174. config FEATURE_FDISK_ADVANCED
  175. bool "Support expert mode"
  176. default y
  177. depends on FDISK && FEATURE_FDISK_WRITABLE
  178. help
  179. Enabling this option allows you to do terribly unsafe things like
  180. define arbitrary drive geometry, move the beginning of data in a
  181. partition, and similarly evil things. Unless you have a very good
  182. reason you would be wise to leave this disabled.
  183. config FINDFS
  184. bool "findfs"
  185. default y
  186. select PLATFORM_LINUX
  187. select VOLUMEID
  188. help
  189. Prints the name of a filesystem with given label or UUID.
  190. WARNING:
  191. With all submodules selected, it will add ~8k to busybox.
  192. config FLOCK
  193. bool "flock"
  194. default y
  195. help
  196. Manage locks from shell scripts
  197. config FREERAMDISK
  198. bool "freeramdisk"
  199. default y
  200. select PLATFORM_LINUX
  201. help
  202. Linux allows you to create ramdisks. This utility allows you to
  203. delete them and completely free all memory that was used for the
  204. ramdisk. For example, if you boot Linux into a ramdisk and later
  205. pivot_root, you may want to free the memory that is allocated to the
  206. ramdisk. If you have no use for freeing memory from a ramdisk, leave
  207. this disabled.
  208. config FSCK_MINIX
  209. bool "fsck_minix"
  210. default y
  211. help
  212. The minix filesystem is a nice, small, compact, read-write filesystem
  213. with little overhead. It is not a journaling filesystem however and
  214. can experience corruption if it is not properly unmounted or if the
  215. power goes off in the middle of a write. This utility allows you to
  216. check for and attempt to repair any corruption that occurs to a minix
  217. filesystem.
  218. config MKFS_EXT2
  219. bool "mkfs_ext2"
  220. default y
  221. select PLATFORM_LINUX
  222. help
  223. Utility to create EXT2 filesystems.
  224. config MKFS_MINIX
  225. bool "mkfs_minix"
  226. default y
  227. select PLATFORM_LINUX
  228. help
  229. The minix filesystem is a nice, small, compact, read-write filesystem
  230. with little overhead. If you wish to be able to create minix
  231. filesystems this utility will do the job for you.
  232. config FEATURE_MINIX2
  233. bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
  234. default y
  235. depends on FSCK_MINIX || MKFS_MINIX
  236. help
  237. If you wish to be able to create version 2 minix filesystems, enable
  238. this. If you enabled 'mkfs_minix' then you almost certainly want to
  239. be using the version 2 filesystem support.
  240. config MKFS_REISER
  241. bool "mkfs_reiser"
  242. default n
  243. select PLATFORM_LINUX
  244. help
  245. Utility to create ReiserFS filesystems.
  246. Note: this applet needs a lot of testing and polishing.
  247. config MKFS_VFAT
  248. bool "mkfs_vfat"
  249. default y
  250. select PLATFORM_LINUX
  251. help
  252. Utility to create FAT32 filesystems.
  253. config GETOPT
  254. bool "getopt"
  255. default y
  256. help
  257. The getopt utility is used to break up (parse) options in command
  258. lines to make it easy to write complex shell scripts that also check
  259. for legal (and illegal) options. If you want to write horribly
  260. complex shell scripts, or use some horribly complex shell script
  261. written by others, this utility may be for you. Most people will
  262. wisely leave this disabled.
  263. config FEATURE_GETOPT_LONG
  264. bool "Support option -l"
  265. default y if LONG_OPTS
  266. depends on GETOPT
  267. help
  268. Enable support for long options (option -l).
  269. config HEXDUMP
  270. bool "hexdump"
  271. default y
  272. help
  273. The hexdump utility is used to display binary data in a readable
  274. way that is comparable to the output from most hex editors.
  275. config FEATURE_HEXDUMP_REVERSE
  276. bool "Support -R, reverse of 'hexdump -Cv'"
  277. default y
  278. depends on HEXDUMP
  279. help
  280. The hexdump utility is used to display binary data in an ascii
  281. readable way. This option creates binary data from an ascii input.
  282. NB: this option is non-standard. It's unwise to use it in scripts
  283. aimed to be portable.
  284. config HD
  285. bool "hd"
  286. default y
  287. depends on HEXDUMP
  288. help
  289. hd is an alias to hexdump -C.
  290. config HWCLOCK
  291. bool "hwclock"
  292. default y
  293. select PLATFORM_LINUX
  294. help
  295. The hwclock utility is used to read and set the hardware clock
  296. on a system. This is primarily used to set the current time on
  297. shutdown in the hardware clock, so the hardware will keep the
  298. correct time when Linux is _not_ running.
  299. config FEATURE_HWCLOCK_LONG_OPTIONS
  300. bool "Support long options (--hctosys,...)"
  301. default y
  302. depends on HWCLOCK && LONG_OPTS
  303. help
  304. By default, the hwclock utility only uses short options. If you
  305. are overly fond of its long options, such as --hctosys, --utc, etc)
  306. then enable this option.
  307. config FEATURE_HWCLOCK_ADJTIME_FHS
  308. bool "Use FHS /var/lib/hwclock/adjtime"
  309. default n # util-linux-ng in Fedora 13 still uses /etc/adjtime
  310. depends on HWCLOCK
  311. help
  312. Starting with FHS 2.3, the adjtime state file is supposed to exist
  313. at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
  314. to use the FHS behavior, answer Y here, otherwise answer N for the
  315. classic /etc/adjtime path.
  316. pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
  317. config IPCRM
  318. bool "ipcrm"
  319. default y
  320. help
  321. The ipcrm utility allows the removal of System V interprocess
  322. communication (IPC) objects and the associated data structures
  323. from the system.
  324. config IPCS
  325. bool "ipcs"
  326. default y
  327. select PLATFORM_LINUX
  328. help
  329. The ipcs utility is used to provide information on the currently
  330. allocated System V interprocess (IPC) objects in the system.
  331. config LOSETUP
  332. bool "losetup"
  333. default y
  334. select PLATFORM_LINUX
  335. help
  336. losetup is used to associate or detach a loop device with a regular
  337. file or block device, and to query the status of a loop device. This
  338. version does not currently support enabling data encryption.
  339. config LSPCI
  340. bool "lspci"
  341. default y
  342. #select PLATFORM_LINUX
  343. help
  344. lspci is a utility for displaying information about PCI buses in the
  345. system and devices connected to them.
  346. This version uses sysfs (/sys/bus/pci/devices) only.
  347. config LSUSB
  348. bool "lsusb"
  349. default y
  350. #select PLATFORM_LINUX
  351. help
  352. lsusb is a utility for displaying information about USB buses in the
  353. system and devices connected to them.
  354. This version uses sysfs (/sys/bus/usb/devices) only.
  355. config MKSWAP
  356. bool "mkswap"
  357. default y
  358. help
  359. The mkswap utility is used to configure a file or disk partition as
  360. Linux swap space. This allows Linux to use the entire file or
  361. partition as if it were additional RAM, which can greatly increase
  362. the capability of low-memory machines. This additional memory is
  363. much slower than real RAM, but can be very helpful at preventing your
  364. applications being killed by the Linux out of memory (OOM) killer.
  365. Once you have created swap space using 'mkswap' you need to enable
  366. the swap space using the 'swapon' utility.
  367. config FEATURE_MKSWAP_UUID
  368. bool "UUID support"
  369. default y
  370. depends on MKSWAP
  371. help
  372. Generate swap spaces with universally unique identifiers.
  373. config MORE
  374. bool "more"
  375. default y
  376. help
  377. more is a simple utility which allows you to read text one screen
  378. sized page at a time. If you want to read text that is larger than
  379. the screen, and you are using anything faster than a 300 baud modem,
  380. you will probably find this utility very helpful. If you don't have
  381. any need to reading text files, you can leave this disabled.
  382. config PIVOT_ROOT
  383. bool "pivot_root"
  384. default y
  385. select PLATFORM_LINUX
  386. help
  387. The pivot_root utility swaps the mount points for the root filesystem
  388. with some other mounted filesystem. This allows you to do all sorts
  389. of wild and crazy things with your Linux system and is far more
  390. powerful than 'chroot'.
  391. Note: This is for initrd in linux 2.4. Under initramfs (introduced
  392. in linux 2.6) use switch_root instead.
  393. config RDATE
  394. bool "rdate"
  395. default y
  396. help
  397. The rdate utility allows you to synchronize the date and time of your
  398. system clock with the date and time of a remote networked system using
  399. the RFC868 protocol, which is built into the inetd daemon on most
  400. systems.
  401. config RDEV
  402. bool "rdev"
  403. default y
  404. help
  405. Print the device node associated with the filesystem mounted at '/'.
  406. config READPROFILE
  407. bool "readprofile"
  408. default y
  409. #select PLATFORM_LINUX
  410. help
  411. This allows you to parse /proc/profile for basic profiling.
  412. config RTCWAKE
  413. bool "rtcwake"
  414. default y
  415. select PLATFORM_LINUX
  416. help
  417. Enter a system sleep state until specified wakeup time.
  418. config SCRIPT
  419. bool "script"
  420. default y
  421. help
  422. The script makes typescript of terminal session.
  423. config SCRIPTREPLAY
  424. bool "scriptreplay"
  425. default y
  426. help
  427. This program replays a typescript, using timing information
  428. given by script -t.
  429. config SWAPONOFF
  430. bool "swaponoff"
  431. default y
  432. select PLATFORM_LINUX
  433. help
  434. This option enables both the 'swapon' and the 'swapoff' utilities.
  435. Once you have created some swap space using 'mkswap', you also need
  436. to enable your swap space with the 'swapon' utility. The 'swapoff'
  437. utility is used, typically at system shutdown, to disable any swap
  438. space. If you are not using any swap space, you can leave this
  439. option disabled.
  440. config FEATURE_SWAPON_DISCARD
  441. bool "Support discard option -d"
  442. default y
  443. depends on SWAPONOFF
  444. help
  445. Enable support for discarding swap area blocks at swapon and/or as
  446. the kernel frees them. This option enables both the -d option on
  447. 'swapon' and the 'discard' option for swap entries in /etc/fstab.
  448. config FEATURE_SWAPON_PRI
  449. bool "Support priority option -p"
  450. default y
  451. depends on SWAPONOFF
  452. help
  453. Enable support for setting swap device priority in swapon.
  454. config SWITCH_ROOT
  455. bool "switch_root"
  456. default y
  457. select PLATFORM_LINUX
  458. help
  459. The switch_root utility is used from initramfs to select a new
  460. root device. Under initramfs, you have to use this instead of
  461. pivot_root. (Stop reading here if you don't care why.)
  462. Booting with initramfs extracts a gzipped cpio archive into rootfs
  463. (which is a variant of ramfs/tmpfs). Because rootfs can't be moved
  464. or unmounted*, pivot_root will not work from initramfs. Instead,
  465. switch_root deletes everything out of rootfs (including itself),
  466. does a mount --move that overmounts rootfs with the new root, and
  467. then execs the specified init program.
  468. * Because the Linux kernel uses rootfs internally as the starting
  469. and ending point for searching through the kernel's doubly linked
  470. list of active mount points. That's why.
  471. config UMOUNT
  472. bool "umount"
  473. default y
  474. select PLATFORM_LINUX
  475. help
  476. When you want to remove a mounted filesystem from its current mount
  477. point, for example when you are shutting down the system, the
  478. 'umount' utility is the tool to use. If you enabled the 'mount'
  479. utility, you almost certainly also want to enable 'umount'.
  480. config FEATURE_UMOUNT_ALL
  481. bool "Support option -a"
  482. default y
  483. depends on UMOUNT
  484. help
  485. Support -a option to unmount all currently mounted filesystems.
  486. comment "Common options for mount/umount"
  487. depends on MOUNT || UMOUNT
  488. config FEATURE_MOUNT_LOOP
  489. bool "Support loopback mounts"
  490. default y
  491. depends on MOUNT || UMOUNT
  492. help
  493. Enabling this feature allows automatic mounting of files (containing
  494. filesystem images) via the linux kernel's loopback devices.
  495. The mount command will detect you are trying to mount a file instead
  496. of a block device, and transparently associate the file with a
  497. loopback device. The umount command will also free that loopback
  498. device.
  499. You can still use the 'losetup' utility (to manually associate files
  500. with loop devices) if you need to do something advanced, such as
  501. specify an offset or cryptographic options to the loopback device.
  502. (If you don't want umount to free the loop device, use "umount -D".)
  503. config FEATURE_MOUNT_LOOP_CREATE
  504. bool "Create new loopback devices if needed"
  505. default y
  506. depends on FEATURE_MOUNT_LOOP
  507. help
  508. Linux kernels >= 2.6.24 support unlimited loopback devices. They are
  509. allocated for use when trying to use a loop device. The loop device
  510. must however exist.
  511. This feature lets mount to try to create next /dev/loopN device
  512. if it does not find a free one.
  513. config FEATURE_MTAB_SUPPORT
  514. bool "Support for the old /etc/mtab file"
  515. default n
  516. depends on MOUNT || UMOUNT
  517. select FEATURE_MOUNT_FAKE
  518. help
  519. Historically, Unix systems kept track of the currently mounted
  520. partitions in the file "/etc/mtab". These days, the kernel exports
  521. the list of currently mounted partitions in "/proc/mounts", rendering
  522. the old mtab file obsolete. (In modern systems, /etc/mtab should be
  523. a symlink to /proc/mounts.)
  524. The only reason to have mount maintain an /etc/mtab file itself is if
  525. your stripped-down embedded system does not have a /proc directory.
  526. If you must use this, keep in mind it's inherently brittle (for
  527. example a mount under chroot won't update it), can't handle modern
  528. features like separate per-process filesystem namespaces, requires
  529. that your /etc directory be writable, tends to get easily confused
  530. by --bind or --move mounts, won't update if you rename a directory
  531. that contains a mount point, and so on. (In brief: avoid.)
  532. About the only reason to use this is if you've removed /proc from
  533. your kernel.
  534. source util-linux/volume_id/Config.in
  535. endmenu