dec21140A ethernet driver for virtualpc, contributed by nicolas tittley.
[minix.git] / man / man1 / dev2name.1
blob3121af96ec8ac3a30367f4047dfa824a00e63692
1 .TH DEV2NAME 1
2 .SH NAME
3 dev2name \- obtain device name given its number
4 .SH SYNOPSIS
5 \fBdev2name\fR \fIdeviceno\fR
6 .br
7 \fBdev2name\fR \fImajor\fR \fIminor\fR
8 .br
9 .de FL
10 .TP
11 \\fB\\$1\\fR
12 \\$2
14 .SH OPTIONS
15 .FL "\fImajor\fR" "Major device number for which to obtain device name"
16 .FL "\fIminor\fR" "Minor device number for which to obtain device name"
17 .FL "\fIdeviceno\fR" "Full device number for which to obtain device name (specifies the minor device number in the low-order byte and the major device number in the remainder)"
18 .SH DESCRIPTION
19 .PP
20 This utility locates a file in \fB/dev\fR that represents the device with the specified major/minor device number and prints its name to the standard output. The exit code is zero if such a device is found and non-zero if no such device was found.
21 .SH "SEE ALSO"
22 .BR mknod (1),
23 .BR DESCRIBE (1),
24 .BR MAKEDEV (1).