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

Document that hard-linking may fail #83

Open
sunfishcode opened this issue Jan 19, 2023 · 0 comments
Open

Document that hard-linking may fail #83

sunfishcode opened this issue Jan 19, 2023 · 0 comments

Comments

@sunfishcode
Copy link
Member

Hard links typically cannot cross filesystems, and mount points could appear practically anywhere. Consequently, we should document that creating a hard link anywhere other than the same directory as the source may fail.

Hard linking may still be useful in portable code, as an opportunistic optimization with a copy as a fallback if the link fails. But we should document that.

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