Copyright (c) 1980 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.
@(#)mknod.8 6.3 (Berkeley) 06/24/90
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.
@(#)mknod.8 6.3 (Berkeley) 06/24/90
MKNOD 8 ""
C 4 NAME
mknod - build special file
SYNOPSIS
mknod name
[
c ] [
b ]
major
minor
DESCRIPTION
Mknod makes a special file.
The first argument is the
name 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
major device type
and the
minor 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 conf.c.
"SEE ALSO"
mknod(2), makedev(8)