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

Restrict NVME udev rules to "add" events #9

Merged
merged 2 commits into from
Nov 17, 2021

Conversation

nmeyerhans
Copy link
Contributor

The rules are intended to set up symlinks and parameters on NVME
devices as they're added, and it's not expected that they'll run on
"change", "remove", or other udev events.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The rules are intended to set up symlinks and parameters on NVME
devices as they're added, and it's not expected that they'll run on
"change", "remove", or other udev events.
@fred-lefebvre fred-lefebvre merged commit 45a889b into amazonlinux:master Nov 17, 2021
@romank8k romank8k mentioned this pull request Nov 29, 2021
@oliparcol
Copy link

Hello, sorry for digging up an old post.

We recently realized that running the udev rules on change in addition of add action would be useful when formatting a newly created EBS; on centos 7, with the current version of the rules, the /dev/* symlinks disappear when creating a new partition on the EBS.

Would it be possible to have more background on why the actions were restricted to add only instead of add|change ?

Have a nice day

@nmeyerhans
Copy link
Contributor Author

Hi @oliparcol Yes, this is a bug and will be fixed soon. I've created #22 to track this.

@oliparcol
Copy link

cool, thanks for the confirmation

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.

3 participants