bcache-tools: How and when loading kernel module bcache
Rolf Fokkens
rolf at rolffokkens.nl
Sun Aug 25 13:03:37 UTC 2013
Hi all,
I'm working on packaging bcache-tools, see
https://bugzilla.redhat.com/show_bug.cgi?id=999690
I'd like some advice on "when and how to load the bcache kernel module".
The easiest way for now is to have a file
/etc/modules-load.d/bcache.conf in the package which makes systemd load
the module. This works when using bcache for some filesystems, but it
will also load the bcache module when no bcache is actually used. So, is
this the right approach?
An alternative would be to have the udev "bcache.rules" file load the
kernel module whenever a bcache block device is spotted. Is this better?
Any feedback is is welcome,
Thanks,
Rolf
More information about the devel
mailing list