Strange filesystem behavior, Ubuntu 9

Posted by Fixee on Server Fault See other posts from Server Fault or by Fixee
Published on 2011-02-15T20:57:21Z Indexed on 2011/02/15 23:27 UTC
Read the original article Hit count: 184

Filed under:
|

I have two windows open on the same machine (Ubuntu 9, ia32, server). I'll call these windows W1 and W2.

W1:

$ cd ~/test  
$ ls  
sample  
$  

In W2 I run "make" from a parent directory that recreates file test/sample:

$ make project
.
.
$ cd test
$ ls 
sample
$

Now, returning to W1:

$ ls
$ cd ../test
$ ls 
sample
$

In other words, after I build from another window and the file test/sample is replaced, ls shows the file as missing in the 2nd window until I cd ../test back into the directory whereupon it reappears.

I can give more details if required, but just wondering if this is a well-known behavior.

© Server Fault or respective owner

Related posts about linux

Related posts about filesystems