Project

General

Profile

Actions

Bug #1308

closed

hammer: stat returns wrong time when using tids

Added by corecode about 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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

How to reproduce:

touch foo2 && fsync foo2 && sleep 5 && echo foo >> foo2 && fsync foo2 && sleep 5
&& echo foo2 >> foo2 && fsync foo2

then undo -i and stat any given foo2@@0x..., you'll always see the initial time,
except if you use tid -1.

Actions

Also available in: Atom PDF