X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=extras%2Fmultipath%2FREADME;h=80945db4380f9b660cff79a461fbd5bc819fd52f;hp=951c2788bc8f75aeb9fbcd439f338a58161793fc;hb=e41016d3547ef704c0785ba197d36ef69de51260;hpb=9107fb88ba7a7b2eb09f01e311cdc2b29d04a123 diff --git a/extras/multipath/README b/extras/multipath/README index 951c2788b..80945db43 100644 --- a/extras/multipath/README +++ b/extras/multipath/README @@ -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 : =======