ANSIfication; bug report 4.3BSD/bin/223
[unix-history] / usr / src / sbin / mknod / mknod.8
CommitLineData
567617cb
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
465f54ce 5.\" @(#)mknod.8 6.2 (Berkeley) %G%
567617cb 6.\"
03724d54 7.TH MKNOD 8 ""
567617cb
KM
8.UC 4
9.SH NAME
10mknod \- build special file
11.SH SYNOPSIS
12.B /etc/mknod
13name
14[
15.B c
16] [
17.B b
18]
19major
20minor
21.SH DESCRIPTION
22.I Mknod
23makes a special file.
24The first argument is the
25.I name
26of the entry.
27The second is
28.B b
29if the special file is block-type (disks, tape) or
30.B c
31if it is character-type (other devices).
32The last two arguments are
33numbers specifying the
34.I major
35device type
36and the
37.I minor
38device (e.g. unit, drive, or line number).
39.PP
40The assignment of major device numbers is specific to each system.
41They have to be dug out of the
42system source file
43.I conf.c.
44.SH "SEE ALSO"
465f54ce 45mknod(2), makedev(8)