Commit 687e759
committed
feature/guess-nvme: New feature to add nvme modules
The feature adds the ability to search for and add nvme devices.
The nvme sysfs looks like this, where there are no modalias because
these are virtual nodes:
/sys/devices/virtual/nvme-subsystem/nvme-subsys0/...
with the specific file `subsystype` with value `nvm`. In this case,
symlinks `nvme[0-9]` can be searched for, which point to the actual
block device.
Signed-off-by: Alexey Gladkov <[email protected]>1 parent bf56cf3 commit 687e759
3 files changed
+445
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments