Skip to content

Should it seek back to zero after unmounting? #70

@grahamc

Description

@grahamc

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions