[systemd-devel] modprobe in service file
Lennart Poettering
lennart at poettering.net
Wed Nov 9 02:58:57 PST 2011
On Wed, 09.11.11 08:13, "Jóhann B. Guðmundsson" (johannbg at gmail.com) wrote:
> On 11/09/2011 01:14 AM, Lennart Poettering wrote:
> >So, ideally all kmods these days can be autoloaded on use. And for the
> >few ones which cannot be autoloaded placing a file in
> >/etc/load-modules.d/
>
> Do you have any links to documentation on how to autoload kmods on use?
Well, this is a kernel feature. The kernel module developers have to add
the right directives to their .c sources to make the module
autoloadable. And there are a number of different hooks for the
auto-loading. i.e. since about always PCI vendor/product IDs could be
used to do module auto loading, but nowadays DMI info works too, or
device nodes can be precreated and information about it included in the
kmod, and so on. So, making modules autoloadable is something for the
kernel hackers to care for.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list