andrewchambers / hermes

Hermes software environment manager
MIT License
311 stars 8 forks source link

Handle hardlinks in package output #1

Open andrewchambers opened 4 years ago

andrewchambers commented 4 years ago

I think when finalizing a package we should ensure its link count is 1. We really don't want to have files change underneath us via some funky link shenanigans.

andrewchambers commented 4 years ago

This may not be a real issue we need to worry about.

akavel commented 4 years ago

Would that preclude hardlinking as a deduplication (space conservation) strategy in hermes storage?

andrewchambers commented 4 years ago

I think my idea when I created this issue was the package cannot make links so the store can do it automatically yeah. Automatic hard linking/dedup is definitely on the agenda, I will make a ticket.