From: Kay Sievers Subject: Re: [PATCH 1/3] Send KOBJ_ADD event after dm resume ioctl. Date: Fri, 19 Mar 2010 13:16:56 +0100 Message-ID: References: <1268920694-10960-1-git-send-email-mbroz@redhat.com> <4BA29CA4.9070000@redhat.com> <20100319090656.GR6379@soda.linbit> <4BA348B7.5070604@redhat.com> <20100319121238.GB919@agk-dp.fab.redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100319121238.GB919@agk-dp.fab.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Kay Sievers , Milan Broz , device-mapper development List-Id: dm-devel.ids On Fri, Mar 19, 2010 at 13:12, Alasdair G Kergon 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