FreeNOS
Data Fields
LinnSuperBlock Struct Reference

Linnenbank Filesystem (LinnFS) super block. More...

#include <LinnSuperBlock.h>

Data Fields

le32 magic0
 Allows detection of valid superblocks. More...
 
le32 magic1
 Allows detection of valid superblocks. More...
 
le16 majorRevision
 Filesystem major revision level. More...
 
le16 minorRevision
 Filesystem minor revision level. More...
 
le16 state
 Describes the current status. More...
 
le32 blockSize
 Size of each data block. More...
 
le32 blocksPerGroup
 Number of blocks per group. More...
 
le32 inodesPerGroup
 Number of inodes per group. More...
 
le32 inodesCount
 Total number of inodes. More...
 
le32 blocksCount
 Total number of data blocks. More...
 
le32 freeBlocksCount
 Number of free data blocks. More...
 
le32 freeInodesCount
 Free inodes remaining. More...
 
le32 creationTime
 Time when the filesystem was created. More...
 
le32 mountTime
 Last time we where mounted (seconds since 1970). More...
 
le16 mountCount
 Number of times we where mounted. More...
 
le32 lastCheck
 Timestamp of the last check. More...
 
le32 groupsTable
 Block address of the LinnGroup table. More...
 

Detailed Description

Linnenbank Filesystem (LinnFS) super block.

Definition at line 113 of file LinnSuperBlock.h.

Field Documentation

◆ blocksCount

le32 LinnSuperBlock::blocksCount

Total number of data blocks.

Definition at line 126 of file LinnSuperBlock.h.

Referenced by LinnCreate::create(), LinnFileSystem::LinnFileSystem(), main(), and LinnCreate::writeImage().

◆ blockSize

le32 LinnSuperBlock::blockSize

◆ blocksPerGroup

le32 LinnSuperBlock::blocksPerGroup

Number of blocks per group.

Definition at line 122 of file LinnSuperBlock.h.

Referenced by LinnCreate::create(), and main().

◆ creationTime

le32 LinnSuperBlock::creationTime

Time when the filesystem was created.

Definition at line 130 of file LinnSuperBlock.h.

Referenced by LinnCreate::create(), and main().

◆ freeBlocksCount

le32 LinnSuperBlock::freeBlocksCount

Number of free data blocks.

Definition at line 127 of file LinnSuperBlock.h.

Referenced by LinnCreate::create(), LinnFileSystem::LinnFileSystem(), main(), and LinnCreate::writeImage().

◆ freeInodesCount

le32 LinnSuperBlock::freeInodesCount

Free inodes remaining.

Definition at line 128 of file LinnSuperBlock.h.

Referenced by LinnCreate::create(), LinnCreate::createInode(), LinnFileSystem::LinnFileSystem(), and main().

◆ groupsTable

le32 LinnSuperBlock::groupsTable

◆ inodesCount

le32 LinnSuperBlock::inodesCount

Total number of inodes.

Definition at line 125 of file LinnSuperBlock.h.

Referenced by LinnCreate::create(), LinnFileSystem::getInode(), LinnFileSystem::LinnFileSystem(), and main().

◆ inodesPerGroup

le32 LinnSuperBlock::inodesPerGroup

◆ lastCheck

le32 LinnSuperBlock::lastCheck

Timestamp of the last check.

Definition at line 133 of file LinnSuperBlock.h.

Referenced by LinnCreate::create(), and main().

◆ magic0

le32 LinnSuperBlock::magic0

Allows detection of valid superblocks.

Definition at line 115 of file LinnSuperBlock.h.

Referenced by LinnCreate::create(), LinnFileSystem::LinnFileSystem(), and main().

◆ magic1

le32 LinnSuperBlock::magic1

Allows detection of valid superblocks.

Definition at line 116 of file LinnSuperBlock.h.

Referenced by LinnCreate::create(), LinnFileSystem::LinnFileSystem(), and main().

◆ majorRevision

le16 LinnSuperBlock::majorRevision

Filesystem major revision level.

Definition at line 117 of file LinnSuperBlock.h.

Referenced by LinnCreate::create(), and main().

◆ minorRevision

le16 LinnSuperBlock::minorRevision

Filesystem minor revision level.

Definition at line 118 of file LinnSuperBlock.h.

Referenced by LinnCreate::create(), and main().

◆ mountCount

le16 LinnSuperBlock::mountCount

Number of times we where mounted.

Definition at line 132 of file LinnSuperBlock.h.

Referenced by LinnCreate::create(), and main().

◆ mountTime

le32 LinnSuperBlock::mountTime

Last time we where mounted (seconds since 1970).

Definition at line 131 of file LinnSuperBlock.h.

Referenced by LinnCreate::create(), and main().

◆ state

le16 LinnSuperBlock::state

Describes the current status.

Definition at line 119 of file LinnSuperBlock.h.

Referenced by LinnCreate::create(), and main().


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