]> err.no Git - systemd/commitdiff
rules: ignore partitons that span the entire disk
authorFabio Massimo Di Nitto <fabbione@ubuntu.com>
Wed, 16 May 2007 18:15:21 +0000 (20:15 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 16 May 2007 18:15:21 +0000 (20:15 +0200)
etc/udev/rules.d/60-persistent-storage.rules

index 2af837dc40b14562cf912c721cc9ee8bc9d930d0..a14025999fafe87f933e48760c7cbd2f8a9399f1 100644 (file)
@@ -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_*"