On Sat, Aug 06, 2016 at 06:11:58PM +0300, Ivan Sizov wrote: > Is there a way to know when the root tree or generation was created? > btrfs-find-root doesn't have such option.
In UTC (or similar wall-clock-like units)? Not easily. I think you'd have to do something like look at the modification time of a file, and then find the latest generation of any item associated with that file, which would give you a time/inode pairing. Do enough of those, and you'd have some kind of map that you could use to approximate the time for a given genid. Hugo. -- Hugo Mills | This year, I'm giving up Lent. hugo@... carfax.org.uk | http://carfax.org.uk/ | PGP: E2AB1DE4 |
signature.asc
Description: Digital signature