Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 16:01:28 -0600
From:      seebs@plethora.net (Peter Seebach)
To:        freebsd-hackers@freebsd.org
Subject:   Re: Is mkdir guaranteed to be 'atomic' ?? 
Message-ID:  <200102262201.f1QM1S620699@guild.plethora.net>
In-Reply-To: Your message of "Mon, 26 Feb 2001 13:59:14 PST." <200102262159.f1QLxES01872@mass.dis.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200102262159.f1QLxES01872@mass.dis.org>, Mike Smith writes:
>How would it *not* be atomic?

Well, imagine a hypothetical broken system in which two simultaneous calls
to mkdir, on some hypothetical broken filesystem, can each think that it
"succeeded".  After all, at the end of the operation, the directory has
been created, so who's to say they're wrong?  ;)

-s

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?200102262201.f1QM1S620699>