[dm-devel] [PATCH 1/3] Send KOBJ_ADD event after dm resume ioctl.

Kay Sievers kay.sievers at vrfy.org
Fri Mar 19 12:16:56 UTC 2010


On Fri, Mar 19, 2010 at 13:12, Alasdair G Kergon <agk at redhat.com> wrote:
> On Fri, Mar 19, 2010 at 11:16:15AM +0100, Kay Sievers wrote:
>> It will not wait, the tools will just fail to open the device, and
>
> In some cases the tools are wasting their time even trying to open
> the device - we know in advance that it is pointless and should have
> a mechanism in place so they can be told not to bother.
>
> E.g. Flagging a device as 'private' as discussed in an earlier mail.

Sure, that can all be done. Plain udev leaves dm and md devices
completely to the subsystem own rules. It might be other tools which
interfere here, and that might need to be synchronized to match on
some values in the udev properties or sysfs.

Kay




More information about the dm-devel mailing list