[also back from vacation] On Thu, Aug 15, 2013 at 08:40:55AM +0300, Panu Matilainen wrote: > 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
Oh, you already know about the problem with NFS. I asked our kernel guys and they said there's no way to get the block size of the remote system and that I should implement some max block size value like 4096. The block size IMHO only matters for "rounding up" file sizes, assuming a file always needs one block. This is not true for some file systems like reiserfs, so it's kind of questionable anyways. > 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? AFAIK it (currently) can't be different on a linux system. But maybe someone wants to use rpm on some other OS where it makes a difference. I'll create a patch for the "max block size". -- Michael Schroeder m...@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} _______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint