WASI icon indicating copy to clipboard operation
WASI copied to clipboard

Document that hard-linking may fail

Open sunfishcode opened this issue 2 years ago • 1 comments

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.

sunfishcode avatar Jan 19 '23 21:01 sunfishcode