[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] subsecond mtime not preserved in archives
From: |
Kenneth Loafman |
Subject: |
Re: [Duplicity-talk] subsecond mtime not preserved in archives |
Date: |
Mon, 10 Sep 2007 16:03:10 -0500 |
User-agent: |
Thunderbird 1.5.0.13 (X11/20070824) |
Peter Schuller wrote:
> Hello,
>
> I noticed that --verify always generated different mtime for all files
> in a backup set when run on ZFS. Changing the printout to report
> un-prettified mtimes yields:
>
> Difference found: File test has mtime Mon Sep 10 22:18:54 2007
> (1189455534.39), expected Mon Sep 10 22:18:54 2007 (1189455534)
>
> Thus, the problem seems to be that sub-second mtimes are not preserved
> in the backup archives.
>
> Does anyone have opinions as to whether the proper fix to this should
> be to store subsecond mtimes in the archives (if that is even possible
> given that it's tar files), or whether the comparison should simply be
> made rounded?
This happened on Windows as well. I've got that down as a bug, but no
fix for it, yet. My approach for Windows was to truncate to the nearest
integer. It should be in CVS, but may be conditioned for Windows only.
...Ken
signature.asc
Description: OpenPGP digital signature