The Pedigree Project  0.1
Public Attributes | List of all members
Superblock Struct Reference

#include <ext2.h>

+ Collaboration diagram for Superblock:

Public Attributes

uint32_t s_inodes_count
 
uint32_t s_blocks_count
 
uint32_t s_r_blocks_count
 
uint32_t s_free_blocks_count
 
uint32_t s_free_inodes_count
 
uint32_t s_first_data_block
 
uint32_t s_log_block_size
 
uint32_t s_log_frag_size
 
uint32_t s_blocks_per_group
 
uint32_t s_frags_per_group
 
uint32_t s_inodes_per_group
 
uint32_t s_mtime
 
uint32_t s_wtime
 
uint16_t s_mnt_count
 
uint16_t s_max_mnt_count
 
uint16_t s_magic
 
uint16_t s_state
 
uint16_t s_errors
 
uint16_t s_minor_rev_level
 
uint32_t s_lastcheck
 
uint32_t s_checkinterval
 
uint32_t s_creator_os
 
uint32_t s_rev_level
 
uint16_t s_def_resuid
 
uint16_t s_def_resgid
 
uint32_t s_first_ino
 
uint16_t s_inode_size
 
uint16_t s_block_group_nr
 
uint32_t s_feature_compat
 
uint32_t s_feature_incompat
 
uint32_t s_feature_ro_compat
 
char s_uuid [16]
 
char s_volume_name [16]
 
char s_last_mounted [64]
 
uint32_t s_algo_bitmap
 
uint8_t s_prealloc_blocks
 
uint8_t s_prealloc_dir_blocks
 
uint16_t alignment
 
char s_journal_uuid [16]
 
uint32_t s_journal_inum
 
uint32_t s_journal_dev
 
uint32_t s_last_orphan
 
uint8_t BS_jmpBoot [3]
 
uint8_t BS_OEMName [8]
 
uint16_t BPB_BytsPerSec
 
uint8_t BPB_SecPerClus
 
uint16_t BPB_RsvdSecCnt
 
uint8_t BPB_NumFATs
 
uint16_t BPB_RootEntCnt
 
uint16_t BPB_TotSec16
 
uint8_t BPB_Media
 
uint16_t BPB_FATSz16
 
uint16_t BPB_SecPerTrk
 
uint16_t BPB_NumHeads
 
uint32_t BPB_HiddSec
 
uint32_t BPB_TotSec32
 

Detailed Description

The Ext2 superblock structure.

The Fat 'superblock', or boot parameter block as we call it normally Note that this is from the FAT whitepaper, so the names are as specified there (in order to avoid confusion) Note also that Superblock32 and Superblock16 could probably go in Superblock as a union (perhaps)

Definition at line 88 of file ext2.h.


The documentation for this struct was generated from the following files: