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