On 17.07.19 г. 12:11 ч., Ulli Horlacher wrote: > On Wed 2019-07-17 (11:24), Nikolay Borisov wrote: >> >> >> On 17.07.19 3. 2:24 G., Ulli Horlacher wrote: >> >>> I thought, I can recognize a snapshot when it has a Parent UUID, but this >>> is not true for snapshots of toplevel subvolumes: >> >> As you have asked this before - in my testing this is not true. > > It is true on all my SUSE and Ubuntu systems, for all versions. That's strange, as I've shown in the previous thread, using the latest master doesn't exhibit this behavior. > > >> Alternatively you have to parse the root tree - the ROOT_ITEM's offset >> member should be 0 for well-known trees/ordinary subvolume or the >> transaction id when the snapshot was created. > > Where can I find this ROOT_ITEM offset member? Which command? btrfs inspect-internal dump-tree -t 1 /dev/vdb > >
