Skip to contentSkip to conversation

snapshot timestamps should be time of creation

linux-lvm James G. Sack (jim) 1 participant 1 message Apr 6, 2005

lore
Share & tools
lore
#0 lore raw

I notice that the timestamp on a snapshot gets set to the mtime of the origin volume (at least it works that way on LVM1).

I suggest it would be more meaningful to users if the snapshot time could be made the time of snapshot creation.

I am currently 'touch'ing the origin filesystem before calling lvcreate, in order to get the snapshot to stat the way I like, but it may be argued that touching the origin is not desirable (the origin may even be unmounted, of course).

..jim