bug in ls from coreutils-5.0
Stuart Winter <[email protected]> Fri, 24 Oct 2003 13:22:20 +0100 (BST)
| Newsgroups | gmane.comp.gnu.fileutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
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