Does your application depend on, or report, free disk space? Re: F20 Self Contained Change: OS Installer Support for LVM Thin Provisioning
Pádraig Brady
P at draigBrady.com
Fri Jul 26 22:53:08 UTC 2013
On 07/26/2013 09:13 PM, 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.
>
> 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.
Anything df(1) should do here?
More information about the devel
mailing list