-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
mv hardlinks should be preserved when moving into a different directory #4833
Comments
I've try to reproduce this: ❯ mkdir test
❯ mkdir test2
❯ > test/a
❯ ln test/a test/b
❯ target/release-small/coreutils mv test test2
❯ ls -1i test2/test/
4219332 a
4219332 b Does your test only work when moving the folder to another partition? |
That's very likely, |
Ok thanks for your input, I will try to reproduce this with an USB key. EDIT: I got the test working, I will try to fix this then |
I've tracked down the issue to |
There is a similar issue for symlink and a PR was proposed without reaction from the author. I wonder if we should "just" implement it directly on our side... |
Why do I get an error when trying to move the test into test2, but it is OKAY when using GNU mv?
|
@allaboutevemirolive it's a bug, I opened a ticket for it: #5481 |
Testcase:
They should be equal. They aren't currently
The text was updated successfully, but these errors were encountered: