sofs19
0.1
FUSE based file system
|
Go to the documentation of this file.
10 #ifndef __SOFS19_MKSOFS__
11 #define __SOFS19_MKSOFS__
56 void soFillSuperBlock(
const char *name, uint32_t ntotal, uint32_t itotal, uint32_t nbref);
void soFillRootDir(uint32_t itotal)
Fill in the root directory.
void soFillSuperBlock(const char *name, uint32_t ntotal, uint32_t itotal, uint32_t nbref)
Fill in the fields of the superblock.
void soResetFreeDataBlocks(uint32_t ntotal, uint32_t itotal, uint32_t nbref)
Fill with zeros the free data blocks of a newly-formatted disk.
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.
void soFillInodeTable(uint32_t itotal, bool set_date=true)
Fill in the blocks of the inode table.
void soComputeStructure(uint32_t ntotal, uint32_t &itotal, uint32_t &nbref)
computes the structural division of the disk