summaryrefslogtreecommitdiff
path: root/extras/multipath/devmap_name.8
blob: f4f03c3ec6b3cfba70f6926adcd05990e6662e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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.