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


_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to