- add eject -s for SCSI- and USB-devices (Nico Erfurth)
[oweals/busybox.git] / miscutils / 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 "Miscellaneous Utilities"
7
8 config ADJTIMEX
9         bool "adjtimex"
10         default n
11         help
12           Adjtimex reads and optionally sets adjustment parameters for
13           the Linux clock adjustment algorithm.
14
15 config BBCONFIG
16         bool "bbconfig"
17         default n
18         help
19           The bbconfig applet will print the config file with which
20           busybox was built.
21
22 config CHRT
23         bool "chrt"
24         default n
25         help
26           manipulate real-time attributes of a process.
27           This requires sched_{g,s}etparam support in your libc.
28
29 config CROND
30         bool "crond"
31         default n
32         select FEATURE_SUID
33         select FEATURE_SYSLOG
34         help
35           Crond is a background daemon that parses individual crontab
36           files and executes commands on behalf of the users in question.
37           This is a port of dcron from slackware.  It uses files of the
38           format /var/spool/cron/crontabs/<username> files, for example:
39               $ cat /var/spool/cron/crontabs/root
40               # Run daily cron jobs at 4:40 every day:
41               40 4 * * * /etc/cron/daily > /dev/null 2>&1
42           Note that Busybox binary must be setuid root for this applet to
43           work properly.
44
45 config DEBUG_CROND_OPTION
46         bool "Support debug option -d"
47         depends on CROND
48         default n
49         help
50           Support option -d to enter debug mode.
51
52 config FEATURE_CROND_CALL_SENDMAIL
53         bool "Using /usr/sbin/sendmail?"
54         default n
55         depends on CROND
56         help
57           Support calling /usr/sbin/sendmail for send cmd outputs.
58
59 config CRONTAB
60         bool "crontab"
61         default n
62         select FEATURE_SUID
63         help
64           Crontab manipulates the crontab for a particular user.  Only
65           the superuser may specify a different user and/or crontab directory.
66
67 config DC
68         bool "dc"
69         default n
70         help
71           Dc is a reverse-polish desk calculator which supports unlimited
72           precision arithmetic.
73
74 config DEVFSD
75         bool "devfsd (obsolete)"
76         default n
77         select FEATURE_SYSLOG
78         help
79           This is deprecated, and will be removed at the end of 2008.
80
81           Provides compatibility with old device names on a devfs systems.
82           You should set it to true if you have devfs enabled.
83           The following keywords in devsfd.conf are supported:
84           "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
85           "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
86           "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
87
88            But only if they are written UPPERCASE!!!!!!!!
89
90 config DEVFSD_MODLOAD
91         bool "Adds support for MODLOAD keyword in devsfd.conf"
92         default n
93         depends on DEVFSD
94         help
95           This actually doesn't work with busybox modutils but needs
96           the external modutils.
97
98 config DEVFSD_FG_NP
99         bool "Enables the -fg and -np options"
100         default n
101         depends on DEVFSD
102         help
103                 -fg     Run the daemon in the foreground.
104                 -np     Exit  after  parsing  the configuration file. Do not poll for events.
105
106 config DEVFSD_VERBOSE
107         bool "Increases logging (and size)"
108         default n
109         depends on DEVFSD
110         help
111           Increases logging to stderr or syslog.
112
113 config FEATURE_DEVFS
114         bool "  Use devfs names for all devices (obsolete)"
115         default n
116         help
117           This is obsolete and will be going away at the end of 2008..
118
119           This tells busybox to look for names like /dev/loop/0 instead of
120           /dev/loop0.  If your /dev directory has normal names instead of
121           devfs names, you don't want this.
122
123 config EJECT
124         bool "eject"
125         default n
126         help
127           Used to eject cdroms.  (defaults to /dev/cdrom)
128
129 config FEATURE_EJECT_SCSI
130   bool "eject scsi support"
131   default n
132   depends on EJECT
133   help
134     Add the -s option to eject, this allows to eject SCSI-Devices and
135     usb-storage devices.
136
137 config LAST
138         bool "last"
139         default n
140         select FEATURE_WTMP
141         help
142           'last' displays a list of the last users that logged into the system.
143
144 config LESS
145         bool "less"
146         default n
147         help
148           'less' is a pager, meaning that it displays text files. It possesses
149           a wide array of features, and is an improvement over 'more'.
150
151 config FEATURE_LESS_MAXLINES
152         int "Max number of input lines less will try to eat"
153         default 9999999
154         depends on LESS
155
156 config FEATURE_LESS_BRACKETS
157         bool "Enable bracket searching"
158         default y
159         depends on LESS
160         help
161           This option adds the capability to search for matching left and right
162           brackets, facilitating programming.
163
164 config FEATURE_LESS_FLAGS
165         bool "Enable extra flags"
166         default y
167         depends on LESS
168         help
169           The extra flags provided do the following:
170
171           The -M flag enables a more sophisticated status line.
172           The -m flag enables a simpler status line with a percentage.
173
174 config FEATURE_LESS_FLAGCS
175         bool "Enable flag changes"
176         default n
177         depends on LESS
178         help
179           This enables the ability to change command-line flags within
180           less itself.
181
182 config FEATURE_LESS_MARKS
183         bool "Enable marks"
184         default n
185         depends on LESS
186         help
187           Marks enable positions in a file to be stored for easy reference.
188
189 config FEATURE_LESS_REGEXP
190         bool "Enable regular expressions"
191         default n
192         depends on LESS
193         help
194           Enable regular expressions, allowing complex file searches.
195
196 config HDPARM
197         bool "hdparm"
198         default n
199         help
200           Get/Set hard drive parameters.  Primarily intended for ATA
201           drives.  Adds about 13k (or around 30k if you enable the
202           FEATURE_HDPARM_GET_IDENTITY option)....
203
204 config FEATURE_HDPARM_GET_IDENTITY
205         bool "Support obtaining detailed information directly from drives"
206         default y
207         depends on HDPARM
208         help
209           Enables the -I and -i options to obtain detailed information
210           directly from drives about their capabilities and supported ATA
211           feature set. If no device name is specified, hdparm will read
212           identify data from stdin. Enabling this option will add about 16k...
213
214 config FEATURE_HDPARM_HDIO_SCAN_HWIF
215         bool "Register an IDE interface (DANGEROUS)"
216         default n
217         depends on HDPARM
218         help
219           Enables the 'hdparm -R' option to register an IDE interface.
220           This is dangerous stuff, so you should probably say N.
221
222 config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
223         bool "Un-register an IDE interface (DANGEROUS)"
224         default n
225         depends on HDPARM
226         help
227           Enables the 'hdparm -U' option to un-register an IDE interface.
228           This is dangerous stuff, so you should probably say N.
229
230 config FEATURE_HDPARM_HDIO_DRIVE_RESET
231         bool "perform device reset (DANGEROUS)"
232         default n
233         depends on HDPARM
234         help
235           Enables the 'hdparm -w' option to perform a device reset.
236           This is dangerous stuff, so you should probably say N.
237
238 config FEATURE_HDPARM_HDIO_TRISTATE_HWIF
239         bool "tristate device for hotswap (DANGEROUS)"
240         default n
241         depends on HDPARM
242         help
243           Enables the 'hdparm -x' option to tristate device for hotswap,
244           and the '-b' option to get/set bus state.  This is dangerous
245           stuff, so you should probably say N.
246
247 config FEATURE_HDPARM_HDIO_GETSET_DMA
248         bool "get/set using_dma flag (DANGEROUS)"
249         default n
250         depends on HDPARM
251         help
252           Enables the 'hdparm -d' option to get/set using_dma flag.
253           This is dangerous stuff, so you should probably say N.
254
255 config MAKEDEVS
256         bool "makedevs"
257         default n
258         help
259           'makedevs' is a utility used to create a batch of devices with
260           one command.
261           .
262           There are two choices for command line behaviour, the interface
263           as used by LEAF/Linux Router Project, or a device table file.
264           .
265           'leaf' is traditionally what busybox follows, it allows multiple
266           devices of a particluar type to be created per command.
267           e.g. /dev/hda[0-9]
268           Device properties are passed as command line arguments.
269           .
270           'table' reads device properties from a file or stdin, allowing
271           a batch of unrelated devices to be made with one command.
272           User/group names are allowed as an alternative to uid/gid.
273
274 choice
275         prompt "Choose makedevs behaviour"
276         depends on MAKEDEVS
277         default FEATURE_MAKEDEVS_TABLE
278
279 config FEATURE_MAKEDEVS_LEAF
280         bool "leaf"
281
282 config FEATURE_MAKEDEVS_TABLE
283         bool "table"
284
285 endchoice
286
287 config MICROCOM
288         bool "microcom"
289         default n
290         help
291           The poor man's minicom utility for chatting with serial port devices.
292
293 config MOUNTPOINT
294         bool "mountpoint"
295         default n
296         help
297           mountpoint checks if the directory is a mountpoint.
298
299 config MT
300         bool "mt"
301         default n
302         help
303           mt is used to control tape devices.  You can use the mt utility
304           to advance or rewind a tape past a specified number of archive
305           files on the tape.
306
307 config RAIDAUTORUN
308         bool "raidautorun"
309         default n
310         help
311           raidautorun tells the kernel md driver to
312           search and start RAID arrays.
313
314 config READAHEAD
315         bool "readahead"
316         default n
317         depends on LFS
318         help
319           Preload the files listed on the command line into RAM cache so that
320           subsequent reads on these files will not block on disk I/O.
321
322           This applet just calls the readahead(2) system call on each file.
323           It is mainly useful in system startup scripts to preload files
324           or executables before they are used.  When used at the right time
325           (in particular when a CPU boundprocess is running) it can
326           significantly speed up system startup.
327
328           As readahead(2) blocks until each file has been read, it is best to
329           run this applet as a background job.
330
331 config RUNLEVEL
332         bool "runlevel"
333         default n
334         help
335           find the current and previous system runlevel.
336
337           This applet uses utmp but does not rely on busybox supporing
338           utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
339
340 config RX
341         bool "rx"
342         default n
343         help
344           Receive files using the Xmodem protocol.
345
346 config STRINGS
347         bool "strings"
348         default n
349         help
350           strings prints the printable character sequences for each file
351           specified.
352
353 config SETSID
354         bool "setsid"
355         default n
356         help
357           setsid runs a program in a new session
358
359 config TASKSET
360         bool "taskset"
361         default n
362         help
363           Retrieve or set a processes's CPU affinity.
364           This requires sched_{g,s}etaffinity support in your libc.
365
366 config FEATURE_TASKSET_FANCY
367         bool "fancy output"
368         default y
369         depends on TASKSET
370         help
371           Add code for fancy output. This merely silences a compiler-warning
372           and adds about 135 Bytes. May be needed for machines with alot
373           of CPUs.
374
375 config TIME
376         bool "time"
377         default n
378         help
379           The time command runs the specified program with the given arguments.
380           When the command finishes, time writes a message to standard output
381           giving timing statistics about this program run.
382
383 config TTYSIZE
384         bool "ttysize"
385         default n
386         help
387           A replacement for "stty size". Unlike stty, can report only width,
388           only height, or both, in any order. It also does not complain on error,
389           but returns default 80x24. Usage in shell scripts: width=`ttysize w`.
390
391 config WATCHDOG
392         bool "watchdog"
393         default n
394         help
395           The watchdog utility is used with hardware or software watchdog
396           device drivers.  It opens the specified watchdog device special file
397           and periodically writes a magic character to the device.  If the
398           watchdog applet ever fails to write the magic character within a
399           certain amount of time, the watchdog device assumes the system has
400           hung, and will cause the hardware to reboot.
401
402 endmenu
403