From a3635a465f945449545b2883b5479e668924e333 Mon Sep 17 00:00:00 2001 From: Erin Abicht Date: Thu, 20 Apr 2023 17:29:05 -0400 Subject: [PATCH] Mention scapegoat as index alternative --- src/development/design/filesystem.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/development/design/filesystem.md b/src/development/design/filesystem.md index c404073..80f2c23 100644 --- a/src/development/design/filesystem.md +++ b/src/development/design/filesystem.md @@ -120,7 +120,7 @@ will be determined via [capabilities](/development/design/actor.md#ocap) Created in-memory on startup, modified directly whenever the filesystem is modified. It's saved in the *Index Sector* (which is at a known offset), allowing it to be read in easily on boot. -The index is simply an `alloc::` [BTreeMap](https://doc.rust-lang.org/stable/alloc/collections/btree_map/struct.BTreeMap.html). +The index is simply an `alloc::` [BTreeMap](https://doc.rust-lang.org/stable/alloc/collections/btree_map/struct.BTreeMap.html). *(If not, try [scapegoat](https://lib.rs/crates/scapegoat))*. We also have a simple `Vec` of the chunks that are free, which we modify in reverse.