On Tuesday 13 November 2007 17:22:16 Hugo Mills wrote:
> On Tue, Nov 13, 2007 at 05:17:55PM -0000, Bond, Peter wrote:
> > > I've looked at udev, but it doesn't get told about the creation of
> > > device nodes in /dev/mapper (it gets told about /dev/dm-<n>, but
> > > that's useless), so udev is not the solution.
> >
> > Bogged down with arguing with HP hw monitoring at the moment, so maybe
> > I'm not reading things correctly, but what's the issue with using udev to
> > control ownership?
> >
> > http://reactivated.net/writing_udev_rules.html#ownership
>
> Precisely what I said above -- when the nodes are created, udev is
> not informed, so there's no rules examined. It looks like lvm creates
> the nodes itself, in userspace, rather than going through the kernel
> or otherwise alerting udev.
>
> Hugo.
Can't you just kick off udevstart? That's what we do on the SAN at work when
we've created new LUNs and need to apply a device persistence udev rule
Peter