Author: pschweitzer
Date: Tue Jan 1 22:26:26 2008
New Revision: 31538
URL:
http://svn.reactos.org/svn/reactos?rev=31538&view=rev
Log:
Updated NTFS header :
- Separate a field into two distinct fields. One will be used when mounting volume
- Added comment to unusedX fields that are used anyway when mounting volume
Modified:
trunk/reactos/drivers/filesystems/ntfs/ntfs.h
Modified: trunk/reactos/drivers/filesystems/ntfs/ntfs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ntfs/n…
==============================================================================
--- trunk/reactos/drivers/filesystems/ntfs/ntfs.h (original)
+++ trunk/reactos/drivers/filesystems/ntfs/ntfs.h Tue Jan 1 22:26:26 2008
@@ -24,12 +24,13 @@
{
USHORT BytesPerSector; // 0x0B
UCHAR SectorsPerCluster; // 0x0D
- UCHAR Unused0[7]; // 0x0E
+ UCHAR Unused0[7]; // 0x0E, checked when volume is mounted
UCHAR MediaId; // 0x15
UCHAR Unused1[2]; // 0x16
USHORT SectorsPerTrack; // 0x18
USHORT Heads; // 0x1A
- UCHAR Unused2[8]; // 0x1C
+ UCHAR Unused2[4]; // 0x1C
+ UCHAR Unused3[4]; // 0x20, checked when volume is mounted
} BIOS_PARAMETERS_BLOCK, *PBIOS_PARAMETERS_BLOCK;
typedef struct _EXTENDED_BIOS_PARAMETERS_BLOCK
@@ -39,9 +40,9 @@
ULONGLONG MftLocation; // 0x30
ULONGLONG MftMirrLocation; // 0x38
CHAR ClustersPerMftRecord; // 0x40
- UCHAR Unused3[3]; // 0x41
+ UCHAR Unused4[3]; // 0x41
CHAR ClustersPerIndexRecord; // 0x44
- UCHAR Unused4[3]; // 0x45
+ UCHAR Unused5[3]; // 0x45
ULONGLONG SerialNumber; // 0x48
UCHAR Checksum[4]; // 0x50
} EXTENDED_BIOS_PARAMETERS_BLOCK, *PEXTENDED_BIOS_PARAMETERS_BLOCK;