OSDN Git Service

major : Fixed computation of index block size (Anton Altaparmakov)
authorJean-Pierre André <jpandre@users.sourceforge.net>
Fri, 4 Nov 2011 10:01:11 +0000 (11:01 +0100)
committerJean-Pierre André <jpandre@users.sourceforge.net>
Fri, 4 Nov 2011 10:01:11 +0000 (11:01 +0100)
commitb76883dc84e1a5df853dbf4bc247afa6a9e797fa
tree4e97d471980b40fb06d77ccbad2b0f6755195bc1
parent4629a7af14b46324df26912960fd1700a078ff88
major : Fixed computation of index block size (Anton Altaparmakov)

When the cluster size is bigger than the index block size, the index
block size unit is 512 (not the sector size) instead of the cluster size.
The partitions formatted by mkntfs and used by ntfs-3g were not
interoperable with Windows when the cluster size is bigger than 4K
and the sector size is not 512.
libntfs-3g/dir.c
libntfs-3g/index.c
ntfsprogs/mkntfs.c
ntfsprogs/ntfsinfo.c