2002-12-05 08:41:41 +00:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see scripts/kbuild/config-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "Linux System Utilities"
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config DMESG
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "dmesg"
|
|
|
|
default n
|
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
dmesg is used to examine or control the kernel ring buffer. When the
|
|
|
|
Linux kernel prints messages to the system log, they are stored in
|
|
|
|
the kernel ring buffer. You can use dmesg to print the kernel's ring
|
|
|
|
buffer, clear the kernel ring buffer, change the size of the kernel
|
|
|
|
ring buffer, and change the priority level at which kernel messages
|
|
|
|
are also logged to the system console. Enable this option if you
|
|
|
|
wish to enable the 'dmesg' utility.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_DMESG_PRETTY
|
2006-07-27 16:40:55 +00:00
|
|
|
bool "pretty dmesg output"
|
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on DMESG
|
2006-07-27 16:40:55 +00:00
|
|
|
help
|
|
|
|
If you wish to scrub the syslog level from the output, say 'Y' here.
|
|
|
|
The syslog level is a string prefixed to every line with the form "<#>".
|
|
|
|
|
|
|
|
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 10:17:08 +00:00
|
|
|
config FBSET
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "fbset"
|
|
|
|
default n
|
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
fbset is used to show or change the settings of a Linux frame buffer
|
|
|
|
device. The frame buffer device provides a simple and unique
|
2003-10-22 09:58:56 +00:00
|
|
|
interface to access a graphics display. Enable this option
|
|
|
|
if you wish to enable the 'fbset' utility.
|
2003-02-27 03:14:04 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_FBSET_FANCY
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Turn on extra fbset options"
|
2002-12-05 08:41:41 +00:00
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on FBSET
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
This option enables extended fbset options, allowing one to set the
|
2003-10-22 09:58:56 +00:00
|
|
|
framebuffer size, color depth, etc. interface to access a graphics
|
2003-02-27 03:14:04 +00:00
|
|
|
display. Enable this option if you wish to enable extended fbset
|
|
|
|
options.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_FBSET_READMODE
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Turn on fbset readmode support"
|
2002-12-05 08:41:41 +00:00
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on FBSET
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
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 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FDFLUSH
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "fdflush"
|
|
|
|
default n
|
|
|
|
help
|
2003-10-22 09:58:56 +00:00
|
|
|
fdflush is only needed when changing media on slightly-broken
|
2003-02-27 03:14:04 +00:00
|
|
|
removable media drives. It is used to make Linux believe that a
|
|
|
|
hardware disk-change switch has been actuated, which causes Linux to
|
|
|
|
forget anything it has cached from the previous media. If you have
|
|
|
|
such a slightly-broken drive, you will need to run fdflush every time
|
|
|
|
you change a disk. Most people have working hardware and can safely
|
2003-10-22 09:58:56 +00:00
|
|
|
leave this disabled.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FDFORMAT
|
2003-07-05 07:51:31 +00:00
|
|
|
bool "fdformat"
|
|
|
|
default n
|
|
|
|
help
|
2003-10-22 09:58:56 +00:00
|
|
|
fdformat is used to low-level format a floppy disk.
|
2003-07-05 07:51:31 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FDISK
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "fdisk"
|
|
|
|
default n
|
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
The fdisk utility is used to divide hard disks into one or more
|
|
|
|
logical disks, which are generally called partitions. This utility
|
2004-03-15 08:29:22 +00:00
|
|
|
can be used to list and edit the set of partitions or BSD style
|
2003-02-27 03:14:04 +00:00
|
|
|
'disk slices' that are defined on a hard drive.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2004-05-19 10:49:17 +00:00
|
|
|
config FDISK_SUPPORT_LARGE_DISKS
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "support over 4GB disks"
|
2004-05-19 10:49:17 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on FDISK
|
2004-05-19 10:49:17 +00:00
|
|
|
help
|
|
|
|
Enable this option to support large disks > 4GB.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_FDISK_WRITABLE
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Write support"
|
2003-01-04 11:56:06 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on FDISK
|
2003-01-04 11:56:06 +00:00
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
Enabling this option allows you to create or change a partition table
|
|
|
|
and write those changes out to disk. If you leave this option
|
|
|
|
disabled, you will only be able to view the partition table.
|
2003-01-04 11:56:06 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_AIX_LABEL
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Support AIX disklabels"
|
2002-12-05 08:41:41 +00:00
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on FDISK && FEATURE_FDISK_WRITABLE
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
Enabling this option allows you to create or change AIX disklabels.
|
|
|
|
Most people can safely leave this option disabled.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_SGI_LABEL
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Support SGI disklabels"
|
2002-12-05 08:41:41 +00:00
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on FDISK && FEATURE_FDISK_WRITABLE
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
Enabling this option allows you to create or change SGI disklabels.
|
|
|
|
Most people can safely leave this option disabled.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_SUN_LABEL
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Support SUN disklabels"
|
2002-12-05 08:41:41 +00:00
|
|
|
default n
|
2007-01-24 08:24:43 +00:00
|
|
|
depends on FDISK && FEATURE_FDISK_WRITABLE
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
Enabling this option allows you to create or change SUN disklabels.
|
|
|
|
Most people can safely leave this option disabled.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_OSF_LABEL
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Support BSD disklabels"
|
2002-12-05 08:41:41 +00:00
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on FDISK && FEATURE_FDISK_WRITABLE
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
Enabling this option allows you to create or change BSD disklabels
|
|
|
|
and define and edit BSD disk slices.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_FDISK_ADVANCED
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Support expert mode"
|
2002-12-05 08:41:41 +00:00
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on FDISK && FEATURE_FDISK_WRITABLE
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
Enabling this option allows you to do terribly unsafe things like
|
|
|
|
define arbitrary drive geometry, move the beginning of data in a
|
|
|
|
partition, and similarly evil things. Unless you have a very good
|
|
|
|
reason you would be wise to leave this disabled.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FREERAMDISK
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "freeramdisk"
|
|
|
|
default n
|
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
Linux allows you to create ramdisks. This utility allows you to
|
|
|
|
delete them and completely free all memory that was used for the
|
|
|
|
ramdisk. For example, if you boot Linux into a ramdisk and later
|
|
|
|
pivot_root, you may want to free the memory that is allocated to the
|
|
|
|
ramdisk. If you have no use for freeing memory from a ramdisk, leave
|
|
|
|
this disabled.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FSCK_MINIX
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "fsck_minix"
|
|
|
|
default n
|
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
The minix filesystem is a nice, small, compact, read-write filesystem
|
|
|
|
with little overhead. It is not a journaling filesystem however and
|
2003-10-22 09:58:56 +00:00
|
|
|
can experience corruption if it is not properly unmounted or if the
|
2003-02-27 03:14:04 +00:00
|
|
|
power goes off in the middle of a write. This utility allows you to
|
|
|
|
check for and attempt to repair any corruption that occurs to a minix
|
|
|
|
filesystem.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config MKFS_MINIX
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "mkfs_minix"
|
|
|
|
default n
|
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
The minix filesystem is a nice, small, compact, read-write filesystem
|
|
|
|
with little overhead. If you wish to be able to create minix filesystems
|
|
|
|
this utility will do the job for you.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
|
|
|
comment "Minix filesystem support"
|
2007-01-24 08:24:43 +00:00
|
|
|
depends on FSCK_MINIX || MKFS_MINIX
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_MINIX2
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Support Minix fs v2 (fsck_minix/mkfs_minix)"
|
2002-12-05 08:41:41 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on FSCK_MINIX || MKFS_MINIX
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
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 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config GETOPT
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "getopt"
|
|
|
|
default n
|
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
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
|
|
|
|
for legal (and illegal) options. If you want to write horribly
|
|
|
|
complex shell scripts, or use some horribly complex shell script
|
|
|
|
written by others, this utility may be for you. Most people will
|
|
|
|
wisely leave this disabled.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config HEXDUMP
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "hexdump"
|
|
|
|
default n
|
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
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 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config HWCLOCK
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "hwclock"
|
|
|
|
default n
|
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
The hwclock utility is used to read and set the hardware clock
|
2003-10-22 09:58:56 +00:00
|
|
|
on a system. This is primarily used to set the current time on
|
|
|
|
shutdown in the hardware clock, so the hardware will keep the
|
|
|
|
correct time when Linux is _not_ running.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_HWCLOCK_LONG_OPTIONS
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Support long options (--hctosys,...)"
|
2002-12-05 08:41:41 +00:00
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on HWCLOCK && GETOPT_LONG
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
By default, the hwclock utility only uses short options. If you
|
2003-10-22 09:58:56 +00:00
|
|
|
are overly fond of its long options, such as --hctosys, --utc, etc)
|
2003-02-27 03:14:04 +00:00
|
|
|
then enable this option.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_HWCLOCK_ADJTIME_FHS
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Use FHS /var/lib/hwclock/adjtime"
|
2005-09-28 03:21:21 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on HWCLOCK
|
2005-09-28 03:21:21 +00:00
|
|
|
help
|
|
|
|
Starting with FHS 2.3, the adjtime state file is supposed to exist
|
2006-01-25 00:08:53 +00:00
|
|
|
at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
|
2005-09-28 03:21:21 +00:00
|
|
|
to use the FHS behavior, answer Y here, otherwise answer N for the
|
|
|
|
classic /etc/adjtime path.
|
|
|
|
|
|
|
|
http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config IPCRM
|
2005-06-20 04:30:36 +00:00
|
|
|
bool "ipcrm"
|
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
select FEATURE_SUID
|
2005-06-20 04:30:36 +00:00
|
|
|
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 10:17:08 +00:00
|
|
|
config IPCS
|
2005-06-20 04:30:36 +00:00
|
|
|
bool "ipcs"
|
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
select FEATURE_SUID
|
2005-06-20 04:30:36 +00:00
|
|
|
help
|
|
|
|
The ipcs utility is used to provide information on the currently
|
|
|
|
allocated System V interprocess (IPC) objects in the system.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config LOSETUP
|
2005-09-24 23:12:38 +00:00
|
|
|
bool "losetup"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
losetup is used to associate or detach a loop device with a regular
|
|
|
|
file or block device, and to query the status of a loop device. This
|
|
|
|
version does not currently support enabling data encryption.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config MDEV
|
2005-12-13 08:21:33 +00:00
|
|
|
bool "mdev"
|
|
|
|
default n
|
|
|
|
help
|
2007-02-14 13:20:29 +00:00
|
|
|
mdev is a mini-udev implementation for dynamically creating device
|
|
|
|
nodes in the /dev directory.
|
|
|
|
|
|
|
|
For more information, please see docs/mdev.txt
|
2005-12-13 08:21:33 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_MDEV_CONF
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Support /etc/mdev.conf"
|
2005-12-13 08:21:33 +00:00
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on MDEV
|
2005-12-13 08:21:33 +00:00
|
|
|
help
|
2007-02-14 13:20:29 +00:00
|
|
|
Add support for the mdev config file to control ownership and
|
|
|
|
permissions of the device nodes.
|
2005-12-13 08:21:33 +00:00
|
|
|
|
2007-02-14 13:20:29 +00:00
|
|
|
For more information, please see docs/mdev.txt
|
2005-12-13 08:21:33 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_MDEV_EXEC
|
2006-06-26 14:11:33 +00:00
|
|
|
bool "Support command execution at device addition/removal"
|
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on FEATURE_MDEV_CONF
|
2006-06-26 14:11:33 +00:00
|
|
|
help
|
2007-02-14 13:20:29 +00:00
|
|
|
This adds support for an optional field to /etc/mdev.conf for
|
|
|
|
executing commands when devices are created/removed.
|
2006-06-26 14:11:33 +00:00
|
|
|
|
2007-02-14 13:20:29 +00:00
|
|
|
For more information, please see docs/mdev.txt
|
2006-06-26 14:11:33 +00:00
|
|
|
|
2007-06-13 07:34:15 +00:00
|
|
|
config FEATURE_MDEV_LOAD_FIRMWARE
|
|
|
|
bool "Support loading of firmwares"
|
|
|
|
default n
|
|
|
|
depends on MDEV
|
|
|
|
help
|
|
|
|
Some devices need to load firmware before they can be usable.
|
|
|
|
|
|
|
|
These devices will request userspace look up the files in
|
|
|
|
/lib/firmware/ and if it exists, send it to the kernel for
|
|
|
|
loading into the hardware.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config MKSWAP
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "mkswap"
|
|
|
|
default n
|
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
The mkswap utility is used to configure a file or disk partition as
|
|
|
|
Linux swap space. This allows Linux to use the entire file or
|
|
|
|
partition as if it were additional RAM, which can greatly increase
|
|
|
|
the capability of low-memory machines. This additional memory is
|
|
|
|
much slower than real RAM, but can be very helpful at preventing your
|
2003-10-22 09:58:56 +00:00
|
|
|
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 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_MKSWAP_V0
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "version 0 support"
|
2006-03-29 17:32:24 +00:00
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on MKSWAP
|
|
|
|
# depends on MKSWAP && DEPRECATED
|
2006-03-29 17:32:24 +00:00
|
|
|
help
|
|
|
|
Enable support for the old v0 style.
|
|
|
|
If your kernel is older than 2.1.117, then v0 support is the
|
|
|
|
only option.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config MORE
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "more"
|
|
|
|
default n
|
|
|
|
help
|
2003-10-22 09:58:56 +00:00
|
|
|
more is a simple utility which allows you to read text one screen
|
2003-02-27 03:14:04 +00:00
|
|
|
sized page at a time. If you want to read text that is larger than
|
|
|
|
the screen, and you are using anything faster than a 300 baud modem,
|
|
|
|
you will probably find this utility very helpful. If you don't have
|
|
|
|
any need to reading text files, you can leave this disabled.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_USE_TERMIOS
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Use termios to manipulate the screen"
|
2002-12-05 08:41:41 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on MORE
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
This option allows utilities such as 'more' and 'top' to determine
|
|
|
|
the size of the screen. If you leave this disabled, your utilities
|
2003-10-22 09:58:56 +00:00
|
|
|
that display things on the screen will be especially primitive and
|
2003-02-27 03:14:04 +00:00
|
|
|
will be unable to determine the current screen size, and will be
|
|
|
|
unable to move the cursor.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config MOUNT
|
2006-02-02 23:14:57 +00:00
|
|
|
bool "mount"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
All files and filesystems in Unix are arranged into one big directory
|
|
|
|
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
|
|
|
|
device, or it can be accessible over the network, as is the case with
|
|
|
|
NFS filesystems. Most people using BusyBox will also want to enable
|
|
|
|
the 'mount' utility.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_MOUNT_NFS
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Support mounting NFS file systems"
|
2006-02-02 23:14:57 +00:00
|
|
|
default n
|
2007-06-16 13:56:51 +00:00
|
|
|
depends on MOUNT
|
|
|
|
select FEATURE_HAVE_RPC
|
2006-10-05 10:17:08 +00:00
|
|
|
select FEATURE_SYSLOG
|
2006-02-02 23:14:57 +00:00
|
|
|
help
|
2006-08-08 01:39:49 +00:00
|
|
|
Enable mounting of NFS file systems.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_MOUNT_CIFS
|
2006-09-01 08:10:44 +00:00
|
|
|
bool "Support mounting CIFS/SMB file systems"
|
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on MOUNT
|
2006-09-01 08:10:44 +00:00
|
|
|
help
|
|
|
|
Enable support for samba mounts.
|
2006-09-10 18:38:17 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_MOUNT_FLAGS
|
|
|
|
depends on MOUNT
|
2006-09-10 18:38:17 +00:00
|
|
|
bool "Support lots of -o flags in mount"
|
2006-08-08 01:39:49 +00:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Without this, mount only supports ro/rw/remount. With this, it
|
|
|
|
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 10:17:08 +00:00
|
|
|
config FEATURE_MOUNT_FSTAB
|
|
|
|
depends on MOUNT
|
2006-08-08 01:39:49 +00:00
|
|
|
bool "Support /etc/fstab and -a"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Support mount all and looking for files in /etc/fstab.
|
2006-02-02 23:14:57 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config PIVOT_ROOT
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "pivot_root"
|
|
|
|
default n
|
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
The pivot_root utility swaps the mount points for the root filesystem
|
|
|
|
with some other mounted filesystem. This allows you to do all sorts
|
|
|
|
of wild and crazy things with your Linux system and is far more
|
|
|
|
powerful than 'chroot'.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2005-10-27 22:55:50 +00:00
|
|
|
Note: This is for initrd in linux 2.4. Under initramfs (introduced
|
|
|
|
in linux 2.6) use switch_root instead.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config RDATE
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "rdate"
|
|
|
|
default n
|
|
|
|
help
|
2004-03-15 08:29:22 +00:00
|
|
|
The rdate utility allows you to synchronize the date and time of your
|
2003-02-27 03:14:04 +00:00
|
|
|
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 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config READPROFILE
|
2005-09-24 23:12:38 +00:00
|
|
|
bool "readprofile"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This allows you to parse /proc/profile for basic profiling.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config SETARCH
|
2006-02-21 04:26:52 +00:00
|
|
|
bool "setarch"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
The linux32 utility is used to create a 32bit environment for the
|
|
|
|
specified program (usually a shell). It only makes sense to have
|
|
|
|
this util on a system that supports both 64bit and 32bit userland
|
|
|
|
(like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config SWAPONOFF
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "swaponoff"
|
|
|
|
default n
|
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
This option enables both the 'swapon' and the 'swapoff' utilities.
|
|
|
|
Once you have created some swap space using 'mkswap', you also need
|
|
|
|
to enable your swap space with the 'swapon' utility. The 'swapoff'
|
|
|
|
utility is used, typically at system shutdown, to disable any swap
|
|
|
|
space. If you are not using any swap space, you can leave this
|
|
|
|
option disabled.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config SWITCH_ROOT
|
2006-02-02 23:14:57 +00:00
|
|
|
bool "switch_root"
|
2002-12-05 08:41:41 +00:00
|
|
|
default n
|
|
|
|
help
|
2006-02-02 23:14:57 +00:00
|
|
|
The switch_root utility is used from initramfs to select a new
|
|
|
|
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 08:41:41 +00:00
|
|
|
|
2006-02-02 23:14:57 +00:00
|
|
|
Booting with initramfs extracts a gzipped cpio archive into rootfs
|
|
|
|
(which is a variant of ramfs/tmpfs). Because rootfs can't be moved
|
|
|
|
or unmounted*, pivot_root will not work from initramfs. Instead,
|
|
|
|
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
|
|
|
|
list of active mount points. That's why.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config UMOUNT
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "umount"
|
|
|
|
default n
|
|
|
|
help
|
2003-02-27 03:14:04 +00:00
|
|
|
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 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_UMOUNT_ALL
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "umount -a option"
|
2006-02-08 20:06:57 +00:00
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on UMOUNT
|
2006-02-08 20:06:57 +00:00
|
|
|
help
|
|
|
|
Support -a option to unmount all currently mounted filesystems.
|
|
|
|
|
2002-12-05 08:41:41 +00:00
|
|
|
comment "Common options for mount/umount"
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on MOUNT || UMOUNT
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_MOUNT_LOOP
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Support loopback mounts"
|
2002-12-05 08:41:41 +00:00
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on MOUNT || UMOUNT
|
2002-12-05 08:41:41 +00:00
|
|
|
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-10 20:35:54 +00:00
|
|
|
Enabling this feature allows automatic mounting of files (containing
|
|
|
|
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 00:08:53 +00:00
|
|
|
|
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-10 20:35:54 +00:00
|
|
|
You can still use the 'losetup' utility (to manually associate files
|
2007-01-24 08:24:43 +00:00
|
|
|
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-10 20:35:54 +00:00
|
|
|
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-19 20:55:37 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_MTAB_SUPPORT
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Support for the old /etc/mtab file"
|
2002-12-05 08:41:41 +00:00
|
|
|
default n
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on MOUNT || UMOUNT
|
2002-12-05 08:41:41 +00:00
|
|
|
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-10 20:35:54 +00:00
|
|
|
Historically, Unix systems kept track of the currently mounted
|
|
|
|
partitions in the file "/etc/mtab". These days, the kernel exports
|
|
|
|
the list of currently mounted partitions in "/proc/mounts", rendering
|
|
|
|
the old mtab file obsolete. (In modern systems, /etc/mtab should be
|
|
|
|
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
|
|
|
|
that your /etc directory be writeable, tends to get easily confused
|
2006-05-08 02:22:24 +00:00
|
|
|
by --bind or --move mounts, won't update if you rename a directory
|
|
|
|
that contains a mount point, and so on. (In brief: avoid.)
|
|
|
|
|
|
|
|
About the only reason to use this is if you've removed /proc from
|
|
|
|
your kernel.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
|
|
|
endmenu
|
|
|
|
|