mkmodaliases - Man Page

Construct modaliases file for kernel modules


mkmodaliases package-name [.ko file] [.ko file]


mkmodaliases is a tool to generate .modaliases files used for hardware detection when using linux-driver-management. These files contain a modalias entry per line, defining the modalias pattern match and kernel module names.

These are used by the LDM library to provide automatic matching of hardware devices to kernel modules.

Upon success, the modalias file is emitted to the stdout, unless the -o option is provided to write to a specific file.


The following options are applicable to mkmodaliases(1).

Exit Status

On success, 0 is returned. A non-zero return code signals a failure.

See Also


Creative Commons Attribution-ShareAlike 3.0 Unported

Referenced By


January 2018