> But then, we would also need to force-load the module before init
> pivot_root, otherwise the module would still be unavailable (since the
> initramfs is not accessible after system boot, AIUI).
Sorry, should have stated that explicitly. Presence in
/etc/initramfs-tools/modules gets the module modprobed before pivot_root.
from mkinitramfs(8):
/etc/initramfs-tools/modules
Specified modules will be put in the generated image and loaded
when the system boots. The format - one per line - is identical
to that of /etc/modules, which is described in modules(5).
> But then, we would also need to force-load the module before init
> pivot_root, otherwise the module would still be unavailable (since the
> initramfs is not accessible after system boot, AIUI).
Sorry, should have stated that explicitly. Presence in tools/modules gets the module modprobed before pivot_root.
/etc/initramfs-
from mkinitramfs(8): initramfs- tools/modules
/etc/
Specified modules will be put in the generated image and loaded
when the system boots. The format - one per line - is identical
to that of /etc/modules, which is described in modules(5).