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

Look into hard links #62

Open
Dr-Emann opened this issue Apr 23, 2024 · 1 comment
Open

Look into hard links #62

Dr-Emann opened this issue Apr 23, 2024 · 1 comment

Comments

@Dr-Emann
Copy link
Owner

See RJVB/afsctool#61 (comment), it might not be safe to compress files which have hard links?

@Dr-Emann
Copy link
Owner Author

Added a test which seems to verify we survive hard linking. However, it's probably a good idea to add an option (default on? or always?) to ignore files with hardlinks, since we'll necessarily break the hardlink when we replace the file with the compressed version, and that may be undesirable.

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

1 participant