chiark / gitweb /
[PATCH] multipath update
[elogind.git] / extras / multipath / devmap_name.8
1 .TH DEVMAP_NAME 8 "February 2004" "" "Linux Administrator's Manual"
2 .SH NAME
3 devmap_name \- Query device-mapper name
4 .SH SYNOPSIS
5 .BI devmap_name " major minor"
6 .SH DESCRIPTION
7 .B devmap_name
8 queries the device-mapper for the name for the device
9 specified by
10 .I major
11 and
12 .I minor
13 number.
14 .br
15 .B devmap_name
16 can be called from
17 .B udev
18 by the following rule in
19 .IR /etc/udev/udev.rules :
20 .sp
21 .nf
22 KERNEL="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", \\
23         NAME="%k", SYMLINK="%c"
24 .fi
25 .SH "SEE ALSO"
26 .BR udev (8),
27 .BR dmsetup (8)
28 .SH AUTHORS
29 .B devmap_name
30 was developed by Christophe Varoqui, <christophe.varoqui@free.fr> and others.