FreeNOS
|
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... | |
Linnenbank Filesystem (LinnFS) super block.
Definition at line 113 of file LinnSuperBlock.h.
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().
le32 LinnSuperBlock::blockSize |
Size of each data block.
Definition at line 121 of file LinnSuperBlock.h.
Referenced by LinnCreate::create(), LinnFileSystem::getInode(), LinnDirectory::getLinnDirectoryEntry(), LinnFileSystem::getOffsetRange(), LinnCreate::insertEntry(), LinnCreate::insertFile(), LinnFileSystem::LinnFileSystem(), main(), LinnFile::read(), LinnDirectory::read(), and LinnCreate::writeImage().
le32 LinnSuperBlock::blocksPerGroup |
Number of blocks per group.
Definition at line 122 of file LinnSuperBlock.h.
Referenced by LinnCreate::create(), and main().
le32 LinnSuperBlock::creationTime |
Time when the filesystem was created.
Definition at line 130 of file LinnSuperBlock.h.
Referenced by LinnCreate::create(), and main().
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().
le32 LinnSuperBlock::freeInodesCount |
Free inodes remaining.
Definition at line 128 of file LinnSuperBlock.h.
Referenced by LinnCreate::create(), LinnCreate::createInode(), LinnFileSystem::LinnFileSystem(), and main().
le32 LinnSuperBlock::groupsTable |
Block address of the LinnGroup table.
Definition at line 135 of file LinnSuperBlock.h.
Referenced by LinnCreate::create(), LinnCreate::createInode(), LinnCreate::insertEntry(), LinnFileSystem::LinnFileSystem(), and main().
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().
le32 LinnSuperBlock::inodesPerGroup |
Number of inodes per group.
Definition at line 123 of file LinnSuperBlock.h.
Referenced by LinnCreate::create(), LinnCreate::createInode(), LinnFileSystem::getGroupByInode(), LinnFileSystem::getInode(), LinnCreate::insertEntry(), and main().
le32 LinnSuperBlock::lastCheck |
Timestamp of the last check.
Definition at line 133 of file LinnSuperBlock.h.
Referenced by LinnCreate::create(), and main().
le32 LinnSuperBlock::magic0 |
Allows detection of valid superblocks.
Definition at line 115 of file LinnSuperBlock.h.
Referenced by LinnCreate::create(), LinnFileSystem::LinnFileSystem(), and main().
le32 LinnSuperBlock::magic1 |
Allows detection of valid superblocks.
Definition at line 116 of file LinnSuperBlock.h.
Referenced by LinnCreate::create(), LinnFileSystem::LinnFileSystem(), and main().
le16 LinnSuperBlock::majorRevision |
Filesystem major revision level.
Definition at line 117 of file LinnSuperBlock.h.
Referenced by LinnCreate::create(), and main().
le16 LinnSuperBlock::minorRevision |
Filesystem minor revision level.
Definition at line 118 of file LinnSuperBlock.h.
Referenced by LinnCreate::create(), and main().
le16 LinnSuperBlock::mountCount |
Number of times we where mounted.
Definition at line 132 of file LinnSuperBlock.h.
Referenced by LinnCreate::create(), and main().
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().
le16 LinnSuperBlock::state |
Describes the current status.
Definition at line 119 of file LinnSuperBlock.h.
Referenced by LinnCreate::create(), and main().