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

Device symlinks created at the wrong path #97

Closed
arnaldo2792 opened this issue Aug 19, 2024 · 1 comment
Closed

Device symlinks created at the wrong path #97

arnaldo2792 opened this issue Aug 19, 2024 · 1 comment

Comments

@arnaldo2792
Copy link
Contributor

What I expected to happen:
I expect that a symlink under /dev is created using the device mapping configured for my EC2 EBS volume.

What actually happened:
In certain workflows, the symlinks to the devices are created under /dev/dev/<device> instead of just /dev/device. Additionally, creating devices under /dev with an actual ID that could be used by the kernel is a bad practice, so we should create the symlinks for EBS volume mappings under /dev/by-ebs-id, to prevent collisions with kernel device names. See amazonlinux/amazon-ec2-utils#37 for reference.

@arnaldo2792
Copy link
Contributor Author

I forgot to close this in #98

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