NTFS: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
m →Structure: Fixed lengths of two fields in header |
→Structure: Standard compliant and unambiguous field specs. |
||
Line 30: | Line 30: | ||
! Field |
! Field |
||
! Type |
! Type |
||
! Length |
|||
|- |
|- |
||
|JMP || |
|JMP || int8_t[3] |
||
|- |
|- |
||
|OEM System || char[8] |
|OEM System || char[8] |
||
|- |
|- |
||
|Bytes Per Sector || |
|Bytes Per Sector || uint16_t |
||
|- |
|- |
||
|Sectors Per Cluster || |
|Sectors Per Cluster || int8_t |
||
|- |
|- |
||
|Reserved Sector Count || |
|Reserved Sector Count || uint16_t |
||
|- |
|- |
||
|Table Count || |
|Table Count || int8_t |
||
|- |
|- |
||
|Root Entry Count || |
|Root Entry Count || uint16_t |
||
|- |
|- |
||
|Sector Count || |
|Sector Count || uint16_t |
||
|- |
|- |
||
|Media Type || |
|Media Type || int8_t |
||
|- |
|- |
||
|Sectors Per Table || |
|Sectors Per Table || uint16_t |
||
|- |
|- |
||
|Sectors Per Track || |
|Sectors Per Track || uint16_t |
||
|- |
|- |
||
|Hidden Sector Count || |
|Hidden Sector Count || uint32_t |
||
|- |
|- |
||
|Sector Count (32-bit) || |
|Sector Count (32-bit) || uint32_t |
||
|- |
|- |
||
|Reserved || |
|Reserved || uint32_t |
||
|- |
|- |
||
|Sector Count (64-bit) || |
|Sector Count (64-bit) || uint64_t |
||
|} |
|} |
||
Line 68: | Line 67: | ||
!Field |
!Field |
||
!Type |
!Type |
||
!Length |
|||
|- |
|- |
||
|Master File Table Cluster || |
|Master File Table Cluster || uint64_t |
||
|- |
|- |
||
|Master File Table Mirror Cluster || |
|Master File Table Mirror Cluster || uint64_t |
||
|- |
|- |
||
|Clusters Per Record || |
|Clusters Per Record || int8_t |
||
|- |
|- |
||
|Reserved || |
|Reserved || int8_t[3] |
||
|- |
|- |
||
|Clusters Per Index Buffer || |
|Clusters Per Index Buffer || int8_t |
||
|- |
|- |
||
|Reserved || |
|Reserved || int8_t[3] |
||
|- |
|- |
||
|Serial Number || |
|Serial Number || uint64_t |
||
|- |
|- |
||
|Checksum || |
|Checksum || uint32_t |
||
|} |
|} |
||
Line 94: | Line 92: | ||
! Field |
! Field |
||
! Type |
! Type |
||
! Length |
|||
|- |
|- |
||
|Record Type || char[4] |
|Record Type || char[4] |
||
|- |
|- |
||
|Update Sequence Offset || |
|Update Sequence Offset || uint16_t |
||
|- |
|- |
||
|Update Sequence Length || |
|Update Sequence Length || uint16_t |
||
|- |
|- |
||
|Log File Sequence Number || |
|Log File Sequence Number || uint64_t |
||
|- |
|- |
||
|Record Sequence Number || |
|Record Sequence Number || uint16_t |
||
|- |
|- |
||
|Hard Link Count || |
|Hard Link Count || uint16_t |
||
|- |
|- |
||
|Attributes Offset || |
|Attributes Offset || uint16_t |
||
|- |
|- |
||
|Flags || |
|Flags || uint16_t |
||
|- |
|- |
||
|Bytes In Use || |
|Bytes In Use || uint32_t |
||
|- |
|- |
||
|Bytes Allocated || |
|Bytes Allocated || uint32_t |
||
|- |
|- |
||
|Parent Record Number || |
|Parent Record Number || uint64_t |
||
|- |
|- |
||
|Next Attribute Index || |
|Next Attribute Index || uint32_t |
||
|- |
|- |
||
|Reserved || |
|Reserved || uint32_t |
||
|- |
|- |
||
|Record Number || |
|Record Number || uint64_t |
||
|} |
|} |
||
Line 132: | Line 129: | ||
! Field |
! Field |
||
! Type |
! Type |
||
! Length |
|||
|- |
|- |
||
| Attribute Type || |
| Attribute Type || uint32_t |
||
|} |
|} |
||
Line 142: | Line 138: | ||
! Field |
! Field |
||
! Type |
! Type |
||
! Length |
|||
|- |
|- |
||
| Attribute Length || |
| Attribute Length || uint32_t |
||
|} |
|} |
||