'\"macro stdmacro
.if n .pH g1a.mknod @(#)mknod	40.6 of 10/10/89
.\" Copyright 1989 AT&T
.nr X
.if \nX=0 .ds x} mknod 1M "Essential Utilities" "\&"
.if \nX=1 .ds x} mknod 1M "Essential Utilities"
.if \nX=2 .ds x} mknod 1M "" "\&"
.if \nX=3 .ds x} mknod "" "" "\&"
.TH \*(x}
.SH NAME
\f4mknod\f1 \- make a special file
.SH SYNOPSIS
\f4/sbin/mknod\f1
\f2name\fP
\f4b\f1 \(bv \f4c\f1
\f2major\fP
\f2minor\fP
.br
\f4/sbin/mknod\f1
\f2name\fP
\f4p\f1
.SH DESCRIPTION
\f4mknod\fP
makes a directory entry for a special file.
.PP
In the first case, \f2name\fP is the special file to be created. The 
second argument is \f4b\fP to indicate a block-type special file or 
\f4c\fP to indicate a character-type.
The last two arguments are
numbers specifying the
.I major\^
and 
.I minor\^
device numbers;
these may be either decimal or octal.
The assignment of major device numbers is specific to each system.
You must be the super-user to use this form of the command.
.PP
The second case is used to create a FIFO (named pipe).
.SH "NOTES"
If \f4mknod\f1 is used to create a device in a remote directory
(Remote File Sharing), the major and minor device numbers
are interpreted by the server.
.SH "SEE ALSO"
\f4mknod\fP(2) in the
\f2Programmer's Reference Manual\f1.
.\"	@(#)mknod.1m	6.2 of 9/2/83
.Ee

