32v 1m mknod

From Computer History Wiki
Jump to: navigation, search

MKNOD(1M) UNIX Programmer's Manual MKNOD(1M)


NAME

    mknod - build special file

SYNOPSIS

    /etc/mknod name [ c ] [ b ] major minor

DESCRIPTION

    _M_k_n_o_d makes a special file.  The first argument is the _n_a_m_e
    of the entry.  The second is b if the special file is
    block-type (disks, tape) or c if it is character-type (other
    devices).  The last two arguments are numbers specifying the
    _m_a_j_o_r device type and the _m_i_n_o_r device (e.g. unit, drive, or
    line number).
    The assignment of major device numbers is specific to each
    system.  They have to be dug out of the system source file
    _c_o_n_f._c.

SEE ALSO

    mknod(2)