summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Meyer <thomas@m3y3r.de>2015-08-09 18:07:55 +0200
committerThomas Meyer <thomas@m3y3r.de>2015-08-09 18:07:55 +0200
commit7519d221e051e0118a4692f13a30c110e2561952 (patch)
tree52c204b2324d163d82cd33dbe44a7a189f8a989a
parentaae68db9b441963b0d1b8519e0aee8e2fc05e20c (diff)
UML: Fix block device setup
User mode linux block devices start with ubd, e.g. ubda, ubdb, etc..
-rw-r--r--rules/60-persistent-storage.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/60-persistent-storage.rules b/rules/60-persistent-storage.rules
index 5ab03fc278..0b14bb4a11 100644
--- a/rules/60-persistent-storage.rules
+++ b/rules/60-persistent-storage.rules
@@ -6,7 +6,7 @@
ACTION=="remove", GOTO="persistent_storage_end"
SUBSYSTEM!="block", GOTO="persistent_storage_end"
-KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*", GOTO="persistent_storage_end"
+KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*", GOTO="persistent_storage_end"
# ignore partitions that span the entire disk
TEST=="whole_disk", GOTO="persistent_storage_end"