From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Tue, 26 Oct 2004 13:16:22 +0000 Subject: Re: permissions: udev vs. pam_devperm.so Message-Id: <20041026131622.GA1703@vrfy.org> List-Id: References: <417DF0A8.2060108@bio.ifi.lmu.de> In-Reply-To: <417DF0A8.2060108@bio.ifi.lmu.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Oct 26, 2004 at 02:30:10PM +0200, Frank Steiner wrote: > Kay Sievers wrote > > > > >>Any way to achieve that? Like a flag "leave node untouched if it exists"? > > > > > >There is currently no way to tell udev about this. But this job can be > >done by a script in /etc/dev.d/. This will work with custom names too. > > Thanks, I will try this! If you ever feel like you want to add such a > flag, just do it ;-) I don't think that this will work, as there should be a remove event before you get a new add event and the node will be deleted and recreated without anything to preserve. You may check the inode number, it should have changed. We may come up with something like the RH udev version, to filter out the remove events for certain devices to cover that broken ide behavior. Thanks, Kay ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel