Config.in 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885
  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_ACPID
  7. bool "acpid"
  8. default n
  9. help
  10. acpid listens to ACPI events coming either in textual form from
  11. /proc/acpi/event (though it is marked deprecated it is still widely
  12. used and _is_ a standard) or in binary form from specified evdevs
  13. (just use /dev/input/event*).
  14. It parses the event to retrieve ACTION and a possible PARAMETER.
  15. It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts
  16. (if the resulting path is a directory) or directly as an executable.
  17. N.B. acpid relies on run-parts so have the latter installed.
  18. config BUSYBOX_FEATURE_ACPID_COMPAT
  19. bool "Accept and ignore redundant options"
  20. default n
  21. depends on BUSYBOX_ACPID
  22. help
  23. Accept and ignore compatibility options -g -m -s -S -v.
  24. config BUSYBOX_BLKID
  25. bool "blkid"
  26. default n
  27. select BUSYBOX_VOLUMEID
  28. help
  29. Lists labels and UUIDs of all filesystems.
  30. WARNING:
  31. With all submodules selected, it will add ~8k to busybox.
  32. config BUSYBOX_DMESG
  33. bool "dmesg"
  34. default y
  35. help
  36. dmesg is used to examine or control the kernel ring buffer. When the
  37. Linux kernel prints messages to the system log, they are stored in
  38. the kernel ring buffer. You can use dmesg to print the kernel's ring
  39. buffer, clear the kernel ring buffer, change the size of the kernel
  40. ring buffer, and change the priority level at which kernel messages
  41. are also logged to the system console. Enable this option if you
  42. wish to enable the 'dmesg' utility.
  43. config BUSYBOX_FEATURE_DMESG_PRETTY
  44. bool "Pretty dmesg output"
  45. default y
  46. depends on BUSYBOX_DMESG
  47. help
  48. If you wish to scrub the syslog level from the output, say 'Y' here.
  49. The syslog level is a string prefixed to every line with the form
  50. "<#>".
  51. With this option you will see:
  52. # dmesg
  53. Linux version 2.6.17.4 .....
  54. BIOS-provided physical RAM map:
  55. BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
  56. Without this option you will see:
  57. # dmesg
  58. <5>Linux version 2.6.17.4 .....
  59. <6>BIOS-provided physical RAM map:
  60. <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
  61. config BUSYBOX_FBSET
  62. bool "fbset"
  63. default n
  64. help
  65. fbset is used to show or change the settings of a Linux frame buffer
  66. device. The frame buffer device provides a simple and unique
  67. interface to access a graphics display. Enable this option
  68. if you wish to enable the 'fbset' utility.
  69. config BUSYBOX_FEATURE_FBSET_FANCY
  70. bool "Turn on extra fbset options"
  71. default n
  72. depends on BUSYBOX_FBSET
  73. help
  74. This option enables extended fbset options, allowing one to set the
  75. framebuffer size, color depth, etc. interface to access a graphics
  76. display. Enable this option if you wish to enable extended fbset
  77. options.
  78. config BUSYBOX_FEATURE_FBSET_READMODE
  79. bool "Turn on fbset readmode support"
  80. default n
  81. depends on BUSYBOX_FBSET
  82. help
  83. This option allows fbset to read the video mode database stored by
  84. default as /etc/fb.modes, which can be used to set frame buffer
  85. device to pre-defined video modes.
  86. config BUSYBOX_FDFLUSH
  87. bool "fdflush"
  88. default n
  89. help
  90. fdflush is only needed when changing media on slightly-broken
  91. removable media drives. It is used to make Linux believe that a
  92. hardware disk-change switch has been actuated, which causes Linux to
  93. forget anything it has cached from the previous media. If you have
  94. such a slightly-broken drive, you will need to run fdflush every time
  95. you change a disk. Most people have working hardware and can safely
  96. leave this disabled.
  97. config BUSYBOX_FDFORMAT
  98. bool "fdformat"
  99. default n
  100. help
  101. fdformat is used to low-level format a floppy disk.
  102. config BUSYBOX_FDISK
  103. bool "fdisk"
  104. default y
  105. help
  106. The fdisk utility is used to divide hard disks into one or more
  107. logical disks, which are generally called partitions. This utility
  108. can be used to list and edit the set of partitions or BSD style
  109. 'disk slices' that are defined on a hard drive.
  110. config BUSYBOX_FDISK_SUPPORT_LARGE_DISKS
  111. bool "Support over 4GB disks"
  112. default y
  113. depends on BUSYBOX_FDISK
  114. help
  115. Enable this option to support large disks > 4GB.
  116. config BUSYBOX_FEATURE_FDISK_WRITABLE
  117. bool "Write support"
  118. default y
  119. depends on BUSYBOX_FDISK
  120. help
  121. Enabling this option allows you to create or change a partition table
  122. and write those changes out to disk. If you leave this option
  123. disabled, you will only be able to view the partition table.
  124. config BUSYBOX_FEATURE_AIX_LABEL
  125. bool "Support AIX disklabels"
  126. default n
  127. depends on BUSYBOX_FDISK && BUSYBOX_FEATURE_FDISK_WRITABLE
  128. help
  129. Enabling this option allows you to create or change AIX disklabels.
  130. Most people can safely leave this option disabled.
  131. config BUSYBOX_FEATURE_SGI_LABEL
  132. bool "Support SGI disklabels"
  133. default n
  134. depends on BUSYBOX_FDISK && BUSYBOX_FEATURE_FDISK_WRITABLE
  135. help
  136. Enabling this option allows you to create or change SGI disklabels.
  137. Most people can safely leave this option disabled.
  138. config BUSYBOX_FEATURE_SUN_LABEL
  139. bool "Support SUN disklabels"
  140. default n
  141. depends on BUSYBOX_FDISK && BUSYBOX_FEATURE_FDISK_WRITABLE
  142. help
  143. Enabling this option allows you to create or change SUN disklabels.
  144. Most people can safely leave this option disabled.
  145. config BUSYBOX_FEATURE_OSF_LABEL
  146. bool "Support BSD disklabels"
  147. default n
  148. depends on BUSYBOX_FDISK && BUSYBOX_FEATURE_FDISK_WRITABLE
  149. help
  150. Enabling this option allows you to create or change BSD disklabels
  151. and define and edit BSD disk slices.
  152. config BUSYBOX_FEATURE_FDISK_ADVANCED
  153. bool "Support expert mode"
  154. default n
  155. depends on BUSYBOX_FDISK && BUSYBOX_FEATURE_FDISK_WRITABLE
  156. help
  157. Enabling this option allows you to do terribly unsafe things like
  158. define arbitrary drive geometry, move the beginning of data in a
  159. partition, and similarly evil things. Unless you have a very good
  160. reason you would be wise to leave this disabled.
  161. config BUSYBOX_FINDFS
  162. bool "findfs"
  163. default n
  164. select BUSYBOX_VOLUMEID
  165. help
  166. Prints the name of a filesystem with given label or UUID.
  167. WARNING:
  168. With all submodules selected, it will add ~8k to busybox.
  169. config BUSYBOX_FREERAMDISK
  170. bool "freeramdisk"
  171. default n
  172. help
  173. Linux allows you to create ramdisks. This utility allows you to
  174. delete them and completely free all memory that was used for the
  175. ramdisk. For example, if you boot Linux into a ramdisk and later
  176. pivot_root, you may want to free the memory that is allocated to the
  177. ramdisk. If you have no use for freeing memory from a ramdisk, leave
  178. this disabled.
  179. config BUSYBOX_FSCK_MINIX
  180. bool "fsck_minix"
  181. default n
  182. help
  183. The minix filesystem is a nice, small, compact, read-write filesystem
  184. with little overhead. It is not a journaling filesystem however and
  185. can experience corruption if it is not properly unmounted or if the
  186. power goes off in the middle of a write. This utility allows you to
  187. check for and attempt to repair any corruption that occurs to a minix
  188. filesystem.
  189. config BUSYBOX_MKFS_MINIX
  190. bool "mkfs_minix"
  191. default n
  192. help
  193. The minix filesystem is a nice, small, compact, read-write filesystem
  194. with little overhead. If you wish to be able to create minix
  195. filesystems this utility will do the job for you.
  196. comment "Minix filesystem support"
  197. depends on BUSYBOX_FSCK_MINIX || BUSYBOX_MKFS_MINIX
  198. config BUSYBOX_FEATURE_MINIX2
  199. bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
  200. default y
  201. depends on BUSYBOX_FSCK_MINIX || BUSYBOX_MKFS_MINIX
  202. help
  203. If you wish to be able to create version 2 minix filesystems, enable
  204. this. If you enabled 'mkfs_minix' then you almost certainly want to
  205. be using the version 2 filesystem support.
  206. config BUSYBOX_MKFS_VFAT
  207. bool "mkfs_vfat"
  208. default n
  209. help
  210. Utility to create FAT32 filesystems.
  211. config BUSYBOX_GETOPT
  212. bool "getopt"
  213. default n
  214. help
  215. The getopt utility is used to break up (parse) options in command
  216. lines to make it easy to write complex shell scripts that also check
  217. for legal (and illegal) options. If you want to write horribly
  218. complex shell scripts, or use some horribly complex shell script
  219. written by others, this utility may be for you. Most people will
  220. wisely leave this disabled.
  221. config BUSYBOX_FEATURE_GETOPT_LONG
  222. bool "Support option -l"
  223. default y if LONG_OPTS
  224. depends on BUSYBOX_GETOPT
  225. help
  226. Enable support for long options (option -l).
  227. config BUSYBOX_HEXDUMP
  228. bool "hexdump"
  229. default n
  230. help
  231. The hexdump utility is used to display binary data in a readable
  232. way that is comparable to the output from most hex editors.
  233. config BUSYBOX_FEATURE_HEXDUMP_REVERSE
  234. bool "Support -R, reverse of 'hexdump -Cv'"
  235. default n
  236. depends on BUSYBOX_HEXDUMP
  237. help
  238. The hexdump utility is used to display binary data in an ascii
  239. readable way. This option creates binary data from an ascii input.
  240. NB: this option is non-standard. It's unwise to use it in scripts
  241. aimed to be portable.
  242. config BUSYBOX_HD
  243. bool "hd"
  244. default n
  245. select BUSYBOX_HEXDUMP
  246. help
  247. hd is an alias to hexdump -C.
  248. config BUSYBOX_HWCLOCK
  249. bool "hwclock"
  250. default y if ADK_TARGET_WITH_RTC
  251. default n
  252. help
  253. The hwclock utility is used to read and set the hardware clock
  254. on a system. This is primarily used to set the current time on
  255. shutdown in the hardware clock, so the hardware will keep the
  256. correct time when Linux is _not_ running.
  257. config BUSYBOX_FEATURE_HWCLOCK_LONG_OPTIONS
  258. bool "Support long options (--hctosys,...)"
  259. default n
  260. depends on BUSYBOX_HWCLOCK && BUSYBOX_LONG_OPTS
  261. help
  262. By default, the hwclock utility only uses short options. If you
  263. are overly fond of its long options, such as --hctosys, --utc, etc)
  264. then enable this option.
  265. config BUSYBOX_FEATURE_HWCLOCK_ADJTIME_FHS
  266. bool "Use FHS /var/lib/hwclock/adjtime"
  267. default y
  268. depends on BUSYBOX_HWCLOCK
  269. help
  270. Starting with FHS 2.3, the adjtime state file is supposed to exist
  271. at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
  272. to use the FHS behavior, answer Y here, otherwise answer N for the
  273. classic /etc/adjtime path.
  274. pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
  275. config BUSYBOX_IPCRM
  276. bool "ipcrm"
  277. default n
  278. select BUSYBOX_FEATURE_SUID
  279. help
  280. The ipcrm utility allows the removal of System V interprocess
  281. communication (IPC) objects and the associated data structures
  282. from the system.
  283. config BUSYBOX_IPCS
  284. bool "ipcs"
  285. default n
  286. select BUSYBOX_FEATURE_SUID
  287. help
  288. The ipcs utility is used to provide information on the currently
  289. allocated System V interprocess (IPC) objects in the system.
  290. config BUSYBOX_LOSETUP
  291. bool "losetup"
  292. default n
  293. help
  294. losetup is used to associate or detach a loop device with a regular
  295. file or block device, and to query the status of a loop device. This
  296. version does not currently support enabling data encryption.
  297. config BUSYBOX_MDEV
  298. bool "mdev"
  299. default y
  300. help
  301. mdev is a mini-udev implementation for dynamically creating device
  302. nodes in the /dev directory.
  303. For more information, please see docs/mdev.txt
  304. config BUSYBOX_FEATURE_MDEV_CONF
  305. bool "Support /etc/mdev.conf"
  306. default y
  307. depends on BUSYBOX_MDEV
  308. help
  309. Add support for the mdev config file to control ownership and
  310. permissions of the device nodes.
  311. For more information, please see docs/mdev.txt
  312. config BUSYBOX_FEATURE_MDEV_RENAME
  313. bool "Support subdirs/symlinks"
  314. default y
  315. depends on BUSYBOX_FEATURE_MDEV_CONF
  316. help
  317. Add support for renaming devices and creating symlinks.
  318. For more information, please see docs/mdev.txt
  319. config BUSYBOX_FEATURE_MDEV_RENAME_REGEXP
  320. bool "Support regular expressions substitutions when renaming device"
  321. default y
  322. depends on BUSYBOX_FEATURE_MDEV_RENAME
  323. help
  324. Add support for regular expressions substitutions when renaming
  325. device.
  326. config BUSYBOX_FEATURE_MDEV_EXEC
  327. bool "Support command execution at device addition/removal"
  328. default y
  329. depends on BUSYBOX_FEATURE_MDEV_CONF
  330. help
  331. This adds support for an optional field to /etc/mdev.conf for
  332. executing commands when devices are created/removed.
  333. For more information, please see docs/mdev.txt
  334. config BUSYBOX_FEATURE_MDEV_LOAD_FIRMWARE
  335. bool "Support loading of firmwares"
  336. default y
  337. depends on BUSYBOX_MDEV
  338. help
  339. Some devices need to load firmware before they can be usable.
  340. These devices will request userspace look up the files in
  341. /lib/firmware/ and if it exists, send it to the kernel for
  342. loading into the hardware.
  343. config BUSYBOX_MKSWAP
  344. bool "mkswap"
  345. default n
  346. help
  347. The mkswap utility is used to configure a file or disk partition as
  348. Linux swap space. This allows Linux to use the entire file or
  349. partition as if it were additional RAM, which can greatly increase
  350. the capability of low-memory machines. This additional memory is
  351. much slower than real RAM, but can be very helpful at preventing your
  352. applications being killed by the Linux out of memory (OOM) killer.
  353. Once you have created swap space using 'mkswap' you need to enable
  354. the swap space using the 'swapon' utility.
  355. config BUSYBOX_FEATURE_MKSWAP_UUID
  356. bool "UUID support"
  357. default n
  358. depends on BUSYBOX_MKSWAP
  359. help
  360. Generate swap spaces with universally unique identifiers.
  361. config BUSYBOX_MORE
  362. bool "more"
  363. default n
  364. help
  365. more is a simple utility which allows you to read text one screen
  366. sized page at a time. If you want to read text that is larger than
  367. the screen, and you are using anything faster than a 300 baud modem,
  368. you will probably find this utility very helpful. If you don't have
  369. any need to reading text files, you can leave this disabled.
  370. config BUSYBOX_FEATURE_USE_TERMIOS
  371. bool "Use termios to manipulate the screen"
  372. default y
  373. depends on BUSYBOX_MORE || BUSYBOX_TOP
  374. help
  375. This option allows utilities such as 'more' and 'top' to determine
  376. the size of the screen. If you leave this disabled, your utilities
  377. that display things on the screen will be especially primitive and
  378. will be unable to determine the current screen size, and will be
  379. unable to move the cursor.
  380. config BUSYBOX_VOLUMEID
  381. bool #No description makes it a hidden option
  382. default n
  383. config BUSYBOX_FEATURE_VOLUMEID_EXT
  384. bool "Ext filesystem"
  385. default n
  386. depends on BUSYBOX_VOLUMEID
  387. help
  388. TODO
  389. config BUSYBOX_FEATURE_VOLUMEID_REISERFS
  390. bool "Reiser filesystem"
  391. default n
  392. depends on BUSYBOX_VOLUMEID
  393. help
  394. TODO
  395. config BUSYBOX_FEATURE_VOLUMEID_FAT
  396. bool "fat filesystem"
  397. default n
  398. depends on BUSYBOX_VOLUMEID
  399. help
  400. TODO
  401. config BUSYBOX_FEATURE_VOLUMEID_HFS
  402. bool "hfs filesystem"
  403. default n
  404. depends on BUSYBOX_VOLUMEID
  405. help
  406. TODO
  407. config BUSYBOX_FEATURE_VOLUMEID_JFS
  408. bool "jfs filesystem"
  409. default n
  410. depends on BUSYBOX_VOLUMEID
  411. help
  412. TODO
  413. ### config FEATURE_VOLUMEID_UFS
  414. ### bool "ufs filesystem"
  415. ### default n
  416. ### depends on BUSYBOX_VOLUMEID
  417. ### help
  418. ### TODO
  419. config BUSYBOX_FEATURE_VOLUMEID_XFS
  420. bool "xfs filesystem"
  421. default n
  422. depends on BUSYBOX_VOLUMEID
  423. help
  424. TODO
  425. config BUSYBOX_FEATURE_VOLUMEID_NTFS
  426. bool "ntfs filesystem"
  427. default n
  428. depends on BUSYBOX_VOLUMEID
  429. help
  430. TODO
  431. config BUSYBOX_FEATURE_VOLUMEID_ISO9660
  432. bool "iso9660 filesystem"
  433. default n
  434. depends on BUSYBOX_VOLUMEID
  435. help
  436. TODO
  437. config BUSYBOX_FEATURE_VOLUMEID_UDF
  438. bool "udf filesystem"
  439. default n
  440. depends on BUSYBOX_VOLUMEID
  441. help
  442. TODO
  443. config BUSYBOX_FEATURE_VOLUMEID_LUKS
  444. bool "luks filesystem"
  445. default n
  446. depends on BUSYBOX_VOLUMEID
  447. help
  448. TODO
  449. config BUSYBOX_FEATURE_VOLUMEID_LINUXSWAP
  450. bool "linux swap filesystem"
  451. default n
  452. depends on BUSYBOX_VOLUMEID
  453. help
  454. TODO
  455. ### config FEATURE_VOLUMEID_LVM
  456. ### bool "lvm"
  457. ### default n
  458. ### depends on BUSYBOX_VOLUMEID
  459. ### help
  460. ### TODO
  461. config BUSYBOX_FEATURE_VOLUMEID_CRAMFS
  462. bool "cramfs filesystem"
  463. default n
  464. depends on BUSYBOX_VOLUMEID
  465. help
  466. TODO
  467. ### config FEATURE_VOLUMEID_HPFS
  468. ### bool "hpfs filesystem"
  469. ### default n
  470. ### depends on BUSYBOX_VOLUMEID
  471. ### help
  472. ### TODO
  473. config BUSYBOX_FEATURE_VOLUMEID_ROMFS
  474. bool "romfs filesystem"
  475. default n
  476. depends on BUSYBOX_VOLUMEID
  477. help
  478. TODO
  479. config BUSYBOX_FEATURE_VOLUMEID_SYSV
  480. bool "sysv filesystem"
  481. default n
  482. depends on BUSYBOX_VOLUMEID
  483. help
  484. TODO
  485. ### config FEATURE_VOLUMEID_MINIX
  486. ### bool "minix filesystem"
  487. ### default n
  488. ### depends on BUSYBOX_VOLUMEID
  489. ### help
  490. ### TODO
  491. ### These only detect partition tables - not used (yet?)
  492. ### config FEATURE_VOLUMEID_MAC
  493. ### bool "mac filesystem"
  494. ### default n
  495. ### depends on BUSYBOX_VOLUMEID
  496. ### help
  497. ### TODO
  498. ###
  499. ### config FEATURE_VOLUMEID_MSDOS
  500. ### bool "msdos filesystem"
  501. ### default n
  502. ### depends on BUSYBOX_VOLUMEID
  503. ### help
  504. ### TODO
  505. config BUSYBOX_FEATURE_VOLUMEID_OCFS2
  506. bool "ocfs2 filesystem"
  507. default n
  508. depends on BUSYBOX_VOLUMEID
  509. help
  510. TODO
  511. ### config FEATURE_VOLUMEID_HIGHPOINTRAID
  512. ### bool "highpoint raid"
  513. ### default n
  514. ### depends on BUSYBOX_VOLUMEID
  515. ### help
  516. ### TODO
  517. ### config FEATURE_VOLUMEID_ISWRAID
  518. ### bool "intel raid"
  519. ### default n
  520. ### depends on BUSYBOX_VOLUMEID
  521. ### help
  522. ### TODO
  523. ### config FEATURE_VOLUMEID_LSIRAID
  524. ### bool "lsi raid"
  525. ### default n
  526. ### depends on BUSYBOX_VOLUMEID
  527. ### help
  528. ### TODO
  529. ### config FEATURE_VOLUMEID_VIARAID
  530. ### bool "via raid"
  531. ### default n
  532. ### depends on BUSYBOX_VOLUMEID
  533. ### help
  534. ### TODO
  535. ### config FEATURE_VOLUMEID_SILICONRAID
  536. ### bool "silicon raid"
  537. ### default n
  538. ### depends on BUSYBOX_VOLUMEID
  539. ### help
  540. ### TODO
  541. ### config FEATURE_VOLUMEID_NVIDIARAID
  542. ### bool "nvidia raid"
  543. ### default n
  544. ### depends on BUSYBOX_VOLUMEID
  545. ### help
  546. ### TODO
  547. ### config FEATURE_VOLUMEID_PROMISERAID
  548. ### bool "promise raid"
  549. ### default n
  550. ### depends on BUSYBOX_VOLUMEID
  551. ### help
  552. ### TODO
  553. config BUSYBOX_FEATURE_VOLUMEID_LINUXRAID
  554. bool "linuxraid"
  555. default n
  556. depends on BUSYBOX_VOLUMEID
  557. help
  558. TODO
  559. config BUSYBOX_MOUNT
  560. bool "mount"
  561. default y
  562. help
  563. All files and filesystems in Unix are arranged into one big directory
  564. tree. The 'mount' utility is used to graft a filesystem onto a
  565. particular part of the tree. A filesystem can either live on a block
  566. device, or it can be accessible over the network, as is the case with
  567. NFS filesystems. Most people using BusyBox will also want to enable
  568. the 'mount' utility.
  569. config BUSYBOX_FEATURE_MOUNT_FAKE
  570. bool "Support option -f"
  571. default n
  572. depends on BUSYBOX_MOUNT
  573. help
  574. Enable support for faking a file system mount.
  575. config BUSYBOX_FEATURE_MOUNT_VERBOSE
  576. bool "Support option -v"
  577. default n
  578. depends on BUSYBOX_MOUNT
  579. help
  580. Enable multi-level -v[vv...] verbose messages. Useful if you
  581. debug mount problems and want to see what is exactly passed
  582. to the kernel.
  583. config BUSYBOX_FEATURE_MOUNT_HELPERS
  584. bool "Support mount helpers"
  585. default y
  586. depends on BUSYBOX_MOUNT
  587. help
  588. Enable mounting of virtual file systems via external helpers.
  589. E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call
  590. "obexfs -b00.11.22.33.44.55 /mnt"
  591. Also "mount -t sometype [-o opts] fs /mnt" will try
  592. "sometype [-o opts] fs /mnt" if simple mount syscall fails.
  593. The idea is to use such virtual filesystems in /etc/fstab.
  594. config BUSYBOX_FEATURE_MOUNT_LABEL
  595. bool "Support specifiying devices by label or UUID"
  596. default n
  597. depends on BUSYBOX_MOUNT
  598. select BUSYBOX_VOLUMEID
  599. help
  600. This allows for specifying a device by label or uuid, rather than by
  601. name. This feature utilizes the same functionality as blkid/findfs.
  602. config BUSYBOX_FEATURE_MOUNT_NFS
  603. bool "Support mounting NFS file systems"
  604. default y
  605. depends on BUSYBOX_MOUNT
  606. select BUSYBOX_FEATURE_HAVE_RPC
  607. select BUSYBOX_FEATURE_SYSLOG
  608. help
  609. Enable mounting of NFS file systems.
  610. config BUSYBOX_FEATURE_MOUNT_CIFS
  611. bool "Support mounting CIFS/SMB file systems"
  612. default y
  613. depends on BUSYBOX_MOUNT
  614. help
  615. Enable support for samba mounts.
  616. config BUSYBOX_FEATURE_MOUNT_FLAGS
  617. depends on BUSYBOX_MOUNT
  618. bool "Support lots of -o flags in mount"
  619. default y
  620. help
  621. Without this, mount only supports ro/rw/remount. With this, it
  622. supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
  623. noatime, diratime, nodiratime, loud, bind, move, shared, slave,
  624. private, unbindable, rshared, rslave, rprivate, and runbindable.
  625. config BUSYBOX_FEATURE_MOUNT_FSTAB
  626. depends on BUSYBOX_MOUNT
  627. bool "Support /etc/fstab and -a"
  628. default y
  629. help
  630. Support mount all and looking for files in /etc/fstab.
  631. config BUSYBOX_PIVOT_ROOT
  632. bool "pivot_root"
  633. default n
  634. help
  635. The pivot_root utility swaps the mount points for the root filesystem
  636. with some other mounted filesystem. This allows you to do all sorts
  637. of wild and crazy things with your Linux system and is far more
  638. powerful than 'chroot'.
  639. Note: This is for initrd in linux 2.4. Under initramfs (introduced
  640. in linux 2.6) use switch_root instead.
  641. config BUSYBOX_RDATE
  642. bool "rdate"
  643. default n
  644. help
  645. The rdate utility allows you to synchronize the date and time of your
  646. system clock with the date and time of a remote networked system using
  647. the RFC868 protocol, which is built into the inetd daemon on most
  648. systems.
  649. config BUSYBOX_RDEV
  650. bool "rdev"
  651. default n
  652. help
  653. Print the device node associated with the filesystem mounted at '/'.
  654. config BUSYBOX_READPROFILE
  655. bool "readprofile"
  656. default n
  657. help
  658. This allows you to parse /proc/profile for basic profiling.
  659. config BUSYBOX_RTCWAKE
  660. bool "rtcwake"
  661. default n
  662. help
  663. Enter a system sleep state until specified wakeup time.
  664. config BUSYBOX_SCRIPT
  665. bool "script"
  666. default n
  667. help
  668. The script makes typescript of terminal session.
  669. config BUSYBOX_SCRIPTREPLAY
  670. bool "scriptreplay"
  671. default n
  672. help
  673. This program replays a typescript, using timing information
  674. given by script -t.
  675. config BUSYBOX_SETARCH
  676. bool "setarch"
  677. default n
  678. help
  679. The linux32 utility is used to create a 32bit environment for the
  680. specified program (usually a shell). It only makes sense to have
  681. this util on a system that supports both 64bit and 32bit userland
  682. (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
  683. config BUSYBOX_SWAPONOFF
  684. bool "swaponoff"
  685. default n
  686. help
  687. This option enables both the 'swapon' and the 'swapoff' utilities.
  688. Once you have created some swap space using 'mkswap', you also need
  689. to enable your swap space with the 'swapon' utility. The 'swapoff'
  690. utility is used, typically at system shutdown, to disable any swap
  691. space. If you are not using any swap space, you can leave this
  692. option disabled.
  693. config BUSYBOX_FEATURE_SWAPON_PRI
  694. bool "Support priority option -p"
  695. default n
  696. depends on BUSYBOX_SWAPONOFF
  697. help
  698. Enable support for setting swap device priority in swapon.
  699. config BUSYBOX_SWITCH_ROOT
  700. bool "switch_root"
  701. default n
  702. help
  703. The switch_root utility is used from initramfs to select a new
  704. root device. Under initramfs, you have to use this instead of
  705. pivot_root. (Stop reading here if you don't care why.)
  706. Booting with initramfs extracts a gzipped cpio archive into rootfs
  707. (which is a variant of ramfs/tmpfs). Because rootfs can't be moved
  708. or unmounted*, pivot_root will not work from initramfs. Instead,
  709. switch_root deletes everything out of rootfs (including itself),
  710. does a mount --move that overmounts rootfs with the new root, and
  711. then execs the specified init program.
  712. * Because the Linux kernel uses rootfs internally as the starting
  713. and ending point for searching through the kernel's doubly linked
  714. list of active mount points. That's why.
  715. config BUSYBOX_UMOUNT
  716. bool "umount"
  717. default y
  718. help
  719. When you want to remove a mounted filesystem from its current mount
  720. point, for example when you are shutting down the system, the
  721. 'umount' utility is the tool to use. If you enabled the 'mount'
  722. utility, you almost certainly also want to enable 'umount'.
  723. config BUSYBOX_FEATURE_UMOUNT_ALL
  724. bool "Support option -a"
  725. default n
  726. depends on BUSYBOX_UMOUNT
  727. help
  728. Support -a option to unmount all currently mounted filesystems.
  729. comment "Common options for mount/umount"
  730. depends on BUSYBOX_MOUNT || BUSYBOX_UMOUNT
  731. config BUSYBOX_FEATURE_MOUNT_LOOP
  732. bool "Support loopback mounts"
  733. default n
  734. depends on BUSYBOX_MOUNT || BUSYBOX_UMOUNT
  735. help
  736. Enabling this feature allows automatic mounting of files (containing
  737. filesystem images) via the linux kernel's loopback devices.
  738. The mount command will detect you are trying to mount a file instead
  739. of a block device, and transparently associate the file with a
  740. loopback device. The umount command will also free that loopback
  741. device.
  742. You can still use the 'losetup' utility (to manually associate files
  743. with loop devices) if you need to do something advanced, such as
  744. specify an offset or cryptographic options to the loopback device.
  745. (If you don't want umount to free the loop device, use "umount -D".)
  746. config BUSYBOX_FEATURE_MTAB_SUPPORT
  747. bool "Support for the old /etc/mtab file"
  748. default n
  749. depends on BUSYBOX_MOUNT || BUSYBOX_UMOUNT
  750. select BUSYBOX_FEATURE_MOUNT_FAKE
  751. help
  752. Historically, Unix systems kept track of the currently mounted
  753. partitions in the file "/etc/mtab". These days, the kernel exports
  754. the list of currently mounted partitions in "/proc/mounts", rendering
  755. the old mtab file obsolete. (In modern systems, /etc/mtab should be
  756. a symlink to /proc/mounts.)
  757. The only reason to have mount maintain an /etc/mtab file itself is if
  758. your stripped-down embedded system does not have a /proc directory.
  759. If you must use this, keep in mind it's inherently brittle (for
  760. example a mount under chroot won't update it), can't handle modern
  761. features like separate per-process filesystem namespaces, requires
  762. that your /etc directory be writeable, tends to get easily confused
  763. by --bind or --move mounts, won't update if you rename a directory
  764. that contains a mount point, and so on. (In brief: avoid.)
  765. About the only reason to use this is if you've removed /proc from
  766. your kernel.
  767. endmenu