Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2004 15:22:27 -0500
From:      David Gilbert <dgilbert@dclg.ca>
To:        freebsd-hackers@freebsd.org
Subject:   Access time on snapshots.
Message-ID:  <16795.45827.597456.957858@canoe.dclg.ca>

next in thread | raw e-mail | index | archive | help
Another odd thing about snapshots is that the time shown by ls -l is
mostly current.  Havn't found a rule for that yet.  ls -lu seems to
show the creation time even tho the man page for ls says that's the
last access time.

Since the snapshot itself shouldn't (logically) change after creation,
it would seem sensible to make the modification time stay constant.

(also: why doesn't ls have a creation time option?)

... this all came up for me because the fileprune utility doesn't seem
to be able to do anything sensible with a pile of snapshots.

Dave.

-- 
============================================================================
|David Gilbert, Independent Contractor.       | Two things can only be     |
|Mail:       dave@daveg.ca                    |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16795.45827.597456.957858>