diff options
author | Fabio Massimo Di Nitto <fabbione@ubuntu.com> | 2007-05-16 20:15:21 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-05-16 20:15:21 +0200 |
commit | 51b5c5f889620632d39ea40a1f74c5ed2fdd6578 (patch) | |
tree | beaa4c2158c4e1ee13efe76eff48a259b66a81d2 | |
parent | 8246d00d886fe0968bac065efbc455019483fe4e (diff) |
rules: ignore partitons that span the entire disk
-rw-r--r-- | etc/udev/rules.d/60-persistent-storage.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/udev/rules.d/60-persistent-storage.rules b/etc/udev/rules.d/60-persistent-storage.rules index 2af837dc40..a14025999f 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_*" |