From owner-freebsd-hackers Mon Feb 26 14:10:13 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.dis.org (user-uinjtfm.biz.mindspring.com [165.121.245.246]) by hub.freebsd.org (Postfix) with ESMTP id B531837B491 for ; Mon, 26 Feb 2001 14:10:08 -0800 (PST) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.2/8.11.2) with ESMTP id f1QMAlS01993; Mon, 26 Feb 2001 14:10:51 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200102262210.f1QMAlS01993@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: seebs@plethora.net (Peter Seebach) Cc: freebsd-hackers@freebsd.org Subject: Re: Is mkdir guaranteed to be 'atomic' ?? In-reply-to: Your message of "Mon, 26 Feb 2001 16:01:28 CST." <200102262201.f1QM1S620699@guild.plethora.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 26 Feb 2001 14:10:47 -0800 From: Mike Smith 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? ;) Is this somehow related to memory overcommit? -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message