]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
rules: add persistent links for nbd devices (#4785)
authorMartin Pitt <martin.pitt@ubuntu.com>
Thu, 1 Dec 2016 21:22:47 +0000 (22:22 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 1 Dec 2016 21:22:47 +0000 (16:22 -0500)
https://bugs.debian.org/837999

rules/60-persistent-storage.rules

index c13d05cdb147efd30af9de4dd3c2362ced4d5ff1..f7543b7fa8779534041c05e1a8c9276794fbcfa1 100644 (file)
@@ -7,7 +7,7 @@ ACTION=="remove", GOTO="persistent_storage_end"
 ENV{UDEV_DISABLE_PERSISTENT_STORAGE_RULES_FLAG}=="1", 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*|ubd*|scm*|pmem*", GOTO="persistent_storage_end"
+KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*|scm*|pmem*|nbd*", GOTO="persistent_storage_end"
 
 # ignore partitions that span the entire disk
 TEST=="whole_disk", GOTO="persistent_storage_end"