Index: fhandler.cc =================================================================== RCS file: /cvs/src/src/winsup/cygwin/fhandler.cc,v retrieving revision 1.273 diff -u -p -r1.273 fhandler.cc --- fhandler.cc 11 Dec 2006 18:55:28 -0000 1.273 +++ fhandler.cc 2 Jan 2007 17:55:07 -0000 @@ -1328,7 +1328,7 @@ fhandler_base::fstat (struct __stat64 *b buf->st_uid = geteuid32 (); buf->st_gid = getegid32 (); buf->st_nlink = 1; - buf->st_blksize = S_BLKSIZE; + buf->st_blksize = getpagesize (); time_as_timestruc_t (&buf->st_ctim); buf->st_atim = buf->st_mtim = buf->st_ctim; return 0; Index: fhandler_disk_file.cc =================================================================== RCS file: /cvs/src/src/winsup/cygwin/fhandler_disk_file.cc,v retrieving revision 1.200 diff -u -p -r1.200 fhandler_disk_file.cc --- fhandler_disk_file.cc 21 Dec 2006 10:59:47 -0000 1.200 +++ fhandler_disk_file.cc 2 Jan 2007 17:55:07 -0000 @@ -436,7 +436,7 @@ fhandler_base::fstat_helper (struct __st else buf->st_ino = get_namehash (); - buf->st_blksize = S_BLKSIZE; + buf->st_blksize = getpagesize (); if (nAllocSize >= 0LL) /* A successful NtQueryInformationFile returns the allocation size