[dm-devel] Question about dmsetup / udev interactions

Peter Desnoyers pjd at ccs.neu.edu
Fri Jan 20 16:53:24 UTC 2017


> On Jan 20, 2017, at 3:40 AM, Peter Rajnoha <prajnoha at redhat.com> wrote:
> 
> From what you wrote, it seems you're using libdevmapper directly to set
> up the mapping, right?

We *should* be using libdevmapper directly. We'll certainly do that before we show our code to anyone else :-)

> 
> The important flags to avoid scanning within udev rules (blkid and
> similar calls there) is the DM_UDEV_DISABLE_DISK_RULES_FLAG (this is to
> disable the blkid call in 13-dm-disk.rules and associated symlink
> creation) and also DM_UDEV_DISABLE_OTHER_RULES_FLAG to disable all the
> other foreign non-dm udev rules - this is a flag that other rules
> (should) check to skip processing if they see it.

I had a suspicion that this was going to involve udev rules. This should be enough to get us started.

> This is only general information on how device-mapper with libdm
> interacts with udev. To help you more, I'd probably need more detailed
> look at your usecase, design and goals you need to achieve so feel free
> to contact me...

Will do. Thanks again.

.....................................................................
 Peter Desnoyers                                  pjd at ccs.neu.edu
 Northeastern Computer & Information Science      (617) 373-8683



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20170120/8fd7ce35/attachment.htm>


More information about the dm-devel mailing list