--- src/store_dir.c.orig 2008-11-20 20:34:13.000000000 +0300 +++ src/store_dir.c 2008-11-20 20:33:22.000000000 +0300 storeDirGetBlkSize(const char *path, int *blksize) { #if HAVE_STATVFS + /* struct statvfs sfs; if (statvfs(path, &sfs)) { debug(50, 1) ("%s: %s\n", path, xstrerror()); @@ -525,7 +526,10 @@ return 1; } *blksize = (int) sfs.f_frsize; + */ + *blksize = 4096; #else + /* struct statfs sfs; if (statfs(path, &sfs)) { debug(50, 1) ("%s: %s\n", path, xstrerror()); @@ -533,6 +537,8 @@ return 1; } *blksize = (int) sfs.f_bsize; + */ + *blksize = 4096; #endif /* * Sanity check; make sure we have a meaningful value.