From owner-freebsd-hackers Mon Feb 26 14: 1:36 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from guild.plethora.net (guild.plethora.net [205.166.146.8]) by hub.freebsd.org (Postfix) with ESMTP id 5104837B401 for ; Mon, 26 Feb 2001 14:01:31 -0800 (PST) (envelope-from seebs@guild.plethora.net) Received: from guild.plethora.net (seebs@localhost.plethora.net [127.0.0.1]) by guild.plethora.net (8.10.1/8.10.1) with ESMTP id f1QM1S620699 for ; Mon, 26 Feb 2001 16:01:28 -0600 (CST) Message-Id: <200102262201.f1QM1S620699@guild.plethora.net> From: seebs@plethora.net (Peter Seebach) Reply-To: seebs@plethora.net (Peter Seebach) To: freebsd-hackers@freebsd.org Subject: Re: Is mkdir guaranteed to be 'atomic' ?? In-reply-to: Your message of "Mon, 26 Feb 2001 13:59:14 PST." <200102262159.f1QLxES01872@mass.dis.org> Date: Mon, 26 Feb 2001 16:01:28 -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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