On Fri, Jul 26, 2013 at 10:59 PM, Miloslav Trmač <mitr(a)volny.cz> wrote:
On Fri, Jul 26, 2013 at 10:17 PM, DJ Delorie <dj(a)redhat.com>
wrote:
>
>> If your package reports disk space usage to users, and bases this on
>> filesystem free space, please consider whether it might need to take
>> LVM thin provisioning into account.
>
> Perhaps you could include a small code snippet explaining *how* to do
> this? Is there an lvm_thin_statfs() we can use?
I'd love to, but I don't know how. David, could you suggest something, please?
The same issue exits for btrfs ... shouldn't we somehow try to get a
generic api for the "exotic" file systems?