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

fix(dracut-install): Copy xattr when use clone ioctl #2660

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HuaxinLu
Copy link

@HuaxinLu HuaxinLu commented Jul 1, 2024

When use clone ioctl to copy a file, the extended attributes of files are missing, which is inconsistent with the result by using the cp command. This commit add the process to copy extended attributes after clone_file().

Changes

Add the process to copy extended attributes after clone_file().

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

Fixes #

When use clone ioctl to copy a file, the extended attributes of files are
missing, which is inconsistent with the result by using the cp command.
This commit add the process to copy extended attributes after clone_file().

Signed-off-by: Huaxin Lu <[email protected]>
@github-actions github-actions bot added the dracut-install Issues related to dracut install label Jul 1, 2024
@aafeijoo-suse
Copy link
Member

This repo is no longer maintained. Could you submit this PR to https://github.com/dracut-ng/dracut-ng? Thanks.

@HuaxinLu
Copy link
Author

HuaxinLu commented Jul 4, 2024

This repo is no longer maintained. Could you submit this PR to https://github.com/dracut-ng/dracut-ng? Thanks.

OK, the new PR has been submited

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dracut-install Issues related to dracut install
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants