From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 10 Mar 2005 08:37:05 +0000 Subject: Re: [PATCH] prevent unlinking moved symlinks Message-Id: <1110443825.3797.1.camel@localhost.localdomain> List-Id: References: <20050308055953.GA17994@luebsphoto.com> In-Reply-To: <20050308055953.GA17994@luebsphoto.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, 2005-03-08 at 00:59 -0500, John K Luebs wrote: > Here's a fairly obvious fix; so someone please check it carefully. > > This patch causes the remove handler to check that each symlink > actually points to the correct devnode and skip it if it does not. > The current policy for symlinks in devnode add handling is to "move" the > link if it exists, so when an old devnode is being removed its stored > symlink entries might be stale. That's a nice change. I've applied that to my tree. Thanks, Kay ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ 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