Blame SOURCES/0247-rules-60-persistent-storage-add-nvme-pcie-ssd-scsi_i.patch
|
|
9fc0f6 |
From 5d050e50b2028d3b29f2ecd7a6e5fe0ab543c1df Mon Sep 17 00:00:00 2001
|
|
|
9fc0f6 |
From: Lukas Nykryn <lnykryn@redhat.com>
|
|
|
9fc0f6 |
Date: Mon, 28 Jul 2014 16:31:32 +0200
|
|
|
9fc0f6 |
Subject: [PATCH] rules/60-persistent-storage: add nvme pcie ssd scsi_id ENV
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
Resolves: #1042990
|
|
|
9fc0f6 |
---
|
|
|
9fc0f6 |
rules/60-persistent-storage.rules | 3 +++
|
|
|
9fc0f6 |
1 file changed, 3 insertions(+)
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
diff --git a/rules/60-persistent-storage.rules b/rules/60-persistent-storage.rules
|
|
|
9fc0f6 |
index a4d009a..c47c130 100644
|
|
|
9fc0f6 |
--- a/rules/60-persistent-storage.rules
|
|
|
9fc0f6 |
+++ b/rules/60-persistent-storage.rules
|
|
|
9fc0f6 |
@@ -42,6 +42,9 @@ KERNEL=="cciss*", ENV{DEVTYPE}=="disk", ENV{ID_SERIAL}!="?*", IMPORT{program}="s
|
|
|
9fc0f6 |
KERNEL=="sd*|sr*|cciss*", ENV{DEVTYPE}=="disk", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
|
|
|
9fc0f6 |
KERNEL=="sd*|cciss*", ENV{DEVTYPE}=="partition", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n"
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
+# NVMe
|
|
|
9fc0f6 |
+KERNEL=="nvme*", ENV{ID_SERIAL}!="?*", IMPORT{program}="scsi_id --export --whitelisted -d $tempnode"
|
|
|
9fc0f6 |
+
|
|
|
9fc0f6 |
# firewire
|
|
|
9fc0f6 |
KERNEL=="sd*[!0-9]|sr*", ATTRS{ieee1394_id}=="?*", SYMLINK+="disk/by-id/ieee1394-$attr{ieee1394_id}"
|
|
|
9fc0f6 |
KERNEL=="sd*[0-9]", ATTRS{ieee1394_id}=="?*", SYMLINK+="disk/by-id/ieee1394-$attr{ieee1394_id}-part%n"
|