]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
UML: Fix block device setup 918/head
authorThomas Meyer <thomas@m3y3r.de>
Sun, 9 Aug 2015 16:07:55 +0000 (18:07 +0200)
committerThomas Meyer <thomas@m3y3r.de>
Sun, 9 Aug 2015 16:07:55 +0000 (18:07 +0200)
User mode linux block devices start with ubd, e.g. ubda, ubdb, etc..

rules/60-persistent-storage.rules

index 5ab03fc278b37c7aa209f1736fa156ab7954aa89..0b14bb4a112c4286cef1feeba26bd78b6b29321b 100644 (file)
@@ -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"