create & open efs.

This commit is contained in:
Yifan Wu 2020-12-18 15:56:11 +08:00
parent 15bc00732c
commit ed9ca7f62d
10 changed files with 420 additions and 0 deletions

15
easy-fs/src/lib.rs Normal file
View file

@ -0,0 +1,15 @@
extern crate alloc;
mod block_dev;
mod layout;
mod efs;
mod dirty;
mod bitmap;
mod vfs;
pub const BLOCK_SZ: usize = 512;
pub use block_dev::BlockDevice;
pub use efs::EasyFileSystem;
use layout::*;
use dirty::Dirty;
use bitmap::Bitmap;