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:

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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to