From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Holtmann Date: Fri, 02 Jan 2009 18:36:16 +0000 Subject: Re: Replaying event for a libudev monitor Message-Id: <1230921376.26730.46.camel@californication> List-Id: References: <1230884168.15391.8.camel@californication> In-Reply-To: <1230884168.15391.8.camel@californication> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi David, > > In addition we could add an add_match helper to the enumeration API that > > allows applications, that don't care about runtime monitoring, just list > > the devices with such a defined tag. > > > > Would this work? > > Is it really useful to add all this API and complexity? Just to replay > events instead of enumerating? Perhaps it would be useful if you > explained why you want to replay and not enumerate... forget about it. I was mislead by the actual available information via enumeration. Getting the ENV details via enumeration is all I need. It was just a simple idea to use the same callback I use in the monitor to use for the initial enumeration of devices that match a certain pattern. Regards Marcel