Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create fs module #35

Open
gurry opened this issue Aug 30, 2018 · 0 comments
Open

Create fs module #35

gurry opened this issue Aug 30, 2018 · 0 comments

Comments

@gurry
Copy link
Owner

gurry commented Aug 30, 2018

Currently we have a separate virtfs_efi crate which offers a way to create a virtual, possibly in-memory file system. It does this by implementing the SIMPLE_FILE_SYSTEM protocol. Perhaps it's a better idea to merge this crate into efi crate under a module called fs. After that we can change its behaviour so that instead of taking io::Read objects it takes interfaces that define a file store. The file store should expose ways to open a file and read a file. The fs module will then wrap this into an implementation of SIMPLE_FILE_SYSTEM protocol.

Alternatively we can the above changes but keep the code in virtfs_efi. Also may be we can change the crate name to fs_efi because there's nothing "virtual" about the above mentioned new design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant