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

🐛 local driver: Fix issues of handling cross-device file move #7430

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

Rirmach
Copy link
Contributor

@Rirmach Rirmach commented Oct 29, 2024

Fix bug when moving files between different filesystems, e.g., mounted NFS.
If errors like "invalid cross-device link" happens when moving, fallback to "copy & delete" strategy.

Refer: https://gist.github.com/var23rav/23ae5d0d4d830aff886c3c970b8f6c6b

@Rirmach Rirmach changed the title 🐛 local drive: Fix issues of handling cross-device file move 🐛 local driver: Fix issues of handling cross-device file move Oct 29, 2024
@xhofe xhofe merged commit 10c7ebb into AlistGo:main Nov 1, 2024
3 checks passed
long2005a1 added a commit to long2005a1/Long-Cloud that referenced this pull request Nov 9, 2024
xrgzs pushed a commit to xrgzs/alist that referenced this pull request Nov 16, 2024
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

Successfully merging this pull request may close these issues.

2 participants