modconf8
A module configuration utility
Usage
modconf [--source
[{floppy | mounted}]]
[--target
destination]
[--libdir
path]
[--restrict-section
section]
*
[--exclude-section
section]
*
[--load-before
module]
*
[--load-only
module]
*
[--load-after
module]
*
Overview
modconf is a script for installing kernel modules on Linux. It can be used interactively (GUI mode) or from the command-line (batch mode).
Options
The options marked with a "*" below are applied only to one module. If you want to apply them to more than one module then repeat the option in the command line.
-
--source floppy|mounted -
Indicates where the modules are to be obtained from.
floppyis used when installing Linux.mountedis used on already installed Linux systems. This is the default.
-
--target directory -
specifies where the etc/modules and etc/modules.conf are to be found on the system (default: / ). Do not include a trailing "/" after the directory name.
-
--libdir path -
Indicates where the eval and descr.gz files are to be found on the system (default: /usr/share/modconf). Do not include a trailing "/" after the directory name.
-
--restrict-section section* -
restricts
modconfto only work with the specified section of /lib/modules
-
--exclude-section section* -
force
modconfto not work with the specified section of /lib/modulesAvailable sections at the time of this writing are:
blockcdromfsipv4ipv6miscnetscsi(there may be others if you have installed packages with special modules, like pcmcia-modules).
-
--load-before module* -
indicates a module that will be inserted
beforeany others.
-
--load-only module* -
specifies a
moduleto be inserted after all those indicated with the--load-beforeoption. Disables interactive mode.
-
--load-after module* -
specifies a
moduleto be inserted after all those indicated with the--load-beforeoption.
This option isoverriddenby the previous one.
Examples
Examples below are untested
- modconf --load-only plip --load-before ip_masq_ftp --load-only appletalk
- Inserts modules "ip_masq_ftp", "plip" and "appletalk", in that order, and
-
does not run the interactive program.
Releases
8 releases since Debian 2.0 (Hamm); the text changed 2 times.