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