From 55a8d350547a351d050a311e7e0ea8dd46b8c3b0 Mon Sep 17 00:00:00 2001 From: Tianyu Gao Date: Tue, 9 Apr 2019 07:02:44 +0000 Subject: [PATCH] no create dev --- rcore-fs-sfs/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rcore-fs-sfs/src/lib.rs b/rcore-fs-sfs/src/lib.rs index 24febdf..871c611 100644 --- a/rcore-fs-sfs/src/lib.rs +++ b/rcore-fs-sfs/src/lib.rs @@ -868,8 +868,9 @@ impl vfs::FileSystem for SimpleFileSystem { } fn root_inode(&self) -> Arc { - let root = self.get_inode(BLKN_ROOT); - root.create("dev", vfs::FileType::Dir, 0); + self.get_inode(BLKN_ROOT) + // let root = self.get_inode(BLKN_ROOT); + // root.create("dev", vfs::FileType::Dir, 0); } fn info(&self) -> vfs::FsInfo {