sofs19  0.1
FUSE based file system
SOSuperBlock Struct Reference

Definition of the superblock data type. More...

#include <superblock.h>

Data Structures

struct  HeadCache
 head cache of references to free data blocks More...
 
struct  TailCache
 tail cache of references to free data blocks More...
 

Data Fields

uint16_t magic
 magic number - file system identification number
 
uint16_t version
 version number
 
char name [PARTITION_NAME_SIZE+1]
 volume name
 
uint8_t mntstat
 mount status (1: properly unmounted; 0: otherwise)
 
uint8_t mntcnt
 number of mounts since last file system check
 
uint32_t ntotal
 total number of blocks in the device
 
uint32_t it_size
 number of blocks that the inode table comprises
 
uint32_t itotal
 total number of inodes
 
uint32_t ifree
 number of free inodes
 
uint32_t ihead
 number of fist free inode
 
uint32_t itail
 number of last free inode
 
uint32_t dz_start
 physical number of the block where the data zone starts
 
uint32_t dz_total
 total number of data blocks
 
uint32_t dz_free
 number of free blocks in data zone
 
uint32_t head_blk
 number of head reference data block
 
uint32_t head_idx
 first occupied position in head reference data block
 
uint32_t tail_blk
 number of tail reference data block
 
uint32_t tail_idx
 first empty position in tail reference data block
 

Detailed Description

Definition of the superblock data type.


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