chiark / gitweb /
[PATCH] allow to specify node permissions in the rule
[elogind.git] / extras / multipath / README
index 951c2788bc8f75aeb9fbcd439f338a58161793fc..80945db4380f9b660cff79a461fbd5bc819fd52f 100644 (file)
@@ -4,7 +4,11 @@ Dependancies :
 o libdevmapper : comes with device-mapper-XXXX.tar.gz
   See www.sistina.com
   This lib has been dropped in the multipath tree
-o libsysfs : comes with sysutils
+o libsysfs : comes with sysutils or udev
+  See ftp.kernel.org/pub/linux/utils/kernel/hotplug/
+o Linux kernel 2.6.0 with udm5 patchset
+  http://people.sistina.com/~thornber/dm/
+o udev
   See ftp.kernel.org/pub/linux/utils/kernel/hotplug/
 
 How it works :
@@ -51,6 +55,12 @@ struct multipath {
 When mp is filled, the device maps are fed to the kernel
 through libdevmapper.
 
+The naming of the corresponding block device is handeld 
+by udev with the help of the devmap_name proggy. It is 
+called by the following rule in /etc/udev/udev.rules :
+KERNEL="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", \
+NAME="%k", SYMLINK="%c"
+
 Notes :
 =======