The metadata of the ext2 filesystem. Found at an offset of 1024 bytes from the start of the partition.
More...
|
| uint32_t | total_inodes |
| | Total number of inodes.
|
| |
| uint32_t | total_blocks |
| | Total number of blocks.
|
| |
| uint32_t | reserved_blocks |
| | Number of reserved blocks for superuser.
|
| |
| uint32_t | unallocated_blocks |
| | Number of free blocks.
|
| |
| uint32_t | unallocated_inodes |
| | Number of free inodes.
|
| |
| uint32_t | starting_block |
| | Where the superblock starts (normally 0 but not always)
|
| |
| uint32_t | block_size |
| | Block size (as a power of 2, so 1024 << block_size)
|
| |
| uint32_t | fragment_size |
| | Fragment size (as a power of 2, so 1024 << fragment_size)
|
| |
| uint32_t | blocks_per_group |
| | Number of blocks per group.
|
| |
| uint32_t | fragments_per_group |
| | Number of fragments per group.
|
| |
| uint32_t | inodes_per_group |
| | Number of inodes per group.
|
| |
| uint32_t | last_mount_time |
| | Last time the filesystem was mounted (in seconds since the epoch)
|
| |
| uint32_t | late_write_time |
| | Last time a block was written to (in seconds since the epoch)
|
| |
| uint16_t | mounts_since_check |
| | Number of mounts since the last consistency check.
|
| |
| uint16_t | mounts_until_check |
| | Number of mounts allowed before a consistency check is needed (fsck)
|
| |
| uint16_t | signature |
| | Filesystem magic signature (0xEF53)
|
| |
| uint16_t | state |
| | The state of the filesystem (see FileSystemState)
|
| |
| uint16_t | error_operation |
| | What to do when an error is detected (see ErrorOperation)
|
| |
| uint16_t | version_minor |
| | Minor version number (combined with version_major to make version number)
|
| |
| uint32_t | last_check_time |
| | Time of last consistency check (in seconds since the epoch)
|
| |
| uint32_t | time_until_check |
| | Maximum time between checks (in seconds)
|
| |
| uint32_t | os_id |
| | ID of the OS which created the filesystem (see CreatorOS)
|
| |
| uint32_t | version_major |
| | Major version number (combined with version_minor to make version number)
|
| |
| uint16_t | reserved_user |
| | User ID that can use reserved blocks.
|
| |
| uint16_t | reserved_group |
| | Group ID that can use reserved blocks.
|
| |
| uint32_t | first_inode |
| | Number of the first non-reserved inode (version < 1 this is 11)
|
| |
| uint16_t | inode_size |
| | Size of each inode structure (version < 1 this is 128 bytes)
|
| |
| uint16_t | superblock_group |
| | If there is a backup superblock, which group it is stored in.
|
| |
| uint32_t | optional_features |
| | Features that are not required for read/write support but can help performance (see OptionalFeatures)
|
| |
| uint32_t | required_features |
| | Features that must be present for read/write support (see RequiredFeatures)
|
| |
| uint16_t | read_only_features |
| | Features that are only required in read-only mode (see ReadOnlyFeatures)
|
| |
| uint8_t | filesystem_id [16] |
| | A unique identifier for the filesystem.
|
| |
| uint8_t | volume_name [16] |
| | The volume name (is null-terminated)
|
| |
| uint8_t | last_mount_path [64] |
| | The path where the filesystem was last mounted (is null-terminated)
|
| |
| uint32_t | compression |
| | Compression algorithm used (0 = none, see RequiredFeatures)
|
| |
| uint8_t | file_preallocation_blocks |
| | How many blocks should be allocated when creating a file.
|
| |
| uint8_t | directory_preallocation_blocks |
| | How many blocks should be allocated when creating a directory.
|
| |
| uint16_t | unused |
| | Reserved.
|
| |
| uint8_t | journal_id [16] |
| | A unique identifier for the journal.
|
| |
| uint32_t | journal_inode |
| | The inode number of the journal file.
|
| |
| uint32_t | journal_device |
| | The device number of the journal file.
|
| |
| uint32_t | orphan_inodes_start |
| | The start of the list of inodes without a directory entry that need to be deleted.
|
| |
| uint8_t | free [276] |
| | Reserved for future expansion.
|
| |
The metadata of the ext2 filesystem. Found at an offset of 1024 bytes from the start of the partition.
Definition at line 30 of file ext2.h.