chiark / gitweb /
[PATCH] update extras/multipath
authorchristophe.varoqui@free.fr <christophe.varoqui@free.fr>
Fri, 6 Feb 2004 08:14:51 +0000 (00:14 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:32:25 +0000 (21:32 -0700)
commitaca29aa51f0c8dfb1e6b8d60471d4034b65effb5
tree8532de209602cbfeb0bdd18c0e9bc4acebe487f9
parent1dadabd79b28a4cd72382abf746e9cf4c0589617
[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}'
extras/multipath/ChangeLog
extras/multipath/Makefile
extras/multipath/main.c