Skip to content
This repository was archived by the owner on Oct 27, 2022. It is now read-only.

fix udev pattern to match all the nvme devices #8

Merged
merged 1 commit into from
Apr 26, 2020

Conversation

b-dean
Copy link
Contributor

@b-dean b-dean commented Feb 19, 2020

the pattern before said nvme[0-26]n1 which would only match

  • nvme0n1
  • nvme1n1
  • nvme2n1
  • nvme6n1

the range is not zero to twenty-six, it is 0 to 2 and also 6

I think that [0-9][0-9]* is better. because it'll get any one or two digit devices

@b-dean b-dean force-pushed the fix-udev-pattern branch 2 times, most recently from 6067361 to b49ea9f Compare February 19, 2020 19:46
the pattern before said `nvme[0-26]n1` which would only match

* nvme0n1
* nvme1n1
* nvme2n1
* nvme6n1

the range is not zero to twenty-six, it is 0 to 2 and also 6

I think that `[0-9]*` is better. because it'll get any number of digits
@oogali oogali self-assigned this Apr 26, 2020
@oogali oogali merged commit d020779 into oogali:master Apr 26, 2020
b-dean added a commit to b-dean/ebs-automatic-nvme-mapping that referenced this pull request Feb 9, 2021
this had previously been fixed in oogali#3 but it was changed before it was merged.

then I tried to fix it again in oogali#8 but missed some of the digits
b-dean added a commit to b-dean/ebs-automatic-nvme-mapping that referenced this pull request Feb 9, 2021
also fix paths in `ebs-nvme-mapping.sh`

this had previously been fixed in oogali#3 but it was changed before it was merged.

then I tried to fix it again in oogali#8 but missed some of the digits
b-dean added a commit to b-dean/ebs-automatic-nvme-mapping that referenced this pull request Feb 9, 2021
also fix paths in `ebs-nvme-mapping.sh`

this had previously been fixed in oogali#3 but it was changed before it was merged.

then I tried to fix it again in oogali#8 but missed some of the digits
b-dean added a commit to b-dean/ebs-automatic-nvme-mapping that referenced this pull request Feb 9, 2021
also fix paths in `ebs-nvme-mapping.sh`

this had previously been fixed in oogali#3 but it was changed before it was merged.

then I tried to fix it again in oogali#8 but missed some of the digits

rebased on top of @pforman-zymergen's PR oogali#13 because
I want that binary check but udev needs the full paths
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants