[Rpm-maint] statfs/statvfs block size
Panu Matilainen
pmatilai at laiskiainen.org
Thu Aug 15 05:40:55 UTC 2013
On 07/16/2013 07:05 PM, Michael Schroeder wrote:
>
> Hi Panu et al,
Hi,
Sorry for very late reply, been on vacation and slow catching up with
stuff...
>
> the statvfs manpage seems to indicate that we should use
> f_frsize instead of f_bsize as block size unit if f_frsize
> contains a non-zero value. The same is probably true for statfs().
I had a look at this some time ago, probably while looking for a cure
for https://bugzilla.redhat.com/show_bug.cgi?id=847960 but in my
(limited) experiments on this, f_frsize was always just the same as
f_bsize so I ended up leaving it alone.
Do you have a case where it actually makes a difference?
- Panu -
More information about the Rpm-maint
mailing list