Browse Source

Updated udev (112 -> 113), and applied changed done upstream to suse rules

- ppp and tun += ignore_remove
- device mapper snapshots += link_priority=-90
early
Alejandro Mery 17 years ago
parent
commit
0e715fe349
3 changed files with 8 additions and 4 deletions
  1. +2
    -1
      filesystem/udev/rules/50-udev-default.rules
  2. +4
    -1
      filesystem/udev/rules/64-device-mapper.rules
  3. +2
    -2
      filesystem/udev/udev.desc

+ 2
- 1
filesystem/udev/rules/50-udev-default.rules

@ -20,6 +20,7 @@ KERNEL=="iseries/vtty*", GROUP="modem"
KERNEL=="mwave", NAME="modems/%k", GROUP="modem" KERNEL=="mwave", NAME="modems/%k", GROUP="modem"
KERNEL=="ttyUSB*", ATTRS{product}=="[Pp]alm*Handheld*", SYMLINK+="pilot" KERNEL=="ttyUSB*", ATTRS{product}=="[Pp]alm*Handheld*", SYMLINK+="pilot"
KERNEL=="ttyUSB*", ATTRS{product}=="[Hh]andspring*Treo*|[Hh]andspring*Visor*", SYMLINK+="pilot" KERNEL=="ttyUSB*", ATTRS{product}=="[Hh]andspring*Treo*|[Hh]andspring*Visor*", SYMLINK+="pilot"
KERNEL=="ppp", MODE="0600", OPTIONS+="ignore_remove"
# video/graphics # video/graphics
SUBSYSTEM=="video4linux", GROUP="video" SUBSYSTEM=="video4linux", GROUP="video"
@ -62,7 +63,7 @@ KERNEL=="rioctl", NAME="specialix_rioctl", SYMLINK+="%k"
KERNEL=="sxctl", NAME="specialix_sxctl", SYMLINK+="%k" KERNEL=="sxctl", NAME="specialix_sxctl", SYMLINK+="%k"
# network # network
KERNEL=="tun", NAME="net/%k", MODE="0666"
KERNEL=="tun", NAME="net/%k", MODE="0666", OPTIONS+="ignore_remove"
# misc devices # misc devices
KERNEL=="mem|kmem|port", GROUP="kmem", MODE="0640" KERNEL=="mem|kmem|port", GROUP="kmem", MODE="0640"

+ 4
- 1
filesystem/udev/rules/64-device-mapper.rules

@ -11,10 +11,13 @@ ENV{DM_NAME}!="?*", GOTO="device_mapper_end"
SYMLINK+="disk/by-id/dm-name-$env{DM_NAME}" SYMLINK+="disk/by-id/dm-name-$env{DM_NAME}"
ENV{DM_UUID}=="?*", SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}" ENV{DM_UUID}=="?*", SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}"
ENV{DM_STATE}!="ACTIVE", GOTO="device_mapper_end"
ENV{DM_STATE}=="SUSPENDED", GOTO="device_mapper_end"
ENV{DM_TARGET_TYPES}=="|*error*", GOTO="device_mapper_end" ENV{DM_TARGET_TYPES}=="|*error*", GOTO="device_mapper_end"
IMPORT{program}="vol_id --export $tempnode" IMPORT{program}="vol_id --export $tempnode"
OPTIONS="link_priority=-100" 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|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}" ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"

+ 2
- 2
filesystem/udev/udev.desc

@ -31,8 +31,8 @@
[L] GPL [L] GPL
[S] Stable [S] Stable
[V] 112
[V] 113
[P] X -?---5---9 102.030 [P] X -?---5---9 102.030
[D] 4159244877 udev-112.tar.bz2 http://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
[D] 3866956235 udev-113.tar.bz2 http://ftp.kernel.org/pub/linux/utils/kernel/hotplug/

Loading…
Cancel
Save