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

Replace softlinks with softlink_or_copy if softlink failed #473

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

dkuegler
Copy link
Member

@dkuegler dkuegler commented Mar 6, 2024

Some file systems do not support softlinks, if creating the soft link fails, copy the file instead.

See also #471.

I have no real idea on how to simulate a file system that does not support soft links, i.e. something that makes ln -sf fail, maybe FAT file systems?

@dkuegler dkuegler requested a review from m-reuter March 6, 2024 19:13
@m-reuter
Copy link
Member

m-reuter commented Mar 6, 2024

looks good, have you tried it on a normal system (with soft link) and also the command file version?

@dkuegler
Copy link
Member Author

dkuegler commented Mar 6, 2024

Yeah, the run did not finish earlier, but I can confirm it did finish now.

@dkuegler
Copy link
Member Author

dkuegler commented Mar 7, 2024

Can be merged.

@m-reuter m-reuter merged commit e483669 into Deep-MI:dev Mar 7, 2024
@dkuegler dkuegler deleted the fix/softlink-cp branch March 11, 2024 10:14
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