summaryrefslogtreecommitdiff
path: root/extras/multipath/devmap_name.8
diff options
context:
space:
mode:
authorchristophe.varoqui@free.fr <christophe.varoqui@free.fr>2004-03-01 23:08:47 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:06 -0700
commitcbd2ea21e4eac53bb95465c7808c723b787a709c (patch)
treee38067cd57734535d7dfad2438f94d3dfbf04a34 /extras/multipath/devmap_name.8
parent534c853df52810b63b126e7e43d051a682829464 (diff)
[PATCH] multipath update
Diffstat (limited to 'extras/multipath/devmap_name.8')
-rw-r--r--extras/multipath/devmap_name.830
1 files changed, 30 insertions, 0 deletions
diff --git a/extras/multipath/devmap_name.8 b/extras/multipath/devmap_name.8
new file mode 100644
index 0000000000..f4f03c3ec6
--- /dev/null
+++ b/extras/multipath/devmap_name.8
@@ -0,0 +1,30 @@
+.TH DEVMAP_NAME 8 "February 2004" "" "Linux Administrator's Manual"
+.SH NAME
+devmap_name \- Query device-mapper name
+.SH SYNOPSIS
+.BI devmap_name " major minor"
+.SH DESCRIPTION
+.B devmap_name
+queries the device-mapper for the name for the device
+specified by
+.I major
+and
+.I minor
+number.
+.br
+.B devmap_name
+can be called from
+.B udev
+by the following rule in
+.IR /etc/udev/udev.rules :
+.sp
+.nf
+KERNEL="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", \\
+ NAME="%k", SYMLINK="%c"
+.fi
+.SH "SEE ALSO"
+.BR udev (8),
+.BR dmsetup (8)
+.SH AUTHORS
+.B devmap_name
+was developed by Christophe Varoqui, <christophe.varoqui@free.fr> and others.