On Fri, Jul 26, 2013 at 10:13:42PM +0200, Miloslav Trmač wrote: > Hello all, > with thin provisioning available, the total and free space values > reported by a filesystem do not necessarily mean that that much space > is _actually_ available (the actual backing storage may be smaller, or > shared with other filesystems). > > 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. I guess virt-df could be such a package. > The same applies if your package automatically allocates a certain > proportion of the total or available space. > > A quick way to check whether your package is likely to be affected, is > to look for statfs() or statvfs() calls in C, or the equivalent in > your higher-level library / programming language. What code needs to be used in addition/instead? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct