From: Martin Pitt Date: Thu, 1 Dec 2016 21:22:47 +0000 (+0100) Subject: rules: add persistent links for nbd devices (#4785) X-Git-Tag: v233~366 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=561d496d0b48bce224fd80ef6500a1ddc4b29cb8;p=thirdparty%2Fsystemd.git rules: add persistent links for nbd devices (#4785) https://bugs.debian.org/837999 --- diff --git a/rules/60-persistent-storage.rules b/rules/60-persistent-storage.rules index c13d05cdb14..f7543b7fa87 100644 --- a/rules/60-persistent-storage.rules +++ b/rules/60-persistent-storage.rules @@ -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"