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

Add a files-interface #430

Open
tomaka opened this issue Apr 29, 2020 · 0 comments
Open

Add a files-interface #430

tomaka opened this issue Apr 29, 2020 · 0 comments
Labels
A-interfaces Concerns the interfaces between modules

Comments

@tomaka
Copy link
Owner

tomaka commented Apr 29, 2020

Would allow:

  • Enumerating the list of disks.
  • Enumerating the list of partitions on a disk.
  • Reading/writing files by passing a disk, a partition, and a file path.

This interface wouldn't expose a "global file system". Instead, accessing a file requires explicitly specifying which disk partition we're targeting. I don't want anything magic happening.

Similarly, if a file system for example doesn't allow storing permissions, then we should explicitly report that permissions aren't supported.

This interface would not be accessible by regular programs, as it is too dangerous.

@tomaka tomaka added the A-interfaces Concerns the interfaces between modules label Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-interfaces Concerns the interfaces between modules
Projects
None yet
Development

No branches or pull requests

1 participant