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

virtiofs File::metadata support #641

Open
m-mueller678 opened this issue Nov 13, 2024 · 0 comments
Open

virtiofs File::metadata support #641

m-mueller678 opened this issue Nov 13, 2024 · 0 comments
Assignees

Comments

@m-mueller678
Copy link

Currently, getting the metadata for a handle to a virtiofs file fails with an InvalidInput error:

fn main(){
    let file = File::open("/root/example.csv").unwrap();
    file.metadata().unwrap();
}

This, however, works fine.

fs::metadata("/root/example.csv")

I did not test other filesystems, they may or may not have the same issue

@mkroening mkroening self-assigned this Nov 13, 2024
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

2 participants