summaryrefslogtreecommitdiff
path: root/documentation/storage.txt
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/storage.txt')
-rw-r--r--documentation/storage.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/documentation/storage.txt b/documentation/storage.txt
new file mode 100644
index 0000000..2d92dc7
--- /dev/null
+++ b/documentation/storage.txt
@@ -0,0 +1,7 @@
+a block_device is a block device such as a disk or a partition that has been
+seen since the last boot. when a driver detects a device, it should check if
+a block_device with that id has already been created, and if so, reuse it.
+
+eventually, i would like to implement kernel-space exceptions and use those
+instead of having functions return an io_result, since it's a bit unwieldy
+to propogate those results as is.