Config.in 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884
  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 n
  251. help
  252. The hwclock utility is used to read and set the hardware clock
  253. on a system. This is primarily used to set the current time on
  254. shutdown in the hardware clock, so the hardware will keep the
  255. correct time when Linux is _not_ running.
  256. config BUSYBOX_FEATURE_HWCLOCK_LONG_OPTIONS
  257. bool "Support long options (--hctosys,...)"
  258. default n
  259. depends on BUSYBOX_HWCLOCK && BUSYBOX_LONG_OPTS
  260. help
  261. By default, the hwclock utility only uses short options. If you
  262. are overly fond of its long options, such as --hctosys, --utc, etc)
  263. then enable this option.
  264. config BUSYBOX_FEATURE_HWCLOCK_ADJTIME_FHS
  265. bool "Use FHS /var/lib/hwclock/adjtime"
  266. default y
  267. depends on BUSYBOX_HWCLOCK
  268. help
  269. Starting with FHS 2.3, the adjtime state file is supposed to exist
  270. at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
  271. to use the FHS behavior, answer Y here, otherwise answer N for the
  272. classic /etc/adjtime path.
  273. pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
  274. config BUSYBOX_IPCRM
  275. bool "ipcrm"
  276. default n
  277. select BUSYBOX_FEATURE_SUID
  278. help
  279. The ipcrm utility allows the removal of System V interprocess
  280. communication (IPC) objects and the associated data structures
  281. from the system.
  282. config BUSYBOX_IPCS
  283. bool "ipcs"
  284. default n
  285. select BUSYBOX_FEATURE_SUID
  286. help
  287. The ipcs utility is used to provide information on the currently
  288. allocated System V interprocess (IPC) objects in the system.
  289. config BUSYBOX_LOSETUP
  290. bool "losetup"
  291. default n
  292. help
  293. losetup is used to associate or detach a loop device with a regular
  294. file or block device, and to query the status of a loop device. This
  295. version does not currently support enabling data encryption.
  296. config BUSYBOX_MDEV
  297. bool "mdev"
  298. default y
  299. help
  300. mdev is a mini-udev implementation for dynamically creating device
  301. nodes in the /dev directory.
  302. For more information, please see docs/mdev.txt
  303. config BUSYBOX_FEATURE_MDEV_CONF
  304. bool "Support /etc/mdev.conf"
  305. default y
  306. depends on BUSYBOX_MDEV
  307. help
  308. Add support for the mdev config file to control ownership and
  309. permissions of the device nodes.
  310. For more information, please see docs/mdev.txt
  311. config BUSYBOX_FEATURE_MDEV_RENAME
  312. bool "Support subdirs/symlinks"
  313. default y
  314. depends on BUSYBOX_FEATURE_MDEV_CONF
  315. help
  316. Add support for renaming devices and creating symlinks.
  317. For more information, please see docs/mdev.txt
  318. config BUSYBOX_FEATURE_MDEV_RENAME_REGEXP
  319. bool "Support regular expressions substitutions when renaming device"
  320. default y
  321. depends on BUSYBOX_FEATURE_MDEV_RENAME
  322. help
  323. Add support for regular expressions substitutions when renaming
  324. device.
  325. config BUSYBOX_FEATURE_MDEV_EXEC
  326. bool "Support command execution at device addition/removal"
  327. default y
  328. depends on BUSYBOX_FEATURE_MDEV_CONF
  329. help
  330. This adds support for an optional field to /etc/mdev.conf for
  331. executing commands when devices are created/removed.
  332. For more information, please see docs/mdev.txt
  333. config BUSYBOX_FEATURE_MDEV_LOAD_FIRMWARE
  334. bool "Support loading of firmwares"
  335. default y
  336. depends on BUSYBOX_MDEV
  337. help
  338. Some devices need to load firmware before they can be usable.
  339. These devices will request userspace look up the files in
  340. /lib/firmware/ and if it exists, send it to the kernel for
  341. loading into the hardware.
  342. config BUSYBOX_MKSWAP
  343. bool "mkswap"
  344. default n
  345. help
  346. The mkswap utility is used to configure a file or disk partition as
  347. Linux swap space. This allows Linux to use the entire file or
  348. partition as if it were additional RAM, which can greatly increase
  349. the capability of low-memory machines. This additional memory is
  350. much slower than real RAM, but can be very helpful at preventing your
  351. applications being killed by the Linux out of memory (OOM) killer.
  352. Once you have created swap space using 'mkswap' you need to enable
  353. the swap space using the 'swapon' utility.
  354. config BUSYBOX_FEATURE_MKSWAP_UUID
  355. bool "UUID support"
  356. default n
  357. depends on BUSYBOX_MKSWAP
  358. help
  359. Generate swap spaces with universally unique identifiers.
  360. config BUSYBOX_MORE
  361. bool "more"
  362. default n
  363. help
  364. more is a simple utility which allows you to read text one screen
  365. sized page at a time. If you want to read text that is larger than
  366. the screen, and you are using anything faster than a 300 baud modem,
  367. you will probably find this utility very helpful. If you don't have
  368. any need to reading text files, you can leave this disabled.
  369. config BUSYBOX_FEATURE_USE_TERMIOS
  370. bool "Use termios to manipulate the screen"
  371. default y
  372. depends on BUSYBOX_MORE || BUSYBOX_TOP
  373. help
  374. This option allows utilities such as 'more' and 'top' to determine
  375. the size of the screen. If you leave this disabled, your utilities
  376. that display things on the screen will be especially primitive and
  377. will be unable to determine the current screen size, and will be
  378. unable to move the cursor.
  379. config BUSYBOX_VOLUMEID
  380. bool #No description makes it a hidden option
  381. default n
  382. config BUSYBOX_FEATURE_VOLUMEID_EXT
  383. bool "Ext filesystem"
  384. default n
  385. depends on BUSYBOX_VOLUMEID
  386. help
  387. TODO
  388. config BUSYBOX_FEATURE_VOLUMEID_REISERFS
  389. bool "Reiser filesystem"
  390. default n
  391. depends on BUSYBOX_VOLUMEID
  392. help
  393. TODO
  394. config BUSYBOX_FEATURE_VOLUMEID_FAT
  395. bool "fat filesystem"
  396. default n
  397. depends on BUSYBOX_VOLUMEID
  398. help
  399. TODO
  400. config BUSYBOX_FEATURE_VOLUMEID_HFS
  401. bool "hfs filesystem"
  402. default n
  403. depends on BUSYBOX_VOLUMEID
  404. help
  405. TODO
  406. config BUSYBOX_FEATURE_VOLUMEID_JFS
  407. bool "jfs filesystem"
  408. default n
  409. depends on BUSYBOX_VOLUMEID
  410. help
  411. TODO
  412. ### config FEATURE_VOLUMEID_UFS
  413. ### bool "ufs filesystem"
  414. ### default n
  415. ### depends on BUSYBOX_VOLUMEID
  416. ### help
  417. ### TODO
  418. config BUSYBOX_FEATURE_VOLUMEID_XFS
  419. bool "xfs filesystem"
  420. default n
  421. depends on BUSYBOX_VOLUMEID
  422. help
  423. TODO
  424. config BUSYBOX_FEATURE_VOLUMEID_NTFS
  425. bool "ntfs filesystem"
  426. default n
  427. depends on BUSYBOX_VOLUMEID
  428. help
  429. TODO
  430. config BUSYBOX_FEATURE_VOLUMEID_ISO9660
  431. bool "iso9660 filesystem"
  432. default n
  433. depends on BUSYBOX_VOLUMEID
  434. help
  435. TODO
  436. config BUSYBOX_FEATURE_VOLUMEID_UDF
  437. bool "udf filesystem"
  438. default n
  439. depends on BUSYBOX_VOLUMEID
  440. help
  441. TODO
  442. config BUSYBOX_FEATURE_VOLUMEID_LUKS
  443. bool "luks filesystem"
  444. default n
  445. depends on BUSYBOX_VOLUMEID
  446. help
  447. TODO
  448. config BUSYBOX_FEATURE_VOLUMEID_LINUXSWAP
  449. bool "linux swap filesystem"
  450. default n
  451. depends on BUSYBOX_VOLUMEID
  452. help
  453. TODO
  454. ### config FEATURE_VOLUMEID_LVM
  455. ### bool "lvm"
  456. ### default n
  457. ### depends on BUSYBOX_VOLUMEID
  458. ### help
  459. ### TODO
  460. config BUSYBOX_FEATURE_VOLUMEID_CRAMFS
  461. bool "cramfs filesystem"
  462. default n
  463. depends on BUSYBOX_VOLUMEID
  464. help
  465. TODO
  466. ### config FEATURE_VOLUMEID_HPFS
  467. ### bool "hpfs filesystem"
  468. ### default n
  469. ### depends on BUSYBOX_VOLUMEID
  470. ### help
  471. ### TODO
  472. config BUSYBOX_FEATURE_VOLUMEID_ROMFS
  473. bool "romfs filesystem"
  474. default n
  475. depends on BUSYBOX_VOLUMEID
  476. help
  477. TODO
  478. config BUSYBOX_FEATURE_VOLUMEID_SYSV
  479. bool "sysv filesystem"
  480. default n
  481. depends on BUSYBOX_VOLUMEID
  482. help
  483. TODO
  484. ### config FEATURE_VOLUMEID_MINIX
  485. ### bool "minix filesystem"
  486. ### default n
  487. ### depends on BUSYBOX_VOLUMEID
  488. ### help
  489. ### TODO
  490. ### These only detect partition tables - not used (yet?)
  491. ### config FEATURE_VOLUMEID_MAC
  492. ### bool "mac filesystem"
  493. ### default n
  494. ### depends on BUSYBOX_VOLUMEID
  495. ### help
  496. ### TODO
  497. ###
  498. ### config FEATURE_VOLUMEID_MSDOS
  499. ### bool "msdos filesystem"
  500. ### default n
  501. ### depends on BUSYBOX_VOLUMEID
  502. ### help
  503. ### TODO
  504. config BUSYBOX_FEATURE_VOLUMEID_OCFS2
  505. bool "ocfs2 filesystem"
  506. default n
  507. depends on BUSYBOX_VOLUMEID
  508. help
  509. TODO
  510. ### config FEATURE_VOLUMEID_HIGHPOINTRAID
  511. ### bool "highpoint raid"
  512. ### default n
  513. ### depends on BUSYBOX_VOLUMEID
  514. ### help
  515. ### TODO
  516. ### config FEATURE_VOLUMEID_ISWRAID
  517. ### bool "intel raid"
  518. ### default n
  519. ### depends on BUSYBOX_VOLUMEID
  520. ### help
  521. ### TODO
  522. ### config FEATURE_VOLUMEID_LSIRAID
  523. ### bool "lsi raid"
  524. ### default n
  525. ### depends on BUSYBOX_VOLUMEID
  526. ### help
  527. ### TODO
  528. ### config FEATURE_VOLUMEID_VIARAID
  529. ### bool "via raid"
  530. ### default n
  531. ### depends on BUSYBOX_VOLUMEID
  532. ### help
  533. ### TODO
  534. ### config FEATURE_VOLUMEID_SILICONRAID
  535. ### bool "silicon raid"
  536. ### default n
  537. ### depends on BUSYBOX_VOLUMEID
  538. ### help
  539. ### TODO
  540. ### config FEATURE_VOLUMEID_NVIDIARAID
  541. ### bool "nvidia raid"
  542. ### default n
  543. ### depends on BUSYBOX_VOLUMEID
  544. ### help
  545. ### TODO
  546. ### config FEATURE_VOLUMEID_PROMISERAID
  547. ### bool "promise raid"
  548. ### default n
  549. ### depends on BUSYBOX_VOLUMEID
  550. ### help
  551. ### TODO
  552. config BUSYBOX_FEATURE_VOLUMEID_LINUXRAID
  553. bool "linuxraid"
  554. default n
  555. depends on BUSYBOX_VOLUMEID
  556. help
  557. TODO
  558. config BUSYBOX_MOUNT
  559. bool "mount"
  560. default y
  561. help
  562. All files and filesystems in Unix are arranged into one big directory
  563. tree. The 'mount' utility is used to graft a filesystem onto a
  564. particular part of the tree. A filesystem can either live on a block
  565. device, or it can be accessible over the network, as is the case with
  566. NFS filesystems. Most people using BusyBox will also want to enable
  567. the 'mount' utility.
  568. config BUSYBOX_FEATURE_MOUNT_FAKE
  569. bool "Support option -f"
  570. default n
  571. depends on BUSYBOX_MOUNT
  572. help
  573. Enable support for faking a file system mount.
  574. config BUSYBOX_FEATURE_MOUNT_VERBOSE
  575. bool "Support option -v"
  576. default n
  577. depends on BUSYBOX_MOUNT
  578. help
  579. Enable multi-level -v[vv...] verbose messages. Useful if you
  580. debug mount problems and want to see what is exactly passed
  581. to the kernel.
  582. config BUSYBOX_FEATURE_MOUNT_HELPERS
  583. bool "Support mount helpers"
  584. default y
  585. depends on BUSYBOX_MOUNT
  586. help
  587. Enable mounting of virtual file systems via external helpers.
  588. E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call
  589. "obexfs -b00.11.22.33.44.55 /mnt"
  590. Also "mount -t sometype [-o opts] fs /mnt" will try
  591. "sometype [-o opts] fs /mnt" if simple mount syscall fails.
  592. The idea is to use such virtual filesystems in /etc/fstab.
  593. config BUSYBOX_FEATURE_MOUNT_LABEL
  594. bool "Support specifiying devices by label or UUID"
  595. default n
  596. depends on BUSYBOX_MOUNT
  597. select BUSYBOX_VOLUMEID
  598. help
  599. This allows for specifying a device by label or uuid, rather than by
  600. name. This feature utilizes the same functionality as blkid/findfs.
  601. config BUSYBOX_FEATURE_MOUNT_NFS
  602. bool "Support mounting NFS file systems"
  603. default y
  604. depends on BUSYBOX_MOUNT
  605. select BUSYBOX_FEATURE_HAVE_RPC
  606. select BUSYBOX_FEATURE_SYSLOG
  607. help
  608. Enable mounting of NFS file systems.
  609. config BUSYBOX_FEATURE_MOUNT_CIFS
  610. bool "Support mounting CIFS/SMB file systems"
  611. default y
  612. depends on BUSYBOX_MOUNT
  613. help
  614. Enable support for samba mounts.
  615. config BUSYBOX_FEATURE_MOUNT_FLAGS
  616. depends on BUSYBOX_MOUNT
  617. bool "Support lots of -o flags in mount"
  618. default y
  619. help
  620. Without this, mount only supports ro/rw/remount. With this, it
  621. supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
  622. noatime, diratime, nodiratime, loud, bind, move, shared, slave,
  623. private, unbindable, rshared, rslave, rprivate, and runbindable.
  624. config BUSYBOX_FEATURE_MOUNT_FSTAB
  625. depends on BUSYBOX_MOUNT
  626. bool "Support /etc/fstab and -a"
  627. default y
  628. help
  629. Support mount all and looking for files in /etc/fstab.
  630. config BUSYBOX_PIVOT_ROOT
  631. bool "pivot_root"
  632. default n
  633. help
  634. The pivot_root utility swaps the mount points for the root filesystem
  635. with some other mounted filesystem. This allows you to do all sorts
  636. of wild and crazy things with your Linux system and is far more
  637. powerful than 'chroot'.
  638. Note: This is for initrd in linux 2.4. Under initramfs (introduced
  639. in linux 2.6) use switch_root instead.
  640. config BUSYBOX_RDATE
  641. bool "rdate"
  642. default n
  643. help
  644. The rdate utility allows you to synchronize the date and time of your
  645. system clock with the date and time of a remote networked system using
  646. the RFC868 protocol, which is built into the inetd daemon on most
  647. systems.
  648. config BUSYBOX_RDEV
  649. bool "rdev"
  650. default n
  651. help
  652. Print the device node associated with the filesystem mounted at '/'.
  653. config BUSYBOX_READPROFILE
  654. bool "readprofile"
  655. default n
  656. help
  657. This allows you to parse /proc/profile for basic profiling.
  658. config BUSYBOX_RTCWAKE
  659. bool "rtcwake"
  660. default n
  661. help
  662. Enter a system sleep state until specified wakeup time.
  663. config BUSYBOX_SCRIPT
  664. bool "script"
  665. default n
  666. help
  667. The script makes typescript of terminal session.
  668. config BUSYBOX_SCRIPTREPLAY
  669. bool "scriptreplay"
  670. default n
  671. help
  672. This program replays a typescript, using timing information
  673. given by script -t.
  674. config BUSYBOX_SETARCH
  675. bool "setarch"
  676. default n
  677. help
  678. The linux32 utility is used to create a 32bit environment for the
  679. specified program (usually a shell). It only makes sense to have
  680. this util on a system that supports both 64bit and 32bit userland
  681. (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
  682. config BUSYBOX_SWAPONOFF
  683. bool "swaponoff"
  684. default n
  685. help
  686. This option enables both the 'swapon' and the 'swapoff' utilities.
  687. Once you have created some swap space using 'mkswap', you also need
  688. to enable your swap space with the 'swapon' utility. The 'swapoff'
  689. utility is used, typically at system shutdown, to disable any swap
  690. space. If you are not using any swap space, you can leave this
  691. option disabled.
  692. config BUSYBOX_FEATURE_SWAPON_PRI
  693. bool "Support priority option -p"
  694. default n
  695. depends on BUSYBOX_SWAPONOFF
  696. help
  697. Enable support for setting swap device priority in swapon.
  698. config BUSYBOX_SWITCH_ROOT
  699. bool "switch_root"
  700. default n
  701. help
  702. The switch_root utility is used from initramfs to select a new
  703. root device. Under initramfs, you have to use this instead of
  704. pivot_root. (Stop reading here if you don't care why.)
  705. Booting with initramfs extracts a gzipped cpio archive into rootfs
  706. (which is a variant of ramfs/tmpfs). Because rootfs can't be moved
  707. or unmounted*, pivot_root will not work from initramfs. Instead,
  708. switch_root deletes everything out of rootfs (including itself),
  709. does a mount --move that overmounts rootfs with the new root, and
  710. then execs the specified init program.
  711. * Because the Linux kernel uses rootfs internally as the starting
  712. and ending point for searching through the kernel's doubly linked
  713. list of active mount points. That's why.
  714. config BUSYBOX_UMOUNT
  715. bool "umount"
  716. default y
  717. help
  718. When you want to remove a mounted filesystem from its current mount
  719. point, for example when you are shutting down the system, the
  720. 'umount' utility is the tool to use. If you enabled the 'mount'
  721. utility, you almost certainly also want to enable 'umount'.
  722. config BUSYBOX_FEATURE_UMOUNT_ALL
  723. bool "Support option -a"
  724. default n
  725. depends on BUSYBOX_UMOUNT
  726. help
  727. Support -a option to unmount all currently mounted filesystems.
  728. comment "Common options for mount/umount"
  729. depends on BUSYBOX_MOUNT || BUSYBOX_UMOUNT
  730. config BUSYBOX_FEATURE_MOUNT_LOOP
  731. bool "Support loopback mounts"
  732. default n
  733. depends on BUSYBOX_MOUNT || BUSYBOX_UMOUNT
  734. help
  735. Enabling this feature allows automatic mounting of files (containing
  736. filesystem images) via the linux kernel's loopback devices.
  737. The mount command will detect you are trying to mount a file instead
  738. of a block device, and transparently associate the file with a
  739. loopback device. The umount command will also free that loopback
  740. device.
  741. You can still use the 'losetup' utility (to manually associate files
  742. with loop devices) if you need to do something advanced, such as
  743. specify an offset or cryptographic options to the loopback device.
  744. (If you don't want umount to free the loop device, use "umount -D".)
  745. config BUSYBOX_FEATURE_MTAB_SUPPORT
  746. bool "Support for the old /etc/mtab file"
  747. default n
  748. depends on BUSYBOX_MOUNT || BUSYBOX_UMOUNT
  749. select BUSYBOX_FEATURE_MOUNT_FAKE
  750. help
  751. Historically, Unix systems kept track of the currently mounted
  752. partitions in the file "/etc/mtab". These days, the kernel exports
  753. the list of currently mounted partitions in "/proc/mounts", rendering
  754. the old mtab file obsolete. (In modern systems, /etc/mtab should be
  755. a symlink to /proc/mounts.)
  756. The only reason to have mount maintain an /etc/mtab file itself is if
  757. your stripped-down embedded system does not have a /proc directory.
  758. If you must use this, keep in mind it's inherently brittle (for
  759. example a mount under chroot won't update it), can't handle modern
  760. features like separate per-process filesystem namespaces, requires
  761. that your /etc directory be writeable, tends to get easily confused
  762. by --bind or --move mounts, won't update if you rename a directory
  763. that contains a mount point, and so on. (In brief: avoid.)
  764. About the only reason to use this is if you've removed /proc from
  765. your kernel.
  766. endmenu