]> err.no Git - systemd/commitdiff
rules: use consistently OPTIONS+=
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 9 Jul 2008 21:50:46 +0000 (23:50 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 9 Jul 2008 21:50:46 +0000 (23:50 +0200)
Thanks to Marco for the pointer.

etc/udev/packages/64-md-raid.rules
etc/udev/rules.d/50-udev-default.rules
etc/udev/suse/64-device-mapper.rules

index b8baea207fa5d304448c98c78f3015d9a9444580..d0510b3095b50bc3dd0b9743f506ea49a0e51aa2 100644 (file)
@@ -15,7 +15,7 @@ ENV{MD_NAME}=="?*", SYMLINK+="disk/by-id/md-name-$env{MD_NAME}"
 ENV{MD_UUID}=="?*", SYMLINK+="disk/by-id/md-uuid-$env{MD_UUID}"
 
 IMPORT{program}="vol_id --export $tempnode"
-OPTIONS="link_priority=100"
+OPTIONS+="link_priority=100"
 ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
 ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"
 
index d201b05608ab35b050d38e3e722506ff46e0ec72..718d1899f56acb1fd8cc15b04638db7488ae3256 100644 (file)
@@ -1,12 +1,12 @@
 # do not edit this file, it will be overwritten on update
 
-KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0660", OPTIONS="last_rule"
-KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0660", OPTIONS="last_rule"
-KERNEL=="ptmx",                        GROUP="tty", MODE="0666", OPTIONS="last_rule"
-KERNEL=="tty",                 GROUP="tty", MODE="0666", OPTIONS="last_rule"
-KERNEL=="tty[0-9]*",           GROUP="tty", MODE="0620", OPTIONS="last_rule"
-KERNEL=="vcs|vcs[0-9]*|vcsa|vcsa[0-9]*", GROUP="tty", OPTIONS="last_rule"
-KERNEL=="console",             MODE="0600", OPTIONS="last_rule"
+KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0660", OPTIONS+="last_rule"
+KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0660", OPTIONS+="last_rule"
+KERNEL=="ptmx",                        GROUP="tty", MODE="0666", OPTIONS+="last_rule"
+KERNEL=="tty",                 GROUP="tty", MODE="0666", OPTIONS+="last_rule"
+KERNEL=="tty[0-9]*",           GROUP="tty", MODE="0620", OPTIONS+="last_rule"
+KERNEL=="vcs|vcs[0-9]*|vcsa|vcsa[0-9]*", GROUP="tty", OPTIONS+="last_rule"
+KERNEL=="console",             MODE="0600", OPTIONS+="last_rule"
 
 # serial
 KERNEL=="tty[A-Z]*|pppox*|ircomm*|noz*", GROUP="uucp"
index c6142ea115a8b95b35993e2c3faf21e552ca5308..b065aec55417fd24fb2a164be4a4bbdefbf7a9b6 100644 (file)
@@ -15,8 +15,8 @@ ENV{DM_STATE}=="SUSPENDED", GOTO="device_mapper_end"
 ENV{DM_TARGET_TYPES}=="|*error*", GOTO="device_mapper_end"
 
 IMPORT{program}="vol_id --export $tempnode"
-OPTIONS="link_priority=-100"
-ENV{DM_TARGET_TYPES}=="*snapshot-origin*", OPTIONS="link_priority=-90"
+OPTIONS+="link_priority=-100"
+ENV{DM_TARGET_TYPES}=="*snapshot-origin*", OPTIONS+="link_priority=-90"
 ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
 ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"