ubase/mknod.1

24 lines
544 B
Groff
Raw Normal View History

2014-04-12 08:38:43 -04:00
.TH MKNOD 1 ubase-VERSION
.SH NAME
\fBmknod\fR - Create a special device file
.SH SYNOPSIS
2014-04-12 08:38:43 -04:00
\fBmknod\fR [\fB-m \fImode\fR] \fIname type major minor
.SH DESCRIPTION
2014-04-12 08:38:43 -04:00
\fBmknod\fR reates a special device file named \fIname\fR
with major number \fImajor\fR, and minor number \fIminor\fR.
\fItype\fR specifies what kind of special file will be created
and must be one of:
.TP
2014-04-13 12:00:22 -04:00
\fBu|c\fR
2014-04-13 11:54:10 -04:00
A character device.
.TP
2014-04-12 08:38:43 -04:00
\fBb\fR
A block device.
.SH OPTIONS
.TP
2014-04-13 12:00:22 -04:00
\fB-m\fR
Set the mode of the new file based on the octal value of
2014-04-12 08:38:43 -04:00
\fImode\fR.
.SH SEE ALSO
2014-04-12 08:38:43 -04:00
mknod (2)