Ignore:
Timestamp:
May 24, 2007, 10:28:56 AM (17 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
850f2ea6
Parents:
2b92d03
Message:

Updates with Upstream

File:
1 edited

Legend:

Unmodified
Added
Removed
  • udev/64-device-mapper.rules

    r2b92d03 r95756c0  
    1414#               of this package
    1515#
     16# Requirements: mdadm 2.6.2 or higher
     17#
    1618########################################################################
    1719
    18 KERNEL=="device-mapper", SYMLINK+="mapper/control"
     20KERNEL=="device-mapper",        SYMLINK+="mapper/control"
    1921
    20 KERNEL=="dm-*", ACTION=="add|change", GOTO="device_mapper_do"
    21 GOTO="device_mapper_end"
     22KERNEL!="dm-*",         GOTO="device_mapper_end"
     23ACTION!="add|change",   GOTO="device_mapper_end"
    2224
    23 LABEL="device_mapper_do"
    24 PROGRAM!="/sbin/dmsetup status -j %M -m %m",    GOTO="device_mapper_end"
    25 RESULT=="|*snapshot*|*error*",                  GOTO="device_mapper_end"
     25# skip snapshot and error tables
     26IMPORT{program}="/sbin/dmsetup export -j%M -m%m"
     27ENV{DM_STATE}!="ACTIVE",                        GOTO="device_mapper_end"
     28ENV{DM_TARGET_TYPES}=="|*snapshot*|*error*",    GOTO="device_mapper_end"
     29
     30SYMLINK+="disk/by-id/dm-name-$env{DM_NAME}"
     31ENV{DM_UUID}=="?*", SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}"
    2632
    2733IMPORT{program}="vol_id --export $tempnode"
    28 ENV{ID_FS_USAGE}=="filesystem|other|crypto",    ENV{ID_FS_UUID}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID}"
    29 ENV{ID_FS_USAGE}=="filesystem|other",           ENV{ID_FS_LABEL_SAFE}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_SAFE}"
     34OPTIONS="link_priority=-100"
     35ENV{ID_FS_USAGE}=="filesystem|other|crypto",    ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
     36ENV{ID_FS_USAGE}=="filesystem|other",           ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"
    3037
    3138LABEL="device_mapper_end"
    32 
Note: See TracChangeset for help on using the changeset viewer.