Re: [PATCH v2 02/27] Add libbtrfsutil

2018-02-20 Thread David Sterba
On Tue, Feb 20, 2018 at 10:32:17AM -0700, Liu Bo wrote: > > --- a/.gitignore > > +++ b/.gitignore > > @@ -43,6 +43,8 @@ libbtrfs.so.0.1 > > library-test > > library-test-static > > /fssum > > +/libbtrfsutil.so* > > +/libbtrfsutil.a > > .gitignore is not part of btrfs-progs, is it? It is,

Re: [PATCH v2 02/27] Add libbtrfsutil

2018-02-20 Thread Liu Bo
On Thu, Feb 15, 2018 at 11:04:47AM -0800, Omar Sandoval wrote: > From: Omar Sandoval > > Currently, users wishing to manage Btrfs filesystems programatically > have to shell out to btrfs-progs and parse the output. This isn't ideal. > The goal of libbtrfsutil is to provide a

[PATCH v2 02/27] Add libbtrfsutil

2018-02-15 Thread Omar Sandoval
From: Omar Sandoval Currently, users wishing to manage Btrfs filesystems programatically have to shell out to btrfs-progs and parse the output. This isn't ideal. The goal of libbtrfsutil is to provide a library version of as many of the operations of btrfs-progs as possible and