X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=etc%2Fudev%2Frules.d%2F60-persistent-storage.rules;h=a14025999fafe87f933e48760c7cbd2f8a9399f1;hp=2af837dc40b14562cf912c721cc9ee8bc9d930d0;hb=51b5c5f889620632d39ea40a1f74c5ed2fdd6578;hpb=8246d00d886fe0968bac065efbc455019483fe4e diff --git a/etc/udev/rules.d/60-persistent-storage.rules b/etc/udev/rules.d/60-persistent-storage.rules index 2af837dc4..a14025999 100644 --- a/etc/udev/rules.d/60-persistent-storage.rules +++ b/etc/udev/rules.d/60-persistent-storage.rules @@ -21,6 +21,9 @@ KERNEL=="ram*|loop*|fd*|nbd*|gnbd*|dm-*|md*", GOTO="persistent_storage_end" KERNEL=="hd*[!0-9]", ATTR{removable}=="1", DRIVERS=="ide-cs|ide-floppy", GOTO="persistent_storage_end" KERNEL=="hd*[0-9]", ATTRS{removable}=="1", GOTO="persistent_storage_end" +# ignore partitions that span the entire disk +ATTR{whole_disk}=="", GOTO="persistent_storage_end" + # for partitions import parent information KERNEL=="*[0-9]", IMPORT{parent}="ID_*"