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: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sat, 07 Mar 2009 05:04:52 +0100

Matthew Dillon wrote:
: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.

Ah now I see, it always reports to ctime of the inode. I suppose we don't keep track of mtimes then?


cheers
  simon

--
  <3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /"\
  rock the past  +++  space for low €€€ NOW!1  +++     Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \




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