ubase/mknod.1

23 lines
564 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-12 12:55:31 +00:00
\fBu\fR or \fBc\fR A character device.
.TP
2014-04-12 12:38:43 +00:00
\fBb\fR
A block device.
.SH OPTIONS
.TP
2014-04-12 12:38:43 +00:00
\fB-m\fR \fImode\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)