summaryrefslogtreecommitdiff
path: root/src/block_device
diff options
context:
space:
mode:
Diffstat (limited to 'src/block_device')
-rw-r--r--src/block_device/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/block_device/mod.rs b/src/block_device/mod.rs
index 9d52e53..c7e1362 100644
--- a/src/block_device/mod.rs
+++ b/src/block_device/mod.rs
@@ -1,5 +1,7 @@
-pub mod memory_disk;
+/// Abstracts for block devices.
+/// Currently only a mock memory disk.
+pub mod memory_disk;
pub const BLOCK_SIZE: usize = 4096;
pub trait BlockDevice {
fn read(&self, block_id: usize, buffer: &mut [u8]);