lkml.org 
[lkml]   [1996]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject1.3.72: NFS cache problem with deleted directories
Date
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 -a
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.72 #5 Fri Mar 8 17:46:01 MET 1996 i586

ahost: any machine (Linux, SunOS, IRIX)
bhost: a computer running either SunOS or IRIX.

The kernel shows this behaviour at least since version 1.3.69.

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



\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.019 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site