CJW2017 / STDFS

A mini linux filesystem porting from EXT2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STDFS

about lake file system: just a study file system used to learn linux filesystem architecture.

*(V1)Disk struct: [boot block 0 ][super block 1][inode table block 2 .. 33][data block 34 .. 1023]

*(V2) [boot block0][super block1][blockbitmap n ][inodebitmap n/4] [inodetable bitmap] [data blocks...]

*For example: blocksize =1024 disksize = 64MiB block bitmap count = 64MiB/1024/8/1024= disksize/8M = 8(blocks) inode bitmap count = disksize /32M =2(blocks) inode table block count = 2 * 1024 *128 /1024 = 256(blocks)

About

A mini linux filesystem porting from EXT2


Languages

Language:C 98.4%Language:Assembly 0.7%Language:C++ 0.5%Language:Batchfile 0.2%Language:Objective-C 0.1%Language:Makefile 0.1%Language:Python 0.0%