bug-fileutils
[Top][All Lists]
Advanced

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

bug in ls from coreutils-5.0


From: Stuart Winter
Subject: bug in ls from coreutils-5.0
Date: Fri, 24 Oct 2003 13:22:20 +0100 (BST)

Hi

In Linux, ls reports 'ls: .: Stale NFS file handle'
when inside the directory (within /proc) of a pid that has since
exited.

Example:

zoink [root] # nslookup &
[1] 960
zoink [root] # >

[1]+  Stopped                 nslookup -silent
zoink [root] # cd /proc/960
zoink [960] # ls
cmdline  cwd@  environ  exe@  fd/  maps  mem  mounts  root@  stat  statm
status
zoink [960] # kill -9 960
[1]+  Killed                  nslookup -silent  (wd: ~)
(wd now: /proc/960)
zoink [960] # ls
ls: .: Stale NFS file handle
zoink [960] #

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.

s.
-- 
Stuart Winter
www.interlude.org.uk & www.biscuit.org.uk




reply via email to

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