[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCHv4 0/2] Introduce vfs_minimum_size API to get minimum filesystem size.

On Tue, Oct 20, 2015 at 08:56:25PM +0300, Maxim Perevedentsev wrote:
> I have an issue with btrfs:
> There's an API
> > btrfs inspect-internal min-dev-size /sysroot/
> But this API is available only in btrfs-progs >= 4.2.
> Before this, there's no reliable way to get minimum size (I could
> parse "btrfs filesystem show", but it is veeery inaccurate).
> Can we require btrfs-progs v4.2? Or how should I work-around this issue?

Well it's a new API, so we can just tell people they need new
btrfs-progs if they want to use the new API.

It would be a problem if we were changing an old API, but that's not
the case here.


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]