> >     --> But it has a side effect, it brokes the open file descriptor:
> > 
> >     tail: A/B: No such file or directory
> >     tail: no files remaining
> 
> What will happen if you export ext2 instead of aufs, execute tail and
> rm? Is the behaviour is different?

I have repeteadly tested 'tail -f A/B & rm A/B; rmdir A' sequence on the
exported ext2 fs. The result is two cases.

- rmdir: A: Directory not empty
  and later,
  tail: A/B: Stale NFS file handle
  tail: no files remaining

- tail: cannot open `A/B' for reading: No such file or directory
  tail: no files remaining
  at once after 'rmdir A'

I think it is the behaviour of nfs server, and aufs just follows it.


Junjiro Okajima

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

Reply via email to