On 07/13/2017 09:58 PM, Holger Hoffstätte wrote:
On 07/13/17 15:25, Jeffrey Mahoney wrote:
On 7/13/17 12:16 AM, Anand Jain wrote:
As users generally organize the subvols and snapshots based on the subvol
directory hierarchy. So providing an ability to sort them by topid would
help. Thanks.
What is a topid? I needed to look at the code to discover this and it's
not even documented as part of the root_info structure. Users are going
to have no idea what this means.
The idea seems similar to my attempt to add listing of toplevel-only
(i.e. non-snapshot) subvolumes, which can be found here:
No. Actually my idea wasn't about the eliminating the snapshots from
the list. But to show in the order that user has organized their subvol
and snapshots.
Thanks, Anand
https://github.com/hhoffstaette/btrfs-progs/commit/f0a065e02b
I ended up not submitting it since nobody seemed interested at the time
and I could work around it for my own purposes by filtering manually on
parent uuid (more precisely the lack thereof).
cheers
Holger
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html