Date: Mon, 26 Feb 2001 14:54:48 -0700 (MST) From: Nate Williams <nate@yogotech.com> To: Drew Eckhardt <drew@PoohSticks.ORG> Cc: Marc W <mwlist@lanfear.com>, freebsd-hackers@FreeBSD.ORG Subject: Re: Is mkdir guaranteed to be 'atomic' ?? Message-ID: <15002.53416.901436.285883@nomad.yogotech.com> In-Reply-To: <200102262147.f1QLlon10675@chopper.Poohsticks.ORG> References: <200102262058.MAA39009@akira.lanfear.com> <200102262147.f1QLlon10675@chopper.Poohsticks.ORG>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15002.53416.901436.285883>