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

Stop rewriting symlinks #1

Open
victorb opened this issue Mar 8, 2018 · 1 comment
Open

Stop rewriting symlinks #1

victorb opened this issue Mar 8, 2018 · 1 comment

Comments

@victorb
Copy link
Owner

victorb commented Mar 8, 2018

Currently because of ipfs/kubo#3508, when we finished pulling down the arch mirror, we are rewriting all the symlinks with their targets, effectively doubling the size of the arch-repository on disk. This is not a big issue since when we add it to IPFS, de-duplication takes care of the sizing and we end up with good size again.

When symlinks are handled by go-ipfs, we can remove this step.

@NiKiZe
Copy link

NiKiZe commented Jul 21, 2018

I'm looking to do something similar with Gentoo-distfiles and symlinks is an issue that we kind of need a fix for. However in the mean time you might be able to create hard links instead, which would not take up more space, so ln -f "$abstarget" "$link" should work instead (rm should not be needed)

or use cp -l which does the hard linking

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

2 participants