2002-12-05 14:11:41 +05:30
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see scripts/kbuild/config-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "Linux System Utilities"
|
|
|
|
|
2010-06-08 15:45:11 +05:30
|
|
|
INSERT
|
|
|
|
|
2008-11-29 14:35:50 +05:30
|
|
|
config ACPID
|
|
|
|
bool "acpid"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2008-11-29 14:35:50 +05:30
|
|
|
help
|
|
|
|
acpid listens to ACPI events coming either in textual form from
|
|
|
|
/proc/acpi/event (though it is marked deprecated it is still widely
|
|
|
|
used and _is_ a standard) or in binary form from specified evdevs
|
|
|
|
(just use /dev/input/event*).
|
|
|
|
|
|
|
|
It parses the event to retrieve ACTION and a possible PARAMETER.
|
|
|
|
It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts
|
|
|
|
(if the resulting path is a directory) or directly as an executable.
|
|
|
|
|
|
|
|
N.B. acpid relies on run-parts so have the latter installed.
|
|
|
|
|
|
|
|
config FEATURE_ACPID_COMPAT
|
|
|
|
bool "Accept and ignore redundant options"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2008-11-29 14:35:50 +05:30
|
|
|
depends on ACPID
|
|
|
|
help
|
|
|
|
Accept and ignore compatibility options -g -m -s -S -v.
|
|
|
|
|
2008-10-12 16:50:08 +05:30
|
|
|
config BLKID
|
|
|
|
bool "blkid"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2008-10-12 16:50:08 +05:30
|
|
|
select VOLUMEID
|
|
|
|
help
|
|
|
|
Lists labels and UUIDs of all filesystems.
|
|
|
|
WARNING:
|
|
|
|
With all submodules selected, it will add ~8k to busybox.
|
|
|
|
|
2010-12-30 05:10:11 +05:30
|
|
|
config FEATURE_BLKID_TYPE
|
|
|
|
bool "Print filesystem type"
|
|
|
|
default n
|
|
|
|
depends on BLKID
|
|
|
|
help
|
|
|
|
Show TYPE="filesystem type"
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config DMESG
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "dmesg"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2008-07-22 23:57:53 +05:30
|
|
|
dmesg is used to examine or control the kernel ring buffer. When the
|
2003-02-27 08:44:04 +05:30
|
|
|
Linux kernel prints messages to the system log, they are stored in
|
2008-07-22 23:57:53 +05:30
|
|
|
the kernel ring buffer. You can use dmesg to print the kernel's ring
|
2003-02-27 08:44:04 +05:30
|
|
|
buffer, clear the kernel ring buffer, change the size of the kernel
|
|
|
|
ring buffer, and change the priority level at which kernel messages
|
2008-07-22 23:57:53 +05:30
|
|
|
are also logged to the system console. Enable this option if you
|
2003-02-27 08:44:04 +05:30
|
|
|
wish to enable the 'dmesg' utility.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_DMESG_PRETTY
|
2008-03-17 14:43:22 +05:30
|
|
|
bool "Pretty dmesg output"
|
2006-07-27 22:10:55 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on DMESG
|
2006-07-27 22:10:55 +05:30
|
|
|
help
|
|
|
|
If you wish to scrub the syslog level from the output, say 'Y' here.
|
2008-07-22 23:57:53 +05:30
|
|
|
The syslog level is a string prefixed to every line with the form
|
|
|
|
"<#>".
|
2006-07-27 22:10:55 +05:30
|
|
|
|
|
|
|
With this option you will see:
|
|
|
|
# dmesg
|
|
|
|
Linux version 2.6.17.4 .....
|
|
|
|
BIOS-provided physical RAM map:
|
|
|
|
BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
|
|
|
|
|
|
|
|
Without this option you will see:
|
|
|
|
# dmesg
|
|
|
|
<5>Linux version 2.6.17.4 .....
|
|
|
|
<6>BIOS-provided physical RAM map:
|
|
|
|
<6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FBSET
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "fbset"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
fbset is used to show or change the settings of a Linux frame buffer
|
2008-07-22 23:57:53 +05:30
|
|
|
device. The frame buffer device provides a simple and unique
|
|
|
|
interface to access a graphics display. Enable this option
|
2003-10-22 15:28:56 +05:30
|
|
|
if you wish to enable the 'fbset' utility.
|
2003-02-27 08:44:04 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_FBSET_FANCY
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Turn on extra fbset options"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FBSET
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
This option enables extended fbset options, allowing one to set the
|
2008-07-22 23:57:53 +05:30
|
|
|
framebuffer size, color depth, etc. interface to access a graphics
|
|
|
|
display. Enable this option if you wish to enable extended fbset
|
2003-02-27 08:44:04 +05:30
|
|
|
options.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_FBSET_READMODE
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Turn on fbset readmode support"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FBSET
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
This option allows fbset to read the video mode database stored by
|
|
|
|
default as /etc/fb.modes, which can be used to set frame buffer
|
|
|
|
device to pre-defined video modes.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FDFLUSH
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "fdflush"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-10-22 15:28:56 +05:30
|
|
|
fdflush is only needed when changing media on slightly-broken
|
2008-07-22 23:57:53 +05:30
|
|
|
removable media drives. It is used to make Linux believe that a
|
2003-02-27 08:44:04 +05:30
|
|
|
hardware disk-change switch has been actuated, which causes Linux to
|
2008-07-22 23:57:53 +05:30
|
|
|
forget anything it has cached from the previous media. If you have
|
2003-02-27 08:44:04 +05:30
|
|
|
such a slightly-broken drive, you will need to run fdflush every time
|
2008-07-22 23:57:53 +05:30
|
|
|
you change a disk. Most people have working hardware and can safely
|
2003-10-22 15:28:56 +05:30
|
|
|
leave this disabled.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FDFORMAT
|
2003-07-05 13:21:31 +05:30
|
|
|
bool "fdformat"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2003-07-05 13:21:31 +05:30
|
|
|
help
|
2003-10-22 15:28:56 +05:30
|
|
|
fdformat is used to low-level format a floppy disk.
|
2003-07-05 13:21:31 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FDISK
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "fdisk"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
The fdisk utility is used to divide hard disks into one or more
|
2008-07-22 23:57:53 +05:30
|
|
|
logical disks, which are generally called partitions. This utility
|
2004-03-15 13:59:22 +05:30
|
|
|
can be used to list and edit the set of partitions or BSD style
|
2003-02-27 08:44:04 +05:30
|
|
|
'disk slices' that are defined on a hard drive.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2004-05-19 16:19:17 +05:30
|
|
|
config FDISK_SUPPORT_LARGE_DISKS
|
2008-03-17 14:43:22 +05:30
|
|
|
bool "Support over 4GB disks"
|
2004-05-19 16:19:17 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FDISK
|
2011-04-16 21:37:35 +05:30
|
|
|
depends on !LFS # with LFS no special code is needed
|
2004-05-19 16:19:17 +05:30
|
|
|
help
|
|
|
|
Enable this option to support large disks > 4GB.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_FDISK_WRITABLE
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Write support"
|
2003-01-04 17:26:06 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FDISK
|
2003-01-04 17:26:06 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
Enabling this option allows you to create or change a partition table
|
2008-07-22 23:57:53 +05:30
|
|
|
and write those changes out to disk. If you leave this option
|
2003-02-27 08:44:04 +05:30
|
|
|
disabled, you will only be able to view the partition table.
|
2003-01-04 17:26:06 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_AIX_LABEL
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Support AIX disklabels"
|
2002-12-05 14:11:41 +05:30
|
|
|
default n
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FDISK && FEATURE_FDISK_WRITABLE
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
Enabling this option allows you to create or change AIX disklabels.
|
|
|
|
Most people can safely leave this option disabled.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_SGI_LABEL
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Support SGI disklabels"
|
2002-12-05 14:11:41 +05:30
|
|
|
default n
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FDISK && FEATURE_FDISK_WRITABLE
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
Enabling this option allows you to create or change SGI disklabels.
|
|
|
|
Most people can safely leave this option disabled.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_SUN_LABEL
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Support SUN disklabels"
|
2002-12-05 14:11:41 +05:30
|
|
|
default n
|
2007-01-24 13:54:43 +05:30
|
|
|
depends on FDISK && FEATURE_FDISK_WRITABLE
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
Enabling this option allows you to create or change SUN disklabels.
|
|
|
|
Most people can safely leave this option disabled.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_OSF_LABEL
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Support BSD disklabels"
|
2002-12-05 14:11:41 +05:30
|
|
|
default n
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FDISK && FEATURE_FDISK_WRITABLE
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
Enabling this option allows you to create or change BSD disklabels
|
|
|
|
and define and edit BSD disk slices.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2010-10-25 05:30:24 +05:30
|
|
|
config FEATURE_GPT_LABEL
|
|
|
|
bool "Support GPT disklabels"
|
|
|
|
default n
|
|
|
|
depends on FDISK && FEATURE_FDISK_WRITABLE
|
|
|
|
help
|
|
|
|
Enabling this option allows you to view GUID Partition Table
|
|
|
|
disklabels.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_FDISK_ADVANCED
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Support expert mode"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FDISK && FEATURE_FDISK_WRITABLE
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
Enabling this option allows you to do terribly unsafe things like
|
|
|
|
define arbitrary drive geometry, move the beginning of data in a
|
2008-07-22 23:57:53 +05:30
|
|
|
partition, and similarly evil things. Unless you have a very good
|
2003-02-27 08:44:04 +05:30
|
|
|
reason you would be wise to leave this disabled.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2008-02-19 02:38:49 +05:30
|
|
|
config FINDFS
|
|
|
|
bool "findfs"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2008-02-19 02:38:49 +05:30
|
|
|
select VOLUMEID
|
|
|
|
help
|
2008-10-13 14:23:43 +05:30
|
|
|
Prints the name of a filesystem with given label or UUID.
|
2008-02-19 02:38:49 +05:30
|
|
|
WARNING:
|
2008-03-17 14:55:05 +05:30
|
|
|
With all submodules selected, it will add ~8k to busybox.
|
2008-02-19 02:38:49 +05:30
|
|
|
|
2010-03-19 03:15:35 +05:30
|
|
|
config FLOCK
|
|
|
|
bool "flock"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2010-03-19 03:15:35 +05:30
|
|
|
help
|
|
|
|
Manage locks from shell scripts
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FREERAMDISK
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "freeramdisk"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2008-07-22 23:57:53 +05:30
|
|
|
Linux allows you to create ramdisks. This utility allows you to
|
2003-02-27 08:44:04 +05:30
|
|
|
delete them and completely free all memory that was used for the
|
2008-07-22 23:57:53 +05:30
|
|
|
ramdisk. For example, if you boot Linux into a ramdisk and later
|
2003-02-27 08:44:04 +05:30
|
|
|
pivot_root, you may want to free the memory that is allocated to the
|
2008-07-22 23:57:53 +05:30
|
|
|
ramdisk. If you have no use for freeing memory from a ramdisk, leave
|
2003-02-27 08:44:04 +05:30
|
|
|
this disabled.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FSCK_MINIX
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "fsck_minix"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
The minix filesystem is a nice, small, compact, read-write filesystem
|
2008-07-22 23:57:53 +05:30
|
|
|
with little overhead. It is not a journaling filesystem however and
|
2003-10-22 15:28:56 +05:30
|
|
|
can experience corruption if it is not properly unmounted or if the
|
2008-07-22 23:57:53 +05:30
|
|
|
power goes off in the middle of a write. This utility allows you to
|
2003-02-27 08:44:04 +05:30
|
|
|
check for and attempt to repair any corruption that occurs to a minix
|
|
|
|
filesystem.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2009-11-02 15:11:46 +05:30
|
|
|
config MKFS_EXT2
|
|
|
|
bool "mkfs_ext2"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2009-11-02 15:11:46 +05:30
|
|
|
help
|
|
|
|
Utility to create EXT2 filesystems.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config MKFS_MINIX
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "mkfs_minix"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
The minix filesystem is a nice, small, compact, read-write filesystem
|
2008-07-22 23:57:53 +05:30
|
|
|
with little overhead. If you wish to be able to create minix
|
|
|
|
filesystems this utility will do the job for you.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_MINIX2
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
|
2002-12-05 14:11:41 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FSCK_MINIX || MKFS_MINIX
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2008-07-22 23:57:53 +05:30
|
|
|
If you wish to be able to create version 2 minix filesystems, enable
|
|
|
|
this. If you enabled 'mkfs_minix' then you almost certainly want to
|
|
|
|
be using the version 2 filesystem support.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2009-11-02 15:11:46 +05:30
|
|
|
config MKFS_REISER
|
|
|
|
bool "mkfs_reiser"
|
2009-03-28 07:43:01 +05:30
|
|
|
default n
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2009-03-28 07:43:01 +05:30
|
|
|
help
|
2009-11-02 15:11:46 +05:30
|
|
|
Utility to create ReiserFS filesystems.
|
2010-06-06 07:44:28 +05:30
|
|
|
Note: this applet needs a lot of testing and polishing.
|
2009-03-28 07:43:01 +05:30
|
|
|
|
2009-11-02 15:11:46 +05:30
|
|
|
config MKFS_VFAT
|
|
|
|
bool "mkfs_vfat"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2009-10-18 01:08:19 +05:30
|
|
|
help
|
2009-11-02 15:11:46 +05:30
|
|
|
Utility to create FAT32 filesystems.
|
2009-10-18 01:08:19 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config GETOPT
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "getopt"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
The getopt utility is used to break up (parse) options in command
|
|
|
|
lines to make it easy to write complex shell scripts that also check
|
2008-07-22 23:57:53 +05:30
|
|
|
for legal (and illegal) options. If you want to write horribly
|
2003-02-27 08:44:04 +05:30
|
|
|
complex shell scripts, or use some horribly complex shell script
|
2008-07-22 23:57:53 +05:30
|
|
|
written by others, this utility may be for you. Most people will
|
2003-02-27 08:44:04 +05:30
|
|
|
wisely leave this disabled.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2009-06-19 15:40:38 +05:30
|
|
|
config FEATURE_GETOPT_LONG
|
|
|
|
bool "Support option -l"
|
|
|
|
default y if LONG_OPTS
|
2009-07-04 20:20:43 +05:30
|
|
|
depends on GETOPT
|
2009-06-19 15:40:38 +05:30
|
|
|
help
|
2009-07-04 20:20:43 +05:30
|
|
|
Enable support for long options (option -l).
|
2009-06-19 15:40:38 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config HEXDUMP
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "hexdump"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
The hexdump utility is used to display binary data in a readable
|
|
|
|
way that is comparable to the output from most hex editors.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2007-11-18 11:06:50 +05:30
|
|
|
config FEATURE_HEXDUMP_REVERSE
|
|
|
|
bool "Support -R, reverse of 'hexdump -Cv'"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2007-11-18 11:06:50 +05:30
|
|
|
depends on HEXDUMP
|
|
|
|
help
|
|
|
|
The hexdump utility is used to display binary data in an ascii
|
|
|
|
readable way. This option creates binary data from an ascii input.
|
|
|
|
NB: this option is non-standard. It's unwise to use it in scripts
|
|
|
|
aimed to be portable.
|
|
|
|
|
2008-03-17 14:43:22 +05:30
|
|
|
config HD
|
|
|
|
bool "hd"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2010-06-06 08:37:11 +05:30
|
|
|
depends on HEXDUMP
|
2008-03-17 14:43:22 +05:30
|
|
|
help
|
|
|
|
hd is an alias to hexdump -C.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config HWCLOCK
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "hwclock"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
The hwclock utility is used to read and set the hardware clock
|
2008-07-22 23:57:53 +05:30
|
|
|
on a system. This is primarily used to set the current time on
|
2003-10-22 15:28:56 +05:30
|
|
|
shutdown in the hardware clock, so the hardware will keep the
|
|
|
|
correct time when Linux is _not_ running.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_HWCLOCK_LONG_OPTIONS
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Support long options (--hctosys,...)"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2009-06-19 15:40:38 +05:30
|
|
|
depends on HWCLOCK && LONG_OPTS
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2008-07-22 23:57:53 +05:30
|
|
|
By default, the hwclock utility only uses short options. If you
|
2003-10-22 15:28:56 +05:30
|
|
|
are overly fond of its long options, such as --hctosys, --utc, etc)
|
2003-02-27 08:44:04 +05:30
|
|
|
then enable this option.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_HWCLOCK_ADJTIME_FHS
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Use FHS /var/lib/hwclock/adjtime"
|
2010-08-10 18:44:36 +05:30
|
|
|
default n # util-linux-ng in Fedora 13 still uses /etc/adjtime
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on HWCLOCK
|
2005-09-28 08:51:21 +05:30
|
|
|
help
|
|
|
|
Starting with FHS 2.3, the adjtime state file is supposed to exist
|
2008-07-22 23:57:53 +05:30
|
|
|
at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
|
2005-09-28 08:51:21 +05:30
|
|
|
to use the FHS behavior, answer Y here, otherwise answer N for the
|
|
|
|
classic /etc/adjtime path.
|
|
|
|
|
2008-07-23 00:02:06 +05:30
|
|
|
pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
|
2005-09-28 08:51:21 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config IPCRM
|
2005-06-20 10:00:36 +05:30
|
|
|
bool "ipcrm"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2005-06-20 10:00:36 +05:30
|
|
|
help
|
|
|
|
The ipcrm utility allows the removal of System V interprocess
|
|
|
|
communication (IPC) objects and the associated data structures
|
|
|
|
from the system.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config IPCS
|
2005-06-20 10:00:36 +05:30
|
|
|
bool "ipcs"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2005-06-20 10:00:36 +05:30
|
|
|
help
|
|
|
|
The ipcs utility is used to provide information on the currently
|
|
|
|
allocated System V interprocess (IPC) objects in the system.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config LOSETUP
|
2005-09-25 04:42:38 +05:30
|
|
|
bool "losetup"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2005-09-25 04:42:38 +05:30
|
|
|
help
|
|
|
|
losetup is used to associate or detach a loop device with a regular
|
2008-07-22 23:57:53 +05:30
|
|
|
file or block device, and to query the status of a loop device. This
|
2005-09-25 04:42:38 +05:30
|
|
|
version does not currently support enabling data encryption.
|
|
|
|
|
2009-12-05 22:26:25 +05:30
|
|
|
config LSPCI
|
|
|
|
bool "lspci"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
#select PLATFORM_LINUX
|
2009-12-05 22:26:25 +05:30
|
|
|
help
|
|
|
|
lspci is a utility for displaying information about PCI buses in the
|
|
|
|
system and devices connected to them.
|
|
|
|
|
|
|
|
This version uses sysfs (/sys/bus/pci/devices) only.
|
|
|
|
|
2009-12-07 06:07:34 +05:30
|
|
|
config LSUSB
|
|
|
|
bool "lsusb"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
#select PLATFORM_LINUX
|
2009-12-07 06:07:34 +05:30
|
|
|
help
|
|
|
|
lsusb is a utility for displaying information about USB buses in the
|
|
|
|
system and devices connected to them.
|
|
|
|
|
|
|
|
This version uses sysfs (/sys/bus/usb/devices) only.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config MKSWAP
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "mkswap"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
The mkswap utility is used to configure a file or disk partition as
|
2008-07-22 23:57:53 +05:30
|
|
|
Linux swap space. This allows Linux to use the entire file or
|
2003-02-27 08:44:04 +05:30
|
|
|
partition as if it were additional RAM, which can greatly increase
|
2008-07-22 23:57:53 +05:30
|
|
|
the capability of low-memory machines. This additional memory is
|
2003-02-27 08:44:04 +05:30
|
|
|
much slower than real RAM, but can be very helpful at preventing your
|
2003-10-22 15:28:56 +05:30
|
|
|
applications being killed by the Linux out of memory (OOM) killer.
|
|
|
|
Once you have created swap space using 'mkswap' you need to enable
|
|
|
|
the swap space using the 'swapon' utility.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2009-06-19 16:44:48 +05:30
|
|
|
config FEATURE_MKSWAP_UUID
|
|
|
|
bool "UUID support"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2009-06-19 16:44:48 +05:30
|
|
|
depends on MKSWAP
|
|
|
|
help
|
|
|
|
Generate swap spaces with universally unique identifiers.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config MORE
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "more"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-10-22 15:28:56 +05:30
|
|
|
more is a simple utility which allows you to read text one screen
|
2008-07-22 23:57:53 +05:30
|
|
|
sized page at a time. If you want to read text that is larger than
|
2003-02-27 08:44:04 +05:30
|
|
|
the screen, and you are using anything faster than a 300 baud modem,
|
2008-07-22 23:57:53 +05:30
|
|
|
you will probably find this utility very helpful. If you don't have
|
2003-02-27 08:44:04 +05:30
|
|
|
any need to reading text files, you can leave this disabled.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config MOUNT
|
2006-02-03 04:44:57 +05:30
|
|
|
bool "mount"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2006-02-03 04:44:57 +05:30
|
|
|
help
|
|
|
|
All files and filesystems in Unix are arranged into one big directory
|
2008-07-22 23:57:53 +05:30
|
|
|
tree. The 'mount' utility is used to graft a filesystem onto a
|
|
|
|
particular part of the tree. A filesystem can either live on a block
|
2006-02-03 04:44:57 +05:30
|
|
|
device, or it can be accessible over the network, as is the case with
|
2008-07-22 23:57:53 +05:30
|
|
|
NFS filesystems. Most people using BusyBox will also want to enable
|
2006-02-03 04:44:57 +05:30
|
|
|
the 'mount' utility.
|
|
|
|
|
2008-02-17 04:58:42 +05:30
|
|
|
config FEATURE_MOUNT_FAKE
|
2008-03-17 14:43:22 +05:30
|
|
|
bool "Support option -f"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2008-02-17 04:58:42 +05:30
|
|
|
depends on MOUNT
|
|
|
|
help
|
|
|
|
Enable support for faking a file system mount.
|
|
|
|
|
2008-02-18 17:37:49 +05:30
|
|
|
config FEATURE_MOUNT_VERBOSE
|
2008-03-17 14:43:22 +05:30
|
|
|
bool "Support option -v"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2008-02-18 17:37:49 +05:30
|
|
|
depends on MOUNT
|
|
|
|
help
|
|
|
|
Enable multi-level -v[vv...] verbose messages. Useful if you
|
|
|
|
debug mount problems and want to see what is exactly passed
|
|
|
|
to the kernel.
|
|
|
|
|
2007-09-15 18:58:30 +05:30
|
|
|
config FEATURE_MOUNT_HELPERS
|
|
|
|
bool "Support mount helpers"
|
|
|
|
default n
|
|
|
|
depends on MOUNT
|
|
|
|
help
|
|
|
|
Enable mounting of virtual file systems via external helpers.
|
2008-02-04 05:22:41 +05:30
|
|
|
E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call
|
|
|
|
"obexfs -b00.11.22.33.44.55 /mnt"
|
|
|
|
Also "mount -t sometype [-o opts] fs /mnt" will try
|
|
|
|
"sometype [-o opts] fs /mnt" if simple mount syscall fails.
|
|
|
|
The idea is to use such virtual filesystems in /etc/fstab.
|
2007-09-15 18:58:30 +05:30
|
|
|
|
2008-02-19 02:38:49 +05:30
|
|
|
config FEATURE_MOUNT_LABEL
|
2010-06-18 12:00:27 +05:30
|
|
|
bool "Support specifying devices by label or UUID"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2008-02-19 02:38:49 +05:30
|
|
|
depends on MOUNT
|
2008-03-21 23:59:01 +05:30
|
|
|
select VOLUMEID
|
2008-02-19 02:38:49 +05:30
|
|
|
help
|
|
|
|
This allows for specifying a device by label or uuid, rather than by
|
2008-10-12 16:50:08 +05:30
|
|
|
name. This feature utilizes the same functionality as blkid/findfs.
|
2009-09-20 07:58:22 +05:30
|
|
|
This also enables label or uuid support for swapon.
|
2008-02-19 02:38:49 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_MOUNT_NFS
|
2011-11-10 21:23:35 +05:30
|
|
|
bool "Support mounting NFS file systems on Linux < 2.6.23"
|
|
|
|
default n
|
2007-06-16 19:26:51 +05:30
|
|
|
depends on MOUNT
|
|
|
|
select FEATURE_HAVE_RPC
|
2006-10-05 15:47:08 +05:30
|
|
|
select FEATURE_SYSLOG
|
2006-02-03 04:44:57 +05:30
|
|
|
help
|
2011-11-10 21:23:35 +05:30
|
|
|
Enable mounting of NFS file systems on Linux kernels prior
|
|
|
|
to version 2.6.23. Note that in this case mounting of NFS
|
|
|
|
over IPv6 will not be possible.
|
|
|
|
|
|
|
|
Note that this option links in RPC support from libc,
|
|
|
|
which is rather large (~10 kbytes on uclibc).
|
2006-08-08 07:09:49 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_MOUNT_CIFS
|
2006-09-01 13:40:44 +05:30
|
|
|
bool "Support mounting CIFS/SMB file systems"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on MOUNT
|
2006-09-01 13:40:44 +05:30
|
|
|
help
|
|
|
|
Enable support for samba mounts.
|
2006-09-11 00:08:17 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_MOUNT_FLAGS
|
|
|
|
depends on MOUNT
|
2006-09-11 00:08:17 +05:30
|
|
|
bool "Support lots of -o flags in mount"
|
2006-08-08 07:09:49 +05:30
|
|
|
default y
|
|
|
|
help
|
2008-07-22 23:57:53 +05:30
|
|
|
Without this, mount only supports ro/rw/remount. With this, it
|
2006-08-08 07:09:49 +05:30
|
|
|
supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime,
|
|
|
|
noatime, diratime, nodiratime, loud, bind, move, shared, slave,
|
|
|
|
private, unbindable, rshared, rslave, rprivate, and runbindable.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_MOUNT_FSTAB
|
|
|
|
depends on MOUNT
|
2006-08-08 07:09:49 +05:30
|
|
|
bool "Support /etc/fstab and -a"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Support mount all and looking for files in /etc/fstab.
|
2006-02-03 04:44:57 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config PIVOT_ROOT
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "pivot_root"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
The pivot_root utility swaps the mount points for the root filesystem
|
2008-07-22 23:57:53 +05:30
|
|
|
with some other mounted filesystem. This allows you to do all sorts
|
2003-02-27 08:44:04 +05:30
|
|
|
of wild and crazy things with your Linux system and is far more
|
|
|
|
powerful than 'chroot'.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2008-07-22 23:57:53 +05:30
|
|
|
Note: This is for initrd in linux 2.4. Under initramfs (introduced
|
2005-10-28 04:25:50 +05:30
|
|
|
in linux 2.6) use switch_root instead.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config RDATE
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "rdate"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2004-03-15 13:59:22 +05:30
|
|
|
The rdate utility allows you to synchronize the date and time of your
|
2003-02-27 08:44:04 +05:30
|
|
|
system clock with the date and time of a remote networked system using
|
|
|
|
the RFC868 protocol, which is built into the inetd daemon on most
|
|
|
|
systems.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2008-08-19 16:58:52 +05:30
|
|
|
config RDEV
|
2010-03-31 19:33:56 +05:30
|
|
|
bool "rdev"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2010-03-31 19:33:56 +05:30
|
|
|
help
|
2008-08-19 16:58:52 +05:30
|
|
|
Print the device node associated with the filesystem mounted at '/'.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config READPROFILE
|
2005-09-25 04:42:38 +05:30
|
|
|
bool "readprofile"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
#select PLATFORM_LINUX
|
2005-09-25 04:42:38 +05:30
|
|
|
help
|
|
|
|
This allows you to parse /proc/profile for basic profiling.
|
|
|
|
|
2008-02-15 07:57:19 +05:30
|
|
|
config RTCWAKE
|
|
|
|
bool "rtcwake"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2008-02-15 07:57:19 +05:30
|
|
|
help
|
|
|
|
Enter a system sleep state until specified wakeup time.
|
|
|
|
|
2008-04-21 10:35:17 +05:30
|
|
|
config SCRIPT
|
|
|
|
bool "script"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2008-04-21 10:35:17 +05:30
|
|
|
help
|
|
|
|
The script makes typescript of terminal session.
|
2009-05-19 21:06:16 +05:30
|
|
|
|
|
|
|
config SCRIPTREPLAY
|
|
|
|
bool "scriptreplay"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2009-05-19 21:06:16 +05:30
|
|
|
help
|
|
|
|
This program replays a typescript, using timing information
|
|
|
|
given by script -t.
|
2008-04-21 10:35:17 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config SETARCH
|
2006-02-21 09:56:52 +05:30
|
|
|
bool "setarch"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2006-02-21 09:56:52 +05:30
|
|
|
help
|
|
|
|
The linux32 utility is used to create a 32bit environment for the
|
2008-07-22 23:57:53 +05:30
|
|
|
specified program (usually a shell). It only makes sense to have
|
2006-02-21 09:56:52 +05:30
|
|
|
this util on a system that supports both 64bit and 32bit userland
|
|
|
|
(like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config SWAPONOFF
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "swaponoff"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-02-27 08:44:04 +05:30
|
|
|
This option enables both the 'swapon' and the 'swapoff' utilities.
|
|
|
|
Once you have created some swap space using 'mkswap', you also need
|
2008-07-22 23:57:53 +05:30
|
|
|
to enable your swap space with the 'swapon' utility. The 'swapoff'
|
2003-02-27 08:44:04 +05:30
|
|
|
utility is used, typically at system shutdown, to disable any swap
|
2008-07-22 23:57:53 +05:30
|
|
|
space. If you are not using any swap space, you can leave this
|
2003-02-27 08:44:04 +05:30
|
|
|
option disabled.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2014-03-23 04:51:01 +05:30
|
|
|
config FEATURE_SWAPON_DISCARD
|
|
|
|
bool "Support discard option -d"
|
|
|
|
default y
|
|
|
|
depends on SWAPONOFF
|
|
|
|
help
|
|
|
|
Enable support for discarding swap area blocks at swapon and/or as
|
|
|
|
the kernel frees them. This option enables both the -d option on
|
|
|
|
'swapon' and the 'discard' option for swap entries in /etc/fstab.
|
|
|
|
|
2008-05-19 04:35:34 +05:30
|
|
|
config FEATURE_SWAPON_PRI
|
2008-05-19 13:55:23 +05:30
|
|
|
bool "Support priority option -p"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2008-05-19 04:35:34 +05:30
|
|
|
depends on SWAPONOFF
|
|
|
|
help
|
|
|
|
Enable support for setting swap device priority in swapon.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config SWITCH_ROOT
|
2006-02-03 04:44:57 +05:30
|
|
|
bool "switch_root"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2006-02-03 04:44:57 +05:30
|
|
|
The switch_root utility is used from initramfs to select a new
|
2008-07-22 23:57:53 +05:30
|
|
|
root device. Under initramfs, you have to use this instead of
|
|
|
|
pivot_root. (Stop reading here if you don't care why.)
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-02-03 04:44:57 +05:30
|
|
|
Booting with initramfs extracts a gzipped cpio archive into rootfs
|
2008-07-22 23:57:53 +05:30
|
|
|
(which is a variant of ramfs/tmpfs). Because rootfs can't be moved
|
|
|
|
or unmounted*, pivot_root will not work from initramfs. Instead,
|
2006-02-03 04:44:57 +05:30
|
|
|
switch_root deletes everything out of rootfs (including itself),
|
|
|
|
does a mount --move that overmounts rootfs with the new root, and
|
|
|
|
then execs the specified init program.
|
|
|
|
|
|
|
|
* Because the Linux kernel uses rootfs internally as the starting
|
|
|
|
and ending point for searching through the kernel's doubly linked
|
2008-07-22 23:57:53 +05:30
|
|
|
list of active mount points. That's why.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config UMOUNT
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "umount"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2011-02-27 02:54:08 +05:30
|
|
|
select PLATFORM_LINUX
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2008-07-22 23:57:53 +05:30
|
|
|
When you want to remove a mounted filesystem from its current mount
|
|
|
|
point, for example when you are shutting down the system, the
|
|
|
|
'umount' utility is the tool to use. If you enabled the 'mount'
|
|
|
|
utility, you almost certainly also want to enable 'umount'.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_UMOUNT_ALL
|
2008-03-17 14:43:22 +05:30
|
|
|
bool "Support option -a"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on UMOUNT
|
2006-02-09 01:36:57 +05:30
|
|
|
help
|
|
|
|
Support -a option to unmount all currently mounted filesystems.
|
|
|
|
|
2002-12-05 14:11:41 +05:30
|
|
|
comment "Common options for mount/umount"
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on MOUNT || UMOUNT
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_MOUNT_LOOP
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Support loopback mounts"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on MOUNT || UMOUNT
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
Major rewrite of mount, umount, losetup. Untangled lots of code, shrunk
things down a bit, fixed a number of funky corner cases, added support for
several new features (things like mount --move, mount --bind, lazy unounts,
automatic detection of loop mounts, and so on). Probably broke several
other things, but it's fixable. (Bang on it, tell me what doesn't work for
you...)
Note: you no longer need to say "-o loop". It does that for you when
necessary.
Still need to add "user mount" support, which involves making mount suid. Not
too hard to do under the new infrastructure, just haven't done it yet...
The previous code had the following notes, that belong in the version
control comments:
- * 3/21/1999 Charles P. Wright <cpwright@cpwright.com>
- * searches through fstab when -a is passed
- * will try mounting stuff with all fses when passed -t auto
- *
- * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab.
- *
- * 1999-10-07 Erik Andersen <andersen@codepoet.org>.
- * Rewrite of a lot of code. Removed mtab usage (I plan on
- * putting it back as a compile-time option some time),
- * major adjustments to option parsing, and some serious
- * dieting all around.
- *
- * 1999-11-06 mtab support is back - andersee
- *
- * 2000-01-12 Ben Collins <bcollins@debian.org>, Borrowed utils-linux's
- * mount to add loop support.
- *
- * 2000-04-30 Dave Cinege <dcinege@psychosis.com>
- * Rewrote fstab while loop and lower mount section. Can now do
- * single mounts from fstab. Can override fstab options for single
- * mount. Common mount_one call for single mounts and 'all'. Fixed
- * mtab updating and stale entries. Removed 'remount' default.
- *
2005-08-11 02:05:54 +05:30
|
|
|
Enabling this feature allows automatic mounting of files (containing
|
2008-07-22 23:57:53 +05:30
|
|
|
filesystem images) via the linux kernel's loopback devices.
|
|
|
|
The mount command will detect you are trying to mount a file instead
|
|
|
|
of a block device, and transparently associate the file with a
|
|
|
|
loopback device. The umount command will also free that loopback
|
|
|
|
device.
|
2006-01-25 05:38:53 +05:30
|
|
|
|
Major rewrite of mount, umount, losetup. Untangled lots of code, shrunk
things down a bit, fixed a number of funky corner cases, added support for
several new features (things like mount --move, mount --bind, lazy unounts,
automatic detection of loop mounts, and so on). Probably broke several
other things, but it's fixable. (Bang on it, tell me what doesn't work for
you...)
Note: you no longer need to say "-o loop". It does that for you when
necessary.
Still need to add "user mount" support, which involves making mount suid. Not
too hard to do under the new infrastructure, just haven't done it yet...
The previous code had the following notes, that belong in the version
control comments:
- * 3/21/1999 Charles P. Wright <cpwright@cpwright.com>
- * searches through fstab when -a is passed
- * will try mounting stuff with all fses when passed -t auto
- *
- * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab.
- *
- * 1999-10-07 Erik Andersen <andersen@codepoet.org>.
- * Rewrite of a lot of code. Removed mtab usage (I plan on
- * putting it back as a compile-time option some time),
- * major adjustments to option parsing, and some serious
- * dieting all around.
- *
- * 1999-11-06 mtab support is back - andersee
- *
- * 2000-01-12 Ben Collins <bcollins@debian.org>, Borrowed utils-linux's
- * mount to add loop support.
- *
- * 2000-04-30 Dave Cinege <dcinege@psychosis.com>
- * Rewrote fstab while loop and lower mount section. Can now do
- * single mounts from fstab. Can override fstab options for single
- * mount. Common mount_one call for single mounts and 'all'. Fixed
- * mtab updating and stale entries. Removed 'remount' default.
- *
2005-08-11 02:05:54 +05:30
|
|
|
You can still use the 'losetup' utility (to manually associate files
|
2007-01-24 13:54:43 +05:30
|
|
|
with loop devices) if you need to do something advanced, such as
|
Major rewrite of mount, umount, losetup. Untangled lots of code, shrunk
things down a bit, fixed a number of funky corner cases, added support for
several new features (things like mount --move, mount --bind, lazy unounts,
automatic detection of loop mounts, and so on). Probably broke several
other things, but it's fixable. (Bang on it, tell me what doesn't work for
you...)
Note: you no longer need to say "-o loop". It does that for you when
necessary.
Still need to add "user mount" support, which involves making mount suid. Not
too hard to do under the new infrastructure, just haven't done it yet...
The previous code had the following notes, that belong in the version
control comments:
- * 3/21/1999 Charles P. Wright <cpwright@cpwright.com>
- * searches through fstab when -a is passed
- * will try mounting stuff with all fses when passed -t auto
- *
- * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab.
- *
- * 1999-10-07 Erik Andersen <andersen@codepoet.org>.
- * Rewrite of a lot of code. Removed mtab usage (I plan on
- * putting it back as a compile-time option some time),
- * major adjustments to option parsing, and some serious
- * dieting all around.
- *
- * 1999-11-06 mtab support is back - andersee
- *
- * 2000-01-12 Ben Collins <bcollins@debian.org>, Borrowed utils-linux's
- * mount to add loop support.
- *
- * 2000-04-30 Dave Cinege <dcinege@psychosis.com>
- * Rewrote fstab while loop and lower mount section. Can now do
- * single mounts from fstab. Can override fstab options for single
- * mount. Common mount_one call for single mounts and 'all'. Fixed
- * mtab updating and stale entries. Removed 'remount' default.
- *
2005-08-11 02:05:54 +05:30
|
|
|
specify an offset or cryptographic options to the loopback device.
|
|
|
|
(If you don't want umount to free the loop device, use "umount -D".)
|
2005-07-20 02:25:37 +05:30
|
|
|
|
2010-04-15 01:01:26 +05:30
|
|
|
config FEATURE_MOUNT_LOOP_CREATE
|
|
|
|
bool "Create new loopback devices if needed"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2010-04-15 01:01:26 +05:30
|
|
|
depends on FEATURE_MOUNT_LOOP
|
|
|
|
help
|
|
|
|
Linux kernels >= 2.6.24 support unlimited loopback devices. They are
|
|
|
|
allocated for use when trying to use a loop device. The loop device
|
|
|
|
must however exist.
|
|
|
|
|
|
|
|
This feature lets mount to try to create next /dev/loopN device
|
|
|
|
if it does not find a free one.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_MTAB_SUPPORT
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Support for the old /etc/mtab file"
|
2002-12-05 14:11:41 +05:30
|
|
|
default n
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on MOUNT || UMOUNT
|
2008-02-17 04:58:42 +05:30
|
|
|
select FEATURE_MOUNT_FAKE
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
Major rewrite of mount, umount, losetup. Untangled lots of code, shrunk
things down a bit, fixed a number of funky corner cases, added support for
several new features (things like mount --move, mount --bind, lazy unounts,
automatic detection of loop mounts, and so on). Probably broke several
other things, but it's fixable. (Bang on it, tell me what doesn't work for
you...)
Note: you no longer need to say "-o loop". It does that for you when
necessary.
Still need to add "user mount" support, which involves making mount suid. Not
too hard to do under the new infrastructure, just haven't done it yet...
The previous code had the following notes, that belong in the version
control comments:
- * 3/21/1999 Charles P. Wright <cpwright@cpwright.com>
- * searches through fstab when -a is passed
- * will try mounting stuff with all fses when passed -t auto
- *
- * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab.
- *
- * 1999-10-07 Erik Andersen <andersen@codepoet.org>.
- * Rewrite of a lot of code. Removed mtab usage (I plan on
- * putting it back as a compile-time option some time),
- * major adjustments to option parsing, and some serious
- * dieting all around.
- *
- * 1999-11-06 mtab support is back - andersee
- *
- * 2000-01-12 Ben Collins <bcollins@debian.org>, Borrowed utils-linux's
- * mount to add loop support.
- *
- * 2000-04-30 Dave Cinege <dcinege@psychosis.com>
- * Rewrote fstab while loop and lower mount section. Can now do
- * single mounts from fstab. Can override fstab options for single
- * mount. Common mount_one call for single mounts and 'all'. Fixed
- * mtab updating and stale entries. Removed 'remount' default.
- *
2005-08-11 02:05:54 +05:30
|
|
|
Historically, Unix systems kept track of the currently mounted
|
2008-07-22 23:57:53 +05:30
|
|
|
partitions in the file "/etc/mtab". These days, the kernel exports
|
Major rewrite of mount, umount, losetup. Untangled lots of code, shrunk
things down a bit, fixed a number of funky corner cases, added support for
several new features (things like mount --move, mount --bind, lazy unounts,
automatic detection of loop mounts, and so on). Probably broke several
other things, but it's fixable. (Bang on it, tell me what doesn't work for
you...)
Note: you no longer need to say "-o loop". It does that for you when
necessary.
Still need to add "user mount" support, which involves making mount suid. Not
too hard to do under the new infrastructure, just haven't done it yet...
The previous code had the following notes, that belong in the version
control comments:
- * 3/21/1999 Charles P. Wright <cpwright@cpwright.com>
- * searches through fstab when -a is passed
- * will try mounting stuff with all fses when passed -t auto
- *
- * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab.
- *
- * 1999-10-07 Erik Andersen <andersen@codepoet.org>.
- * Rewrite of a lot of code. Removed mtab usage (I plan on
- * putting it back as a compile-time option some time),
- * major adjustments to option parsing, and some serious
- * dieting all around.
- *
- * 1999-11-06 mtab support is back - andersee
- *
- * 2000-01-12 Ben Collins <bcollins@debian.org>, Borrowed utils-linux's
- * mount to add loop support.
- *
- * 2000-04-30 Dave Cinege <dcinege@psychosis.com>
- * Rewrote fstab while loop and lower mount section. Can now do
- * single mounts from fstab. Can override fstab options for single
- * mount. Common mount_one call for single mounts and 'all'. Fixed
- * mtab updating and stale entries. Removed 'remount' default.
- *
2005-08-11 02:05:54 +05:30
|
|
|
the list of currently mounted partitions in "/proc/mounts", rendering
|
2008-07-22 23:57:53 +05:30
|
|
|
the old mtab file obsolete. (In modern systems, /etc/mtab should be
|
Major rewrite of mount, umount, losetup. Untangled lots of code, shrunk
things down a bit, fixed a number of funky corner cases, added support for
several new features (things like mount --move, mount --bind, lazy unounts,
automatic detection of loop mounts, and so on). Probably broke several
other things, but it's fixable. (Bang on it, tell me what doesn't work for
you...)
Note: you no longer need to say "-o loop". It does that for you when
necessary.
Still need to add "user mount" support, which involves making mount suid. Not
too hard to do under the new infrastructure, just haven't done it yet...
The previous code had the following notes, that belong in the version
control comments:
- * 3/21/1999 Charles P. Wright <cpwright@cpwright.com>
- * searches through fstab when -a is passed
- * will try mounting stuff with all fses when passed -t auto
- *
- * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab.
- *
- * 1999-10-07 Erik Andersen <andersen@codepoet.org>.
- * Rewrite of a lot of code. Removed mtab usage (I plan on
- * putting it back as a compile-time option some time),
- * major adjustments to option parsing, and some serious
- * dieting all around.
- *
- * 1999-11-06 mtab support is back - andersee
- *
- * 2000-01-12 Ben Collins <bcollins@debian.org>, Borrowed utils-linux's
- * mount to add loop support.
- *
- * 2000-04-30 Dave Cinege <dcinege@psychosis.com>
- * Rewrote fstab while loop and lower mount section. Can now do
- * single mounts from fstab. Can override fstab options for single
- * mount. Common mount_one call for single mounts and 'all'. Fixed
- * mtab updating and stale entries. Removed 'remount' default.
- *
2005-08-11 02:05:54 +05:30
|
|
|
a symlink to /proc/mounts.)
|
|
|
|
|
|
|
|
The only reason to have mount maintain an /etc/mtab file itself is if
|
|
|
|
your stripped-down embedded system does not have a /proc directory.
|
|
|
|
If you must use this, keep in mind it's inherently brittle (for
|
|
|
|
example a mount under chroot won't update it), can't handle modern
|
|
|
|
features like separate per-process filesystem namespaces, requires
|
2010-06-18 12:00:27 +05:30
|
|
|
that your /etc directory be writable, tends to get easily confused
|
2006-05-08 07:52:24 +05:30
|
|
|
by --bind or --move mounts, won't update if you rename a directory
|
2008-07-22 23:57:53 +05:30
|
|
|
that contains a mount point, and so on. (In brief: avoid.)
|
2006-05-08 07:52:24 +05:30
|
|
|
|
|
|
|
About the only reason to use this is if you've removed /proc from
|
|
|
|
your kernel.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2013-07-31 19:27:59 +05:30
|
|
|
source util-linux/volume_id/Config.in
|
2010-07-14 10:40:47 +05:30
|
|
|
|
2002-12-05 14:11:41 +05:30
|
|
|
endmenu
|