1 |
# /etc/udev/rules/64-device-mapper.rules: device naming rules for udev |
# /etc/udev/rules/64-device-mapper.rules: device naming rules for udev |
2 |
# $Header: /root/magellan-cvs/src/udev/udev-device-mapper.rules.magellan,v 1.1 2007-05-17 19:25:02 niro Exp $ |
# $Header: /root/magellan-cvs/src/udev/udev-device-mapper.rules.magellan,v 1.2 2007-06-10 21:25:10 niro Exp $ |
3 |
# |
# |
4 |
# There are a number of modifiers that are allowed to be used in some |
# There are a number of modifiers that are allowed to be used in some |
5 |
# of the different fields. They provide the following subsitutions: |
# of the different fields. They provide the following subsitutions: |
47 |
|
|
48 |
IMPORT{program}="vol_id --export $tempnode" |
IMPORT{program}="vol_id --export $tempnode" |
49 |
OPTIONS="link_priority=50" |
OPTIONS="link_priority=50" |
50 |
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_SAFE}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_SAFE}" |
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}" |
51 |
ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_SAFE}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_SAFE}" |
ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}" |
52 |
|
|
53 |
LABEL="device_mapper_end" |
LABEL="device_mapper_end" |