diff --git a/ChangeLog b/ChangeLog index a0f112a5..b024320d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -40,7 +40,8 @@ xx/xx/2005 - 1.12.0-WIP - ntfscluster, utils.c::mft_next_record(): fix gigaleak. (Szaka) - Define PATH_MAX if not defined in ntfsprogs/ntfsmount.c and libntfs/volume.c. Needed to compile on DOS with djgpp. (Christophe) - - Switch ntfsmount to use getoptlong. (Yuval, minor fixes by Yura) + - Switch ntfsmount to use getopt_long. (Yuval, minor fixes by Yura) + - ntfsmount: Fix 'df' output. (Yuval) 08/08/2005 - 1.11.2 - ntfsdecrypt now works and lots of fixes and improvements. diff --git a/ntfsprogs/ntfsmount.c b/ntfsprogs/ntfsmount.c index b97a0e7a..4447c6ba 100644 --- a/ntfsprogs/ntfsmount.c +++ b/ntfsprogs/ntfsmount.c @@ -188,7 +188,7 @@ static int ntfs_fuse_statfs(const char *path __attribute__((unused)), /* Type of filesystem. */ sfs->f_type = NTFS_SB_MAGIC; /* Optimal transfer block size. */ - sfs->f_bsize = NTFS_BLOCK_SIZE; + sfs->f_bsize = vol->cluster_size; /* * Total data blocks in file system in units of f_bsize and since * inodes are also stored in data blocs ($MFT is a file) this is just