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

ln -sfn is not atomic #26

Open
dimo414 opened this issue Apr 25, 2021 · 2 comments
Open

ln -sfn is not atomic #26

dimo414 opened this issue Apr 25, 2021 · 2 comments

Comments

@dimo414
Copy link
Owner

dimo414 commented Apr 25, 2021

According to this post ln -sfn isn't actually atomic, despite the comment here. Need to confirm this is actually broken and then fix, presumably to the rename approach described in the post.

@dimo414
Copy link
Owner Author

dimo414 commented Oct 7, 2021

bkt uses the rename pattern, for reference.

@devkev
Copy link

devkev commented Nov 23, 2022

A recent comment on the same answer claims that the ln in modern coreutils does the atomic rename approach now.

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