OpenAFS CVS Commit: openafs/src/volser by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Wed, 28 Jul 2004 23:44:09 EDT


Update of /cvs/openafs/src/volser
In directory GRAND.CENTRAL.ORG:/data/sb/openafs/src/volser

Modified Files:
	volprocs.c volser.p.h vos.c vsprocs.c 
Log Message:
DELTA volser-restore-timestamp-cleanup-20040728
AUTHOR kvanhees@sinenomine.net
FIXES 5926

This patch solves the problem of how timestamps are handled by during a
'vos restore' by allowing the specification of there the creation and last
updated timestamps are taken from:

        - generate a new one using the current time
        - retain the one in the target volume if there is one
        - restore the timestamp from the dump file

This is needed to allow sequences of restoring incremental dumps on top of
full dump work, and to ensure that a subsequent vos release can do a real
incremental release for the restored incremental dumps.

It also fixes the fact that the vos exa command hides potential problems
with timestamps by refusing to display a last updated timestamp that is
older than the creation timestamp.


--- DELTA config follows ---
volser-restore-timestamp-cleanup-20040728 openafs/src/volser/volprocs.c 1.33 1.34
volser-restore-timestamp-cleanup-20040728 openafs/src/volser/volser.p.h 1.7 1.8
volser-restore-timestamp-cleanup-20040728 openafs/src/volser/vos.c 1.38 1.39
volser-restore-timestamp-cleanup-20040728 openafs/src/volser/vsprocs.c 1.32 1.33