Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

set the fragment size to the same value as the block size

I ran into an issue where a Fuse mount was correctly reporting the free space in df on FC17, but the same share when viewed from OSX 10.8 over samba was reporting incorrect free space. It appears that some free space calculations use frsize and some use bsize, so for now we should set them to the same value.

  • Loading branch information...
1 parent c492989 commit 8a90cf33b398782f48e5f40a722daaec3344d760 @frett committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  Fuse.xs
2  Fuse.xs
@@ -681,8 +681,8 @@ int _PLfuse_statfs (const char *file, struct statvfs *st) {
st->f_namemax = POPi;
/* zero and fill-in other */
st->f_fsid = 0;
- st->f_frsize = 4096;
st->f_flag = 0;
+ st->f_frsize = st->f_bsize;
st->f_bavail = st->f_bfree;
st->f_favail = st->f_ffree;

0 comments on commit 8a90cf3

Please sign in to comment.
Something went wrong with that request. Please try again.