Received: from spf5.us4.outblaze.com (spf5.us4.outblaze.com [205.158.62.27]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id iAM8oAhL021732 for ; Mon, 22 Nov 2004 08:50:10 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf5.us4.outblaze.com (Postfix) with ESMTP id 79B7C7726F for ; Mon, 22 Nov 2004 08:50:10 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CWA2k-00064K-Ja for migo@homemail.com; Mon, 22 Nov 2004 03:59:30 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CWA1W-00060S-Ph for gnu-arch-users@gnu.org; Mon, 22 Nov 2004 03:58:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CWA1V-0005zx-A3 for gnu-arch-users@gnu.org; Mon, 22 Nov 2004 03:58:13 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CWA1U-0005zc-Tk for gnu-arch-users@gnu.org; Mon, 22 Nov 2004 03:58:13 -0500 Received: from [204.152.189.135] (helo=kechara.flame.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CW9s7-0008Q2-3M for gnu-arch-users@gnu.org; Mon, 22 Nov 2004 03:48:31 -0500 Received: (qmail 15048 invoked by uid 323); 22 Nov 2004 08:48:28 -0000 To: gnu-arch-users@gnu.org Mail-Followup-To: gnu-arch-users@gnu.org Subject: Re: [Gnu-arch-users] [Question] how to preserve multiple file's atomicity ? References: <20041122.144539.71098295.tez@kamihira.com> From: Matthew Dempsky Date: Mon, 22 Nov 2004 02:50:15 -0600 In-Reply-To: <20041122.144539.71098295.tez@kamihira.com> (Tez Kamihira's message of "Mon, 22 Nov 2004 14:45:39 +0900 (JST)") Message-ID: <878y8uqnco.fsf@flame.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , > Now I'd like to change the contents of each file to x' and y' > atomicly preserving each file names, that is, at any time only: > > There are two files X(x) and Y(y) > > or > > There are two files X(x') and Y(y') > > are allowed, and any other states, e.g. X(x) and Y(y'), aren't > allowed, even if any kind of abormal termination occurs, just like > Ctrl-C. > > In ViewARCH's transaction, I meet this situation and I convince that I > resolved this problem in my own way with some strictly defined > intermidiate state. But the implement is very complex and not so easy > to understand. > > What is the best way to solve this problem ? Are there any > orthodoxical way to do it ? Are you asking for something beyond simple atomic commits which arch already natively supports? _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/