mountfsd is supposed to be available during early boot aleady, before
systemd-tmpfiles-setup-dev-early.service completes, hence make sure
loopback devices and DM already work before that.
As suggested by yuwata here:
https://github.com/systemd/systemd/pull/35685#issuecomment-
2608157569
[Unit]
Description=DDI File System Mounter
Documentation=man:systemd-mountfsd.service(8)
+Wants=modprobe@loop.service modprobe@dm_mod.service
Requires=systemd-mountfsd.socket
-After=systemd-mountfsd.socket
+After=systemd-mountfsd.socket modprobe@loop.service modprobe@dm_mod.service
Conflicts=shutdown.target
Before=sysinit.target shutdown.target
DefaultDependencies=no