bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rm -r sometimes produces errors under NFS


From: James Youngman
Subject: Re: rm -r sometimes produces errors under NFS
Date: Mon, 5 Mar 2007 23:25:37 +0000

On 3/5/07, Jim Meyering <address@hidden> wrote:
Vincent Lefevre <address@hidden> wrote:
> I've attached the log. Here are the contents of the archive:

Your log shows that rm succeeds in removing each file (all unlink syscalls
succeed), yet the directory is not empty, so it rewinds it and goes
through again -- and all names are still there.  The _second_ unlink
attempt fails with ENOENT, because now NFS is reporting that it's gone:

  access("test/config.h.in", W_OK)        = 0
  unlink("/proc/self/fd/4/config.h.in")   = 0
  ...
  access("test/config.h.in", W_OK)        = -1 ESTALE (Stale NFS file handle)

ESTALE seems wrong here.   Why does the kernel return that?

James.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]