Access time on snapshots.

David Gilbert dgilbert at dclg.ca
Wed Nov 17 20:22:31 GMT 2004


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 at daveg.ca                    |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================


More information about the freebsd-hackers mailing list