On Fri, 2013-07-26 at 22:59 +0200, Miloslav Trmač wrote: > On Fri, Jul 26, 2013 at 10:17 PM, DJ Delorie <dj@xxxxxxxxxx> 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? As noted by drago01, this is not exactly new or specific to thinp -- a similar situation exists with btrfs. You would have to ask the developers of lvm and btrfs for a way to decode the magic. I don't know any manageable solution to this problem. > Mirek -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct