[Top] [All Lists]

Re: Gaurenteed file write??

To: Greg Freemyer <freemyer@xxxxxxxxxxxxxxxxx>
Subject: Re: Gaurenteed file write??
From: Nathan Straz <nstraz@xxxxxxx>
Date: Fri, 18 Oct 2002 08:10:55 -0500
Cc: xfs mailing list <linux-xfs@xxxxxxxxxxx>
In-reply-to: <20021015180506.NXFR22240.imf13bis.bellsouth.net@Mother2>
Mail-followup-to: Greg Freemyer <freemyer@xxxxxxxxxxxxxxxxx>, xfs mailing list <linux-xfs@xxxxxxxxxxx>
References: <20021015180506.NXFR22240.imf13bis.bellsouth.net@Mother2>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4i
On Tue, Oct 15, 2002 at 02:03:21PM -0400, Greg Freemyer wrote:
> I have an iteration counter that I update every night.
>     echo $ITERATION > /backup/iteration
> Recently this file was reset to 0.

You might want to think about storing $ITERNATION as part of a file
name instead of in a file.  That way $ITERATION is part of a journal
transaction.  That might give you better results.  

Nate Straz                                              nstraz@xxxxxxx
sgi, inc                                           http://www.sgi.com/
Linux Test Project                                  http://ltp.sf.net/

<Prev in Thread] Current Thread [Next in Thread>