Date: Wed, 17 Nov 2004 14:29:26 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: David Gilbert <dgilbert@dclg.ca> Cc: freebsd-hackers@freebsd.org Subject: Re: Access time on snapshots. Message-ID: <20041117202926.GG3342@dan.emsphone.com> In-Reply-To: <16795.45827.597456.957858@canoe.dclg.ca> References: <16795.45827.597456.957858@canoe.dclg.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Nov 17), David Gilbert said: > 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. Could the mtime on the snapshot might be updated when the kernel has to add a block to the snapshot file because of a write to the parent filesystem? (note this only applies to the first write to a block; later writes don't affect the snapshot because it's already made a copy of the original data) > (also: why doesn't ls have a creation time option?) I think ls is running run out of option letters :) -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041117202926.GG3342>