add dev dir

master
gaotianyu1350 6 years ago
parent cc7d319f37
commit 3edc14e317

@ -868,7 +868,8 @@ impl vfs::FileSystem for SimpleFileSystem {
}
fn root_inode(&self) -> Arc<vfs::INode> {
self.get_inode(BLKN_ROOT)
let root = self.get_inode(BLKN_ROOT);
root.create("dev", vfs::FileType::Dir, 0);
}
fn info(&self) -> vfs::FsInfo {

Loading…
Cancel
Save