mknod.1 - ubase - suckless linux base utils
 (HTM) git clone git://git.suckless.org/ubase
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       mknod.1 (590B)
       ---
            1 .Dd February 2, 2015
            2 .Dt MKNOD 1
            3 .Os ubase
            4 .Sh NAME
            5 .Nm mknod
            6 .Nd create a special device file
            7 .Sh SYNOPSIS
            8 .Nm
            9 .Op Fl m Ar mode
           10 .Ar name
           11 .Ar type
           12 .Ar major
           13 .Ar minor
           14 .Sh DESCRIPTION
           15 .Nm
           16 creates a special device file named
           17 .Ar name
           18 with major number
           19 .Ar major ,
           20 and minor number
           21 .Ar minor .
           22 .Ar type
           23 specifies what kind of special file will be created and must be one of:
           24 .Bl -tag -width Ds
           25 .It Ar u | c
           26 A character device.
           27 .It Ar b
           28 A block device.
           29 .El
           30 .Sh OPTIONS
           31 .Bl -tag -width Ds
           32 .It Fl m
           33 Set the mode of the new file based on the octal value of
           34 .Ar mode .
           35 .El
           36 .Sh SEE ALSO
           37 .Xr mknod 2