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

Ensure hardlink target entry comes forwarder than the source entry #181

Merged
merged 1 commit into from
Nov 30, 2020

Conversation

ktock
Copy link
Member

@ktock ktock commented Nov 29, 2020

Currently, during optimization, if a hardlink is specified as a prioritized
file, the target file isn't included to prioritized file but only the hardlink
entry is moved forward in the tar file. However, some tar client (e.g. GNU tar)
don't allow that the hardlink entry comes forwarder than the target entry.

Signed-off-by: Kohei Tokunaga ktokunaga.mail@gmail.com

Currently, during optimization, if a hardlink is specified as a prioritized
file, the target file isn't included to prioritized file but only the hardlink
entry is moved forward in the tar file. However, some tar client (e.g. GNU tar)
don't allow that the hardlink entry comes forwarder than the target entry.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
@AkihiroSuda AkihiroSuda merged commit de5e50a into containerd:master Nov 30, 2020
@ktock ktock deleted the hardlink branch November 30, 2020 10:13
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.

None yet

2 participants