reassign 384166 dmsetup
thanks

On Aug 22, martin f krafft <[EMAIL PROTECTED]> wrote:

> It would be sweet if device-mapper block devices would also show up
> under /dev/disk/by-* or a similar hierarchy.
Indeed it would be, but it's not possible yet since the kernel is not
sending the right kind of uevent:

https://www.redhat.com/archives/dm-devel/2006-August/msg00040.html


The dmsetup package should install this rules file and link it at z47:

KERNEL!="dm-*",                                 GOTO="device_mapper_end"
ACTION!="change",                               GOTO="device_mapper_end"

# do not run vol_id if it's a snaphost or dmsetup failed
PROGRAM!="/sbin/dmsetup status -j %M -m %m",    GOTO="device_mapper_end"
RESULT=="|*snapshot*|*error*",                  GOTO="device_mapper_end"

IMPORT{program}="vol_id --export $tempnode"

ENV{ID_FS_USAGE}=="filesystem|other|crypto",    ENV{ID_FS_UUID}=="?*", \
        SYMLINK+="disk/by-uuid/$env{ID_FS_UUID}"
ENV{ID_FS_USAGE}=="filesystem|other",           ENV{ID_FS_LABEL_SAFE}=="?*", \
        SYMLINK+="disk/by-label/$env{ID_FS_LABEL_SAFE}"

LABEL="device_mapper_end"

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature

Reply via email to