ubase/mknod.1

24 lines
544 B
Groff
Raw Normal View History

2014-04-12 12:38:43 +00:00
.TH MKNOD 1 ubase-VERSION
.SH NAME
\fBmknod\fR - Create a special device file
.SH SYNOPSIS
2014-04-12 12:38:43 +00:00
\fBmknod\fR [\fB-m \fImode\fR] \fIname type major minor
.SH DESCRIPTION
2014-04-12 12:38:43 +00: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 16:00:22 +00:00
\fBu|c\fR
2014-04-13 15:54:10 +00:00
A character device.
.TP
2014-04-12 12:38:43 +00:00
\fBb\fR
A block device.
.SH OPTIONS
.TP
2014-04-13 16:00:22 +00:00
\fB-m\fR
Set the mode of the new file based on the octal value of
2014-04-12 12:38:43 +00:00
\fImode\fR.
.SH SEE ALSO
2014-04-12 12:38:43 +00:00
mknod (2)