Re: Question about dmsetup / udev interactions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Jan 20, 2017, at 3:40 AM, Peter Rajnoha <prajnoha@xxxxxxxxxx> 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@xxxxxxxxxxx
 Northeastern Computer & Information Science      (617) 373-8683



--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux