diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-03-25 13:40:55 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-03-25 13:40:55 +0100 |
commit | a0aa1d76d0c7c6986e1b94b1868841fc9414cf1f (patch) | |
tree | e14360769718fd31c5f5c4b0b0ca9f160626b199 /rules/rules.d | |
parent | 65336f861496aa33802957dcf325b24e31fb5728 (diff) |
rules: replace IDE driver with media match
Diffstat (limited to 'rules/rules.d')
-rw-r--r-- | rules/rules.d/60-persistent-storage.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/rules.d/60-persistent-storage.rules b/rules/rules.d/60-persistent-storage.rules index 825535c805..23c21f8c6c 100644 --- a/rules/rules.d/60-persistent-storage.rules +++ b/rules/rules.d/60-persistent-storage.rules @@ -13,7 +13,7 @@ SUBSYSTEM!="block", GOTO="persistent_storage_end" KERNEL=="fd*|mtd*|nbd*|gnbd*|btibm*|dm-*|md*", GOTO="persistent_storage_end" # never access non-cdrom removable ide devices, the drivers are causing event loops on open() -KERNEL=="hd*[!0-9]", ATTR{removable}=="1", DRIVERS=="ide-cs|ide-gd", GOTO="persistent_storage_end" +KERNEL=="hd*[!0-9]", ATTR{removable}=="1", SUBSYSTEMS=="ide", ATTRS{media}=="disk|floppy", GOTO="persistent_storage_end" KERNEL=="hd*[0-9]", ATTRS{removable}=="1", GOTO="persistent_storage_end" # ignore partitions that span the entire disk |