Re: bug in ls from coreutils-5.0

[email protected] (Bob Proulx) Sun, 26 Oct 2003 10:33:10 -0700
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
Stuart Winter wrote:
> In Linux, ls reports 'ls: .: Stale NFS file handle'
> when inside the directory (within /proc) of a pid that has since
> exited.
> [...]
> I don't know how or if it's possible to distinguish
> between a stale NFS file handle and one within /proc, but
> if it is then it might be worth changing the error message.

Application programs don't really know what is going on below and just
print the error provided by the kernel.  The kernel would be able to
distinguish this.  But /proc is likely plugging into the NFS interface
and so the sharing of code.  I don't know.  I did not look at the code.

Bob