EbFS
Encryption based File system ( based on ext2 hierarchical file system with inode as meta-data)
Install / Use
/learn @immortal3/EbFSREADME
EbFS
Encryption based File system
Inode structure:
Technical Specification(Data Structures):
General Overview of Inode Structure
<img src="https://github.com/immortal3/EbFS/blob/master/Content/new_inode_structure.png"> ### Overview of Project <img src="https://github.com/immortal3/EbFS/blob/master/Content/overview.png">Block size of disk : 4096-byte (4 KiB) (which are used by Newer HDDs)
Data Structures:
-
Superblock:
Attributes of superblock: Size of disk Information of Inode blocks ( total number of inodeblocks , etc..) Information of bitmap blocks ( starting of bit map blocks , etc.. ) Total Size of Superblock: 28 bytes Location in source code:superblock.c
-
Inode:
Attributes of inodes: Metadata (contains information of filetype, etc.. ) Blockdata (direct blocks ,indirect blocks , etc..) And other information containing flag like is Allocated.
Total Size of Inode : 72 bytes Maximum Number of inodes in per block : 50 inodes per block Location in source code: inode.c and inode.h
-
File_entry:
Attributes of File_entry: File name Inode number
Total size of File_entry : 32 bytes [ 28 bytes of file-name + 4 bytes of inode number ]. Maximum number of File_entry in each block : 128 Location in source code:filesystem.c
-
Union block_rw:
Attributes of block_rw: Char array of size 4096 bytes Super block Array of inode block Array of file entries Size of block_rw : Block size of disk ( 4096 bytes) Location in source code:filesystem.c Disk can not be read and write single bit and byte.We have to read and write in terms of block size of disk.That’s why we
used Union block_rw for reading and writing data into disk.
Assumption :
- We are using Disk emulator which has no IO scheduling algorithms.
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
