summaryrefslogtreecommitdiff
path: root/extras/multipath-tools/devmap_name/devmap_name.8
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-03-10 22:40:39 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:09 -0700
commita3b37a073d52ff01d4ef023a10f13316da4c9966 (patch)
tree349bfb87361de4b6d1990b9d5a9283d445b7ea37 /extras/multipath-tools/devmap_name/devmap_name.8
parent49f9acf3844aa5c004b5794e919bd54166e53227 (diff)
[PATCH] Added multipath-tools 0.1.1 release
Diffstat (limited to 'extras/multipath-tools/devmap_name/devmap_name.8')
-rw-r--r--extras/multipath-tools/devmap_name/devmap_name.830
1 files changed, 30 insertions, 0 deletions
diff --git a/extras/multipath-tools/devmap_name/devmap_name.8 b/extras/multipath-tools/devmap_name/devmap_name.8
new file mode 100644
index 0000000000..f4f03c3ec6
--- /dev/null
+++ b/extras/multipath-tools/devmap_name/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.