xfs
[Top] [All Lists]

re[2]: Gaurenteed file write??

To: Nathan Straz <nstraz@xxxxxxx>
Subject: re[2]: Gaurenteed file write??
From: Greg Freemyer <freemyer@xxxxxxxxxxxxxxxxx>
Date: Fri, 18 Oct 2002 10:01:16 -0400
Cc: xfs mailing list <linux-xfs@xxxxxxxxxxx>
Organization: The NorcrossGroup
Sender: linux-xfs-bounce@xxxxxxxxxxx
 >>  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

Nate,

Thanks for that excellent advice.

Greg



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