> >    is mkdir(3) guaranteed to be atomic?  
> 
> Yes.
> 
> >Are there filesystem type cases where this might not be the case 
> >(NFS being my main concern ....)
> 
> No.

Yes.  NFS doesn't guarantee atomicity, because it can't.  If the mkdir
call returns, you have no guarantee that the remote directory has been
created (caching, errors, etc...)




Nate

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to