W Sanders
2009-Jul-20 17:45 UTC
[zfs-discuss] Snapshots and atime - OK to use atime for snapshot creation time?
I notice that on my ZFS filesystems the "atime" of snapshots is equal to the snapshot creation time. Is this guaranteed to be kosher? It does not seem to change when I read the snapshot: # ls -lu /blah/.zfs/snapshot total 55 drwxr-xr-x 16 root root 16 Jul 7 00:43 2009-07-07-00:43:29 drwxr-xr-x 16 root root 16 Jul 8 06:59 2009-07-08-22:00:20 drwxr-xr-x 16 root root 16 Jul 8 21:59 2009-07-09-21:52:45 drwxr-xr-x 16 root root 16 Jul 9 21:52 2009-07-10-21:59:15 ... # ls -lR /blah/.zfs/snapshot/2009-07-07-00:43:29 # ls -lu /blah/.zfs/snapshot total 55 drwxr-xr-x 16 root root 16 Jul 7 00:43 2009-07-07-00:43:29 ... The ctime of the snapshot is the ctime of the filesystem, the mtime of the snapshot is "Jul 21 2008" (???) -- This message posted from opensolaris.org