Config.src 26 KB

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