Merge branch 'no_legacy_scheme' into 'master'

Remove all usages of the legacy scheme syntax

See merge request redox-os/ramfs!7
This commit is contained in:
Jeremy Soller
2024-08-19 16:47:41 +00:00
+1 -1
View File
@@ -74,7 +74,7 @@ impl Filesystem {
pub fn new() -> Result<Self> {
Ok(Self {
files: iter::once((Self::ROOT_INODE, Self::create_root_inode())).collect(),
memory_file: fs::File::open("memory:").or(Err(Error::new(EIO)))?,
memory_file: fs::File::open("/scheme/memory").or(Err(Error::new(EIO)))?,
last_inode_number: Self::ROOT_INODE,
})
}