From: "Kay Sievers" Date: Thu, 03 Jul 2008 18:38:49 +0000 Subject: Re: Make udev re-process the rules database? Message-Id: <3ae72650807031138v30e08099xf9a423ebfbbe86bd@mail.gmail.com> List-Id: References: <20080703172941.GD24665@one-eyed-alien.net> In-Reply-To: <20080703172941.GD24665@one-eyed-alien.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Jul 3, 2008 at 19:29, Matthew Dharm wrote: > Is there a way to easily make udev re-process the rules database? > > The scenario I found was when I was messing with rules that applied to > ttyS[0-3]. I would change a rule, and then I couldn't figure out how to > simulate a removal/insertion event to test the new rule. > > Yes, I could use some udev tools to get a simulation of what the rules > would do, but that's not the same thing. And, depending on what I was > changing, the simulation would not give me correct information about what > would happen. > > I wound up doing a lot of rebooting... but is there an easier way? Echo "remove"/"add" to /dev$DEVPATH/uevent? Kay