On Thu, 22 Dec 2011 20:15:35 -0500
Richard Hipp <[email protected]> wrote:

> The rmdir(2) system call on Posix is a no-op if the directory is not
> empty.  So I was thinking that we could just invoke rmdir() (or
> _rmdir() on windows) on the directory of a file every time a file is
> deleted, and let the OS worry about whether or not the directory is
> empty.
> 
> But then I read this on the Linux rmdir(2) manpage:
> 
> "Infelicities in the protocol underlying NFS can cause the unexpected
> disappearance of directories which are still being used."

I'm used to seeing it the other way 'round. You can't delete an empty
directory on an nfs mounted file system because the nfs server has
issues about doing so. And I'd say it's not an infrequent occurrence.

       <mike
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to