easyfs 0.1.0

A very simple file system for OS development or education
Documentation
1
2
3
4
5
6
use core::any::Any;

pub trait BlockDevice: Send + Sync + Any {
    fn read_block(&self, block_id: usize, buf: &mut [u8]);
    fn write_block(&self, block_id: usize, buf: &[u8]);
}