help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cfsaved timestamp patch


From: Mark . Burgess
Subject: Re: cfsaved timestamp patch
Date: Sun, 9 Feb 2003 15:27:38 +0100 (MET)

I have applied this patch, after some thought. In copy I think this
should not be the default, but an option backup=timestamp

Mark


On  2 Dec, skaar wrote:
> attached is an initial patch to add timestamps to cfsaved files:
> 
> e.g:
> /var/spool/cfengine/_tmp_myres.conf_1038873937_Mon_Dec__2_19_05_37_2002_.cfsaved
> 
> the time since Epoch is when the current run of cfengine started,
> and the time stamp is when the file was actually saved. This way
> we first get a major transaction number, and will be able to 
> more able to identfy conflicting edits in complex cfengine
> configurations.
> 
> The extended cfsaved format should probably be optional or atleast
> possible to turn off, in particular for those who coplies binaries
> this way.
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






reply via email to

[Prev in Thread] Current Thread [Next in Thread]