Re: Discussion: performance issue on event activation mode

David Teigland <[email protected]>
Newsgroups gmane.linux.lvm.general
Message-ID <[email protected]>
On Wed, Oct 20, 2021 at 02:40:25PM +0000, Martin Wilck wrote:
> > I began trying to use RUN several months ago and I think I gave up
> > trying to find a way to pass values from the RUN program back into the
> > udev rule (possibly by writing values to a temp file and then doing
> > IMPORT{file}). 
> 
> That can't work, because RUN is executed *after* all rules have been
> processed. That's documented in the man page. I don't quite understand
> what you're trying to achieve.

I was just providing some background history after you and Peter both
mentioned the idea of using RUN instead of IMPORT.  That is, I gave up
trying to use RUN many months ago because it wouldn't work, while IMPORT
actually does what we need, to produce the vgname variable inside the
rule.

_______________________________________________
linux-lvm mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.