Jean-Pierre André
f862fcee00
Extended the allowed cluster size to 2MB
...
From Windows 10 Creators edition, the cluster size limit has been
extended to 2MB. This has implied redefining the boot sector field
"sectors_per_cluster" so that values greater than 128 can be recorded.
2018-06-01 16:29:01 +02:00
Erik Larsson
dfa4a6647f
Fix code to use const_cpu_to_X/const_X_to_cpu macros for constants.
...
This enables the compiler to optimize this code in cases where compiler
support for endianness swapping is not present.
2015-12-21 23:21:00 +01:00
Jean-Pierre André
15f300412a
Fixed displaying the correct sector number in error message
...
When opening a volume, the availability of the last sector is checked,
but the error message mentioned a wrong sector.
2014-03-11 10:37:27 +01:00
Erik Larsson
9337e0a069
bootsect.c: Don't allow negative start clusters for $MFT/$MFTMirr.
...
Negative values for mft_lcn / mftmirr_lcn don't make any sense and must
be detected as corruptions.
2012-09-24 12:57:22 +02:00
jpandre
2a1d75a3da
Adapted to ntfs-3g.2009.3.8
2009-03-27 09:10:00 +00:00
szaka
1098244bbf
copyright update
2008-06-29 23:13:32 +00:00
jpandre
4f03c199df
Adapted to ntfs-3g-1.2506
2008-05-14 08:27:55 +00:00
szaka
4e1693d0ef
Don't calculate bootsector checksum, ntfs doesn't use it and it's often off
2007-02-20 19:09:32 +00:00
szaka
75c60e5486
fix 64-bit warnings (Yuval)
2007-01-09 21:22:58 +00:00
szaka
2bc71e4ee7
ntfs_boot_sector_parse: check sectors value & last sector seekability
2006-12-09 00:02:45 +00:00
szaka
45630fa43c
ntfs_boot_sector_is_ntfs/ntfs_boot_sector_parse: log errors
2006-12-08 23:55:10 +00:00
szaka
40ea28867d
unconditionally log errors
2006-11-10 23:02:18 +00:00
szaka
ba63b7daca
initial CVS import
2006-10-30 22:32:48 +00:00