sofs19  0.1
FUSE based file system
mksofs.h File Reference

The sofs19 formatting functions. More...

#include <inttypes.h>

Go to the source code of this file.

Functions

void soComputeStructure (uint32_t ntotal, uint32_t &itotal, uint32_t &nbref)
 computes the structural division of the disk More...
 
void soFillSuperBlock (const char *name, uint32_t ntotal, uint32_t itotal, uint32_t nbref)
 Fill in the fields of the superblock. More...
 
void soFillInodeTable (uint32_t itotal, bool set_date=true)
 Fill in the blocks of the inode table. More...
 
void soFillRootDir (uint32_t itotal)
 Fill in the root directory. More...
 
void soFillReferenceDataBlocks (uint32_t ntotal, uint32_t itotal, uint32_t nbref)
 Fill in the data blocks containing references to free data blocks in a newly-formatted disk. More...
 
void soResetFreeDataBlocks (uint32_t ntotal, uint32_t itotal, uint32_t nbref)
 Fill with zeros the free data blocks of a newly-formatted disk. More...
 

Detailed Description

The sofs19 formatting functions.

Author
Artur Pereira - 2007-2009, 2016-2019
Miguel Oliveira e Silva - 2009, 2017
António Rui Borges - 2010-2015