1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00
systemd/extras
christophe.varoqui@free.fr aca29aa51f [PATCH] update extras/multipath
incremental to udev-016/extras/multipath,

* don't rely on the linux symlink in the udev/klibc dir since
  udev build doesn't use it anymore. This corrects build breakage
* remove make_dm_node fn & call. Rely on udev for this.

The first patch is to be applied.
The second is conditioned by udev dealing correctly with devmap names.

For this I can suggest a CALLOUT rule like this :
KERNEL=3D"dm-[0-9]*", PROGRAM=3D"/tmp/name_devmap %M %m", NAME=3D"%k", SY=
MLINK=3D"%c"

With name_devmap like :
#!/bin/sh
/usr/sbin/dmsetup ls|/bin/grep "$1, $2"|/usr/bin/awk '{print $1}'
2005-04-26 21:32:25 -07:00
..
multipath [PATCH] update extras/multipath 2005-04-26 21:32:25 -07:00
scsi_id [PATCH] update udev scsi_id to scsi_id 0.3 2005-04-26 21:13:17 -07:00
ide-devfs.sh [PATCH] get_dev_number() in extras/ide-devfs.sh 2005-04-26 21:32:24 -07:00
name_cdrom.pl [PATCH] udev - small script optimization 2005-04-26 21:13:16 -07:00