From owner-freebsd-chat Fri May 22 19:54:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA19584 for freebsd-chat-outgoing; Fri, 22 May 1998 19:54:31 -0700 (PDT) (envelope-from owner-freebsd-chat@FreeBSD.ORG) Received: from mail-gw6.pacbell.net (mail-gw6.pacbell.net [206.13.28.41]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA19576 for ; Fri, 22 May 1998 19:54:25 -0700 (PDT) (envelope-from jackv@earthling.net) Received: from eliot.pacbell.net (ppp-206-170-32-248.snfc21.pacbell.net [206.170.32.248]) by mail-gw6.pacbell.net (8.8.8/8.7.1+antispam) with SMTP id TAA09569 for ; Fri, 22 May 1998 19:54:25 -0700 (PDT) From: "Jack Velte" To: Subject: Re: Linus finally got it (filesystem issue) Date: Fri, 22 May 1998 19:49:03 -0700 Message-ID: <01bd85f5$585b44a0$f820aace@eliot.pacbell.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >However, the case with ordered metadata updates is this simple (and >is, if I've understood POSIX correctly, how it require it to be): > >1. Create "object.newdata" >2. fsync "object.newdata" >3. rename "object.newdata, "object" > >On reboot: >1. "object.newdata" doesn't exist >1.1 You're done. >2. "object.newdata" does exist >2.1 unlink "object.newdata" >2.2. you're done. 1.1 object.newdata exists 1.2 unlink object.newdata. or 1.1 (void) unlink object.newdata -jack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message