man discover.conf (Formats) - hardware detection settings

NAME

discover.conf - hardware detection settings

discover.conf-2.6 - hardware detection settings for 2.5/2.6 kernels

SYNOPSIS

/etc/discover.conf, /etc/discover.conf-2.6

DESCRIPTION

discover.conf and discover.conf-2.6 are the configuration files used by discover(8)'s init script to determine what kinds of hardware discovery to do at boot time. It also permits the specification of a kernel module blacklist, preventing the loading of certain device drivers by discover's init script.

discover.conf-2.6 will only be used if discover's initialization script detects that you have booted your system with a 2.5 or 2.6 series kernel.

FORMAT

The file's format is fairly standard: one entry per line, with comment lines starting with the # character. Each line starts with a keyword, followed by configuration items. The keywords are:

enable, disable
These keywords each take a comma-separated list of bus types; valid values include pci, isa, usb, pcmcia, ide, scsi, parallel, and serial. As may be obvious, enable enables scans of those buses, while disable disables them.
boot
This keyword indicates a list of device types that are scanned for at boot time. Any valid device type recognized by discover at the command line is valid.
skip
This keyword takes a single module name as its argument. This indicates that the particular module should never be reported by discover as a valid module to load, perhaps because the module crashes the system or causes other problems.
map
This keyword takes two module names as arguments. This will translate any occurrence of the first module name in discover output to the second when loading the module is requested.

OTHER FILES

The file /etc/discover-autoskip.conf is also read by discover's init script in the same manner as /etc/discover.conf. This file is used to detect modules that cause immediate crashes; any modules that cause problems will be added to this file as skip entries, to allow discover to continue without crashing the system in a loop.

SEE ALSO

AUTHORS

Eric Gillespie, Jeff Licquia, Ian Murdock, and Branden Robinson for Progeny Linux Systems, Inc. and Debian GNU/Linux.

Based on detect by MandrakeSoft SA. Original authors include: Alexandre Dussart, Bernhard Rosenkraenzer, Felipe Rivera Marquez, Jamie Fifield, Philippe Chauvat, Andrew Post, Stefan Siegel, Dan Helfman, Balazs Scheidler, Christophe Romain, Eric Dumas, Michael Vogt, Pablo Saratxaga, and Martin Mares.