Skip to contentSkip to conversation

loading of dm-mod by libdevmapper

linux-lvm Luca Berra 2 participants 2 messages Jan 28, 2010

lore
Share & tools
lore

Luca Berra

author
#0 lore raw

Is there any particular reason why libdevmapper does not load dm-mod as needed, like lvm does for dm targets?

Would a patch in this sense be accepted?

Regards,
L.

Signature · 6 lines
Luca Berra -- [email protected]
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \
#1 lore raw
Quoted 2 lines · Luca Berra

Is there any particular reason why libdevmapper does not load dm-mod as needed, like lvm does for dm targets?

Until recently libdevmapper did not have target-specific code (which this would need). Ultimately I want to move most of the target-specific activation code out of LVM into libdevmapper.

Quoted 1 line

Would a patch in this sense be accepted?

Depends on the patch. If it works as the next step of this 'moving the code scheme' or is tiny, perhaps. If it's too clumsy or would have to be removed before moving the code in, no.

Alasdair