[go: nahoru, domu]

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

CoreFX does not support the archive bit on non-Windows platforms, leading to switchfs being broken entirely #69

Open
leo60228 opened this issue Jun 30, 2019 · 4 comments

Comments

@leo60228
Copy link
Contributor
@leo60228
Copy link
Contributor Author

switchfs gives a warning that the archive bit is not set, sets it (which silently fails), and then itself silently fails due to the archive bit not actually getting set.

@leo60228
Copy link
Contributor Author

It may be useful to ignore the archive bit on non-Windows, and use heuristics instead.

@leo60228
Copy link
Contributor Author

You could also manually support the archive bit by using FFI. http://man7.org/linux/man-pages/man2/ioctl_fat.2.html

@Thealexbarney
Copy link
Owner

Opened an issue at dotnet/corefx#39274, and a PR for a partial workaround at #71

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