[gmx-developers] multiple backups

David van der Spoel spoel at xray.bmc.uu.se
Mon Mar 11 20:02:27 CET 2002


On Mon, 11 Mar 2002 nesanfor at criba.edu.ar wrote:

>Hello;
>    I adhere to Anton´s idea were sucesive backups are noted as #name.ext.n# 
>were n in the ´deepness level´ of the backup. This could be  usefull since any 
>further operation on such files could be driven by the ´n´index . Perhaps it 
>could be useful to leave an option to the user to the a limit of deepness of 
>backups and once arrived to thal limit to make the set of backups to behave as 
>a shift register were #name.ext.n# <- #name.ext.(n+1)# from n to N-1 (were N is 
>the max depth) and the last backup set as #name.ext.N#
I have a slightly simpler scheme, where files are numbered 0 through 1023 
and if you need more the program just bails out with a fatal error.

I just hope no one is going to rely on the backup mechanism for storing 
files...

Groeten, David.
________________________________________________________________________
Dr. David van der Spoel, 	Biomedical center, Dept. of Biochemistry
Husargatan 3, Box 576,  	75123 Uppsala, Sweden
phone:	46 18 471 4205		fax: 46 18 511 755
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://zorn.bmc.uu.se/~spoel
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




More information about the gromacs.org_gmx-developers mailing list