import lsattr and chattr from e2fsprogs
[oweals/busybox.git] / util-linux / Config.in
1 #
2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
4 #
5
6 menu "Linux System Utilities"
7
8 config CONFIG_CHATTR
9         bool "chattr"
10         default n
11         help
12           chattr changes the file attributes on a second extended file system.
13
14 config CONFIG_LSATTR
15         bool "lsattr"
16         default n
17         help
18           lsattr lists the file attributes on a second extended file system.
19
20 config CONFIG_DMESG
21         bool "dmesg"
22         default n
23         help
24           dmesg is used to examine or control the kernel ring buffer.  When the
25           Linux kernel prints messages to the system log, they are stored in
26           the kernel ring buffer.  You can use dmesg to print the kernel's ring
27           buffer, clear the kernel ring buffer, change the size of the kernel
28           ring buffer, and change the priority level at which kernel messages
29           are also logged to the system console.  Enable this option if you
30           wish to enable the 'dmesg' utility.
31
32 config CONFIG_FBSET
33         bool "fbset"
34         default n
35         help
36           fbset is used to show or change the settings of a Linux frame buffer
37           device.  The frame buffer device provides a simple and unique
38           interface to access a graphics display.  Enable this option
39           if you wish to enable the 'fbset' utility.
40
41 config CONFIG_FEATURE_FBSET_FANCY
42         bool "  Turn on extra fbset options"
43         default n
44         depends on CONFIG_FBSET
45         help
46           This option enables extended fbset options, allowing one to set the
47           framebuffer size, color depth, etc.  interface to access a graphics
48           display.  Enable this option if you wish to enable extended fbset
49           options.
50
51 config CONFIG_FEATURE_FBSET_READMODE
52         bool "  Turn on fbset readmode support"
53         default n
54         depends on CONFIG_FBSET
55         help
56           This option allows fbset to read the video mode database stored by
57           default as /etc/fb.modes, which can be used to set frame buffer
58           device to pre-defined video modes.
59
60 config CONFIG_FDFLUSH
61         bool "fdflush"
62         default n
63         help
64           fdflush is only needed when changing media on slightly-broken
65           removable media drives.  It is used to make Linux believe that a
66           hardware disk-change switch has been actuated, which causes Linux to
67           forget anything it has cached from the previous media.  If you have
68           such a slightly-broken drive, you will need to run fdflush every time
69           you change a disk.  Most people have working hardware and can safely
70           leave this disabled.
71
72 config CONFIG_FDFORMAT
73         bool "fdformat"
74         default n
75         help
76           fdformat is used to low-level format a floppy disk.
77
78 config CONFIG_FDISK
79         bool "fdisk"
80         default n
81         help
82           The fdisk utility is used to divide hard disks into one or more
83           logical disks, which are generally called partitions.  This utility
84           can be used to list and edit the set of partitions or BSD style
85           'disk slices' that are defined on a hard drive.
86
87 config FDISK_SUPPORT_LARGE_DISKS
88         bool "  support over 4GB disks"
89         default y
90         depends on CONFIG_FDISK
91         help
92           Enable this option to support large disks > 4GB.
93
94 config CONFIG_FEATURE_FDISK_WRITABLE
95         bool "  Write support"
96         default y
97         depends on CONFIG_FDISK
98         help
99           Enabling this option allows you to create or change a partition table
100           and write those changes out to disk.  If you leave this option
101           disabled, you will only be able to view the partition table.
102
103 config CONFIG_FEATURE_AIX_LABEL
104         bool "  Support AIX disklabels"
105         default n
106         depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
107         help
108           Enabling this option allows you to create or change AIX disklabels.
109           Most people can safely leave this option disabled.
110
111 config CONFIG_FEATURE_SGI_LABEL
112         bool "  Support SGI disklabels"
113         default n
114         depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
115         help
116           Enabling this option allows you to create or change SGI disklabels.
117           Most people can safely leave this option disabled.
118
119 config CONFIG_FEATURE_SUN_LABEL
120         bool "  Support SUN disklabels"
121         default n
122         depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
123         help
124           Enabling this option allows you to create or change SUN disklabels.
125           Most people can safely leave this option disabled.
126
127 config CONFIG_FEATURE_OSF_LABEL
128         bool "  Support BSD disklabels"
129         default n
130         depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
131         help
132           Enabling this option allows you to create or change BSD disklabels
133           and define and edit BSD disk slices.
134
135 config CONFIG_FEATURE_FDISK_ADVANCED
136         bool "  Support expert mode"
137         default n
138         depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
139         help
140           Enabling this option allows you to do terribly unsafe things like
141           define arbitrary drive geometry, move the beginning of data in a
142           partition, and similarly evil things.  Unless you have a very good
143           reason you would be wise to leave this disabled.
144
145 config CONFIG_FREERAMDISK
146         bool "freeramdisk"
147         default n
148         help
149           Linux allows you to create ramdisks.  This utility allows you to
150           delete them and completely free all memory that was used for the
151           ramdisk.  For example, if you boot Linux into a ramdisk and later
152           pivot_root, you may want to free the memory that is allocated to the
153           ramdisk.  If you have no use for freeing memory from a ramdisk, leave
154           this disabled.
155
156 config CONFIG_FSCK_MINIX
157         bool "fsck_minix"
158         default n
159         help
160           The minix filesystem is a nice, small, compact, read-write filesystem
161           with little overhead.  It is not a journaling filesystem however and
162           can experience corruption if it is not properly unmounted or if the
163           power goes off in the middle of a write.  This utility allows you to
164           check for and attempt to repair any corruption that occurs to a minix
165           filesystem.
166
167 config CONFIG_MKFS_MINIX
168         bool "mkfs_minix"
169         default n
170         help
171           The minix filesystem is a nice, small, compact, read-write filesystem
172           with little overhead.  If you wish to be able to create minix filesystems
173           this utility will do the job for you.
174
175 comment "Minix filesystem support"
176     depends on CONFIG_FSCK_MINIX || CONFIG_MKFS_MINIX
177
178 config CONFIG_FEATURE_MINIX2
179         bool "  Support Minix fs v2 (fsck_minix/mkfs_minix)"
180         default y
181         depends on CONFIG_FSCK_MINIX || CONFIG_MKFS_MINIX
182         help
183           If you wish to be able to create version 2 minix filesystems, enable this.
184           If you enabled 'mkfs_minix' then you almost certainly want to be using the
185           version 2 filesystem support.
186
187 config CONFIG_GETOPT
188         bool "getopt"
189         default n
190         help
191           The getopt utility is used to break up (parse) options in command
192           lines to make it easy to write complex shell scripts that also check
193           for legal (and illegal) options.  If you want to write horribly
194           complex shell scripts, or use some horribly complex shell script
195           written by others, this utility may be for you.  Most people will
196           wisely leave this disabled.
197
198 config CONFIG_HEXDUMP
199         bool "hexdump"
200         default n
201         help
202           The hexdump utility is used to display binary data in a readable
203           way that is comparable to the output from most hex editors.
204
205 config CONFIG_HWCLOCK
206         bool "hwclock"
207         default n
208         help
209           The hwclock utility is used to read and set the hardware clock
210           on a system.  This is primarily used to set the current time on
211           shutdown in the hardware clock, so the hardware will keep the
212           correct time when Linux is _not_ running.
213
214 config CONFIG_FEATURE_HWCLOCK_LONGOPTIONS
215         bool "  Support long options (--hctosys,...)"
216         default n
217         depends on CONFIG_HWCLOCK
218         help
219           By default, the hwclock utility only uses short options.  If you
220           are overly fond of its long options, such as --hctosys, --utc, etc)
221           then enable this option.
222
223 config CONFIG_LOSETUP
224         bool "losetup"
225         default n
226         help
227           losetup is used to associate or detach a loop device with a regular
228           file or block device, and to query the status of a loop device.  This
229           version does not currently support enabling data encryption.
230
231 config CONFIG_MKSWAP
232         bool "mkswap"
233         default n
234         help
235           The mkswap utility is used to configure a file or disk partition as
236           Linux swap space.  This allows Linux to use the entire file or
237           partition as if it were additional RAM, which can greatly increase
238           the capability of low-memory machines.  This additional memory is
239           much slower than real RAM, but can be very helpful at preventing your
240           applications being killed by the Linux out of memory (OOM) killer.
241           Once you have created swap space using 'mkswap' you need to enable
242           the swap space using the 'swapon' utility.
243
244 config CONFIG_MORE
245         bool "more"
246         default n
247         help
248           more is a simple utility which allows you to read text one screen
249           sized page at a time.  If you want to read text that is larger than
250           the screen, and you are using anything faster than a 300 baud modem,
251           you will probably find this utility very helpful.  If you don't have
252           any need to reading text files, you can leave this disabled.
253
254 config CONFIG_FEATURE_USE_TERMIOS
255         bool "  Use termios to manipulate the screen"
256         default y
257         depends on CONFIG_MORE
258         help
259           This option allows utilities such as 'more' and 'top' to determine
260           the size of the screen.  If you leave this disabled, your utilities
261           that display things on the screen will be especially primitive and
262           will be unable to determine the current screen size, and will be
263           unable to move the cursor.
264
265 config CONFIG_PIVOT_ROOT
266         bool "pivot_root"
267         default n
268         help
269           The pivot_root utility swaps the mount points for the root filesystem
270           with some other mounted filesystem.  This allows you to do all sorts
271           of wild and crazy things with your Linux system and is far more
272           powerful than 'chroot'.
273
274 config CONFIG_RDATE
275         bool "rdate"
276         default n
277         help
278           The rdate utility allows you to synchronize the date and time of your
279           system clock with the date and time of a remote networked system using
280           the RFC868 protocol, which is built into the inetd daemon on most
281           systems.
282
283 config CONFIG_SWAPONOFF
284         bool "swaponoff"
285         default n
286         help
287           This option enables both the 'swapon' and the 'swapoff' utilities.
288           Once you have created some swap space using 'mkswap', you also need
289           to enable your swap space with the 'swapon' utility.  The 'swapoff'
290           utility is used, typically at system shutdown, to disable any swap
291           space.  If you are not using any swap space, you can leave this
292           option disabled.
293
294 config CONFIG_MOUNT
295         bool "mount"
296         default n
297         help
298           All files and filesystems in Unix are arranged into one big directory
299           tree.  The 'mount' utility is used to graft a filesystem onto a
300           particular part of the tree.  A filesystem can either live on a block
301           device, or it can be accessible over the network, as is the case with
302           NFS filesystems.  Most people using BusyBox will also want to enable
303           the 'mount' utility.
304
305 config CONFIG_NFSMOUNT
306         bool "  Support mounting NFS file systems"
307         default n
308         depends on CONFIG_MOUNT
309         help
310          Enable mounting of NFS file systems.
311
312 config CONFIG_UMOUNT
313         bool "umount"
314         default n
315         help
316           When you want to remove a mounted filesystem from its current mount point,
317           for example when you are shutting down the system, the 'umount' utility is
318           the tool to use.  If you enabled the 'mount' utility, you almost certainly
319           also want to enable 'umount'.
320
321 config CONFIG_FEATURE_MOUNT_FORCE
322         bool "  Support forced filesystem unmounting"
323         default n
324         depends on CONFIG_UMOUNT
325         help
326           This allows you to _force_ a filesystem to be umounted.  This is generally
327           only useful when you want to get rid of an unreachable NFS system.
328
329 comment "Common options for mount/umount"
330         depends on CONFIG_MOUNT || CONFIG_UMOUNT
331
332 config CONFIG_FEATURE_MOUNT_LOOP
333         bool "  Support for loop devices"
334         default n
335         depends on CONFIG_MOUNT || CONFIG_UMOUNT
336         help
337           Enabling this feature allows mount to use the '-o' loop options,
338           which lets you loop mount files.  Mount will automagically setup and
339           free the necessary loop devices so you do not need to mess with the
340           'losetup' utility unless you really want to.  This is really
341           only useful if you plan to loop mount files.
342
343 config CONFIG_FEATURE_MTAB_SUPPORT
344         bool "  Support for a real /etc/mtab (instead of /proc/mounts)"
345         default n
346         depends on CONFIG_MOUNT || CONFIG_UMOUNT
347         help
348           If your root filesystem is writable and you wish to have the 'mount'
349           utility create an mtab file listing the filesystems which have been
350           mounted then you should enable this option.  Most people that use
351           BusyBox have a read-only root filesystem, so they will leave this
352           option disabled and BusyBox will use the /proc/mounts file.
353
354 config CONFIG_FEATURE_MTAB_FILENAME
355         string "  mtab file location"
356         default "/etc/mtab"
357         depends on CONFIG_FEATURE_MTAB_SUPPORT
358         help
359           Some people have a read only root filesystem, but they also wish to
360           have the 'mount' utility create an mtab file listing the filesystems
361           which have been mounted.  This option allows you to specify an alternative
362           location for the mtab file, such as /var/mtab, or /tmp/mtab.  The default
363           value is /etc/mtab, which is where this file is located on most desktop
364           Linux systems.
365
366 endmenu
367