Go to the documentation of this file.
18 #ifndef __FILESYSTEM_LINNSUPERBLOCK_H
19 #define __FILESYSTEM_LINNSUPERBLOCK_H
37 #define LINN_SUPER_MAGIC0 0x4c696e6e
40 #define LINN_SUPER_MAGIC1 0x512ea9b0
52 #define LINN_SUPER_MAJOR 1
55 #define LINN_SUPER_MINOR 0
67 #define LINN_SUPER_VALID 0
70 #define LINN_SUPER_UNCLEAN 1
73 #define LINN_SUPER_CORRUPT 2
85 #define LINN_SUPER_OFFSET 1024
103 #define LINN_SUPER_NUM_PTRS(sb) \
104 ((sb)->blockSize / sizeof(u32))
le16 state
Describes the current status.
le32 lastCheck
Timestamp of the last check.
le32 freeInodesCount
Free inodes remaining.
le16 majorRevision
Filesystem major revision level.
le32 magic0
Allows detection of valid superblocks.
le32 magic1
Allows detection of valid superblocks.
u16 BITWISE le16
Unsigned 16-bit little endian number.
le32 mountTime
Last time we where mounted (seconds since 1970).
le32 inodesCount
Total number of inodes.
le32 blocksPerGroup
Number of blocks per group.
struct LinnSuperBlock LinnSuperBlock
Linnenbank Filesystem (LinnFS) super block.
le32 freeBlocksCount
Number of free data blocks.
Linnenbank Filesystem (LinnFS) super block.
le32 groupsTable
Block address of the LinnGroup table.
le32 creationTime
Time when the filesystem was created.
u32 BITWISE le32
Unsigned 32-bit little endian number.
le32 blocksCount
Total number of data blocks.
le32 blockSize
Size of each data block.
le16 mountCount
Number of times we where mounted.
le16 minorRevision
Filesystem minor revision level.
le32 inodesPerGroup
Number of inodes per group.