BSD 4_2 development
[unix-history] / usr / man / man8 / mknod.8
CommitLineData
bea22c67
C
1.TH MKNOD 8 "4 February 1983"
2.UC 4
3.SH NAME
4mknod \- build special file
5.SH SYNOPSIS
6.B /etc/mknod
7name
8[
9.B c
10] [
11.B b
12]
13major
14minor
15.SH DESCRIPTION
16.I Mknod
17makes a special file.
18The first argument is the
19.I name
20of the entry.
21The second is
22.B b
23if the special file is block-type (disks, tape) or
24.B c
25if it is character-type (other devices).
26The last two arguments are
27numbers specifying the
28.I major
29device type
30and the
31.I minor
32device (e.g. unit, drive, or line number).
33.PP
34The assignment of major device numbers is specific to each system.
35They have to be dug out of the
36system source file
37.I conf.c.
38.SH "SEE ALSO"
39mknod(2)