[issue1308] hammer: stat returns wrong time when using tids

Matthew Dillon dillon at apollo.backplane.com
Fri Mar 6 19:25:06 PST 2009


:When stat'ing a file with tid, hammer seems to always return the "first" ti=
:me
:for mtime, not the real mtime.  However undo -i can retrieve this time, so =
:it
:possibly isn't lost.

    Note that the fixed mtime/atime for files accessed via a TID is to
    ensure that snapshots remain consistent.  Otherwise if you do something
    such as tar up a snapshot and pipe it to md5, and then do it again
    later, you will get a different result.

    We may be able to do some refinement there, but whatever is returned
    by the snapshot has to be returned every time the snapshot is accessed.

						-Matt






More information about the Bugs mailing list