From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: rm hangs on symlinks to down mount points Date: Tue, 30 Dec 2003 15:09:23 -0800 Sender: autofs-bounces@linux.kernel.org Message-ID: <3FF205A3.7000609@zytor.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: autofs-bounces@linux.kernel.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Paul Raines Cc: autofs@linux.kernel.org Paul Raines wrote: > > If you try to delete linkfile, it hangs forever. Seems to never timeout > or work. Doing a strace shows it hanging to a system stat() call > on the pointed to file. > > First, it seems fundamentally wrong that doing an unlink() on a symlink > causes a stat() call on the pointed to file. Seems a huge waste. > It doesn't; however rm(1) apparently does. -hpa