1.3.69: NFS cache problem with deleted directories

Mike Castle (rhdv@beatrix.fss.fokker.nl)
Tue, 27 Feb 1996 18:58:06 +0100 (MET)


I have found an anomaly when deleting directories on mounted NFS filesystems.
The problem is that when you ask the contents of a deleted directory
you just get "total 0" instead of something like
"ls: .: Stale NFS file handle".

Repeat by:

ahost:~$ mkdir foo
bhost:~$ cd foo
linux:~$ cd foo
ahost:~$ rmdir foo
linux:~/foo$ ls
total 0
bhost:~/foo$ ls
ls: .: Stale NFS file handle
linux:~/foo$ touch bar
touch: foo: Stale NFS file handle
linux:~/foo$ ls -la
total 0
linux:~/foo$ cd ..
linux:~$ uname -a
Linux hobbes 1.3.69 #2 Tue Feb 27 17:01:40 MET 1996 i586

Robert

-- 
Robert H. de Vries
Simulation and Robotics
Fokker Space B.V.
e-mail: rhdv@fss.fokker.nl
   tel: (+31)71-5245464
   fax: (+31)71-5245498