1MKMODALIASES(1) MKMODALIASES(1)
2
3
4
6 mkmodaliases - Construct modaliases file for kernel modules
7
9 mkmodaliases package-name [.ko file] [.ko file]
10
12 mkmodaliases is a tool to generate .modaliases files used for hardware
13 detection when using linux-driver-management. These files contain a
14 modalias entry per line, defining the modalias pattern match and kernel
15 module names.
16
17 These are used by the LDM library to provide automatic matching of
18 hardware devices to kernel modules.
19
20 Upon success, the modalias file is emitted to the stdout, unless the -o
21 option is provided to write to a specific file.
22
24 The following options are applicable to mkmodaliases(1).
25
26 · -o, --output
27
28 Redirect the output to a named file, generating a modalias in that
29 path instead of on the default stdout.
30
31 · -v, --version
32
33 Print the mkmodaliases version and exit.
34
35 · -h, --help
36
37 Print the help message, displaying all supported options, and exit.
38
39
40
42 On success, 0 is returned. A non-zero return code signals a failure.
43
45 · Copyright © 2017-2018 Linux Driver Management Developers, Solus
46 Project, License: CC-BY-SA-3.0
47
48
49
51 · https://github.com/solus-project/linux-driver-management
52
53 · linux-driver-management(1)
54
55
56
58 Creative Commons Attribution-ShareAlike 3.0 Unported
59
60 · http://creativecommons.org/licenses/by-sa/3.0/
61
62
63
64
65
66
67 January 2018 MKMODALIASES(1)