diff options
Diffstat (limited to 'util/sbase/mknod.1')
-rw-r--r-- | util/sbase/mknod.1 | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/util/sbase/mknod.1 b/util/sbase/mknod.1 new file mode 100644 index 00000000..1206549c --- /dev/null +++ b/util/sbase/mknod.1 @@ -0,0 +1,44 @@ +.Dd February 2, 2015 +.Dt MKNOD 1 +.Os sbase +.Sh NAME +.Nm mknod +.Nd create a special device file +.Sh SYNOPSIS +.Nm +.Op Fl m Ar mode +.Ar name +.Cm b Ns | Ns Cm c Ns | Ns Cm u +.Ar major +.Ar minor +.Nm +.Op Fl m Ar mode +.Ar name +.Cm p +.Sh DESCRIPTION +.Nm +creates a special file named +.Ar name . +.Pp +The following special file types are supported: +.Bl -tag -width Ds +.It Cm b +A block device. +.It Cm c | u +A character device. +.It Cm p +A named pipe. +.El +.Pp +Block and character devices are created with major number +.Ar major , +and minor number +.Ar minor . +.Sh OPTIONS +.Bl -tag -width Ds +.It Fl m +Set the mode of the new file based on the octal value of +.Ar mode . +.El +.Sh SEE ALSO +.Xr mknod 2 |