|
Zbigniew Jędrzejewski-Szmek |
436654 |
From fa7f0bc082bbcfaa997f949b8b4a035fd8a01eda Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
From: Ed Swierk <eswierk@skyportsystems.com>
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
Date: Wed, 3 Jun 2015 08:08:37 -0700
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
Subject: [PATCH] Add /dev/xvd* to 60-persistent-storage whitelist Without
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
this, systemd-udevd does not create persistent storage symlinks for xen block
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
devices.
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
(cherry picked from commit ff2aa01e61f8aff149b63231365f1cef008296a2)
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
rules/60-persistent-storage.rules | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
diff --git a/rules/60-persistent-storage.rules b/rules/60-persistent-storage.rules
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
index 2aa15f3411..64c5f1cfdd 100644
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
--- a/rules/60-persistent-storage.rules
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
+++ b/rules/60-persistent-storage.rules
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
@@ -6,7 +6,7 @@
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
ACTION=="remove", GOTO="persistent_storage_end"
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
SUBSYSTEM!="block", GOTO="persistent_storage_end"
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
-KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|bcache*", GOTO="persistent_storage_end"
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
+KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|bcache*|xvd*", GOTO="persistent_storage_end"
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
# ignore partitions that span the entire disk
|
|
Zbigniew Jędrzejewski-Szmek |
436654 |
TEST=="whole_disk", GOTO="persistent_storage_end"
|