DragonFly bugs List (threaded) for 2009-03
DragonFly BSD
DragonFly bugs List (threaded) for 2009-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 6 Mar 2009 19:22:39 -0800 (PST)

: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




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