On Thu Jan 22 12:54:14 EST 2009, lu...@proxima.alt.za wrote:
> > use the dump, luke. ☺
> 
> If there was an easy, foolproof way to scan the dump by filename, I
> presume I could search for the earliest instance and consider that the
> time of creation.  Not entirely viable, is it?

it's hard to give a good answer, since i don't
know what the goal is.

> I do wonder why this field was sacrificed in the file system(s) and
> 9P*?
> 
> Or am I dreaming and the time of creation is just a figment of my
> imagination?

of course on a worm filesystem, you could say that each
time a file is modified after it has made it to the worm, it
becomes a brand new file.  though the qid.path doesn't
track this view.  the create time would then differ
from the mtime by as most the time between dumps.

andrey suggests

> history(1)

history doesn't give creation times.  it gives the last mtime
before the first dump of the file.  the file could be deleted
and recreated many times and you'd never know.  (unless
you were to peek at the qid.path.)

but then again, history might be exactly what you're
looking for.  it usually is for me.

- erik

Reply via email to