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

Should it seek back to zero after unmounting? #70

Open
grahamc opened this issue Jun 15, 2022 · 0 comments
Open

Should it seek back to zero after unmounting? #70

grahamc opened this issue Jun 15, 2022 · 0 comments

Comments

@grahamc
Copy link

grahamc commented Jun 15, 2022

Hi there, thank you a lot for this excellent library.

I've found myself confused a few times when I'd start interacting with the results of this library that the filesystem is seeked to a somewhat arbitrary position.

I wonder if it would be better to leave it at at either the first byte of the FS, or the last byte of the FS?

In my case I'm writing to a Cursor<Vec> and then using std::io::copy to copy from the cursor to the actual disk, and I got confused when the data being written started from the wrong spot.

Best,

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