FreeNOS
Data Structures | Typedefs
LinnSuperBlock.h File Reference
#include <Types.h>

Go to the source code of this file.

Data Structures

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

Macros

Magic Numbers.
#define LINN_SUPER_MAGIC0   0x4c696e6e
 First magic number ('Linn'). More...
 
#define LINN_SUPER_MAGIC1   0x512ea9b0
 Second magic number (randomly chosen bytes). More...
 
Revision Numbers.
#define LINN_SUPER_MAJOR   1
 Current major revision number. More...
 
#define LINN_SUPER_MINOR   0
 Current minor revision number. More...
 
Filesystem States.
#define LINN_SUPER_VALID   0
 Filesystem is consistent. More...
 
#define LINN_SUPER_UNCLEAN   1
 The filesystem has not been properly unmounted. More...
 
#define LINN_SUPER_CORRUPT   2
 Serious corruption has been detected. More...
 
Superblock Constants.
#define LINN_SUPER_OFFSET   1024
 Fixed offset in storage of the superblock. More...
 
Superblock Macros.
#define LINN_SUPER_NUM_PTRS(sb)   ((sb)->blockSize / sizeof(u32))
 Calculate the number of block address pointers fitting in one block. More...
 

Typedefs

typedef struct LinnSuperBlock LinnSuperBlock
 Linnenbank Filesystem (LinnFS) super block. More...