1define(COMM,`.\"')dnl
2include(MAKEDEV.mansub)dnl
3dnl
4vers(a, {-$OpenBSD: MAKEDEV.man,v 1.9 2017/06/06 08:11:23 tb Exp $-})dnl
5dnl
6define(quote,{-.Dq $1
7-})dnl
8include(MAKEDEV.common)dnl
9dnl
10__devtitle(make,{-Special device names-})dnl
11__devitem({-all-},{-all-},dnl
12{-Creates special files for all devices on MACHINE-},nothing)dnl
13__devitem(std,{-std-},dnl
14{-Creates the
15.Sq standard
16devices (console, klog, kmem, ksyms, mem, null,
17stderr, stdin, stdout, tty, zero)
18which are absolutely necessary for the system to function properly-},nothing)dnl
19__devitem(local,local,dnl
20{-Creates configuration-specific devices{-,-} by invoking the shell file
21.Pa MAKEDEV.local -},nothing)dnl
22define({-_std-},)dnl
23divert(1)dnl
24dnl send md shell fragments to the bit bucket...
25define(__mddivert,11)dnl
26include(MAKEDEV.md)dnl
27dnl
28.El
29divert(0)dnl
30.\" ${--}OpenBSD{--}$
31.\"
32.\" THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
33.\" generated from:
34.\"
35show_vers()dnl <-- now that all files are included, show versions
36.\"
37.\" Copyright (c) 2004, Miodrag Vallat
38.\" Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
39.\"
40.\" Permission to use, copy, modify, and distribute this software for any
41.\" purpose with or without fee is hereby granted, provided that the above
42.\" copyright notice and this permission notice appear in all copies.
43.\"
44.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
45.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
46.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
47.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
48.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
49.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
50.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
51.\"
52.Dd $Mdocdate: March 12 2016 $
53.Dt MAKEDEV 8 MACHINE
54.Os
55.Sh NAME
56.Nm MAKEDEV
57.Nd create system and device special files
58.Sh SYNOPSIS
59.Nm MAKEDEV
60.Op Ar name ...
61.Sh DESCRIPTION
62The shell script
63.Nm ,
64found in the
65.Pa /dev
66directory, is used to create various special files.
67See
68.Xr intro 4
69for a more complete discussion of special files.
70.Pp
71.Nm
72takes any number of device names as arguments, where the names are
73the common abbreviation for the device or group of devices.
74Files are created in the current working directory.
75.Pp
76Where a device name is followed by a star
77.Sq * ,
78the star must be replaced by a unit number.
79If units are expected for a device but not provided,
80.Nm
81will supply the standard numbers in most cases.
82.Pp
83The MACHINE supports the following devices:
84divert(9)dnl
85.El
86.Sh FILES
87.Bl -tag -width /dev -compact
88.It Pa /dev
89The special file directory.
90.El
91.Sh SEE ALSO
92.Xr intro 4 ,
93.Xr config 8 ,
94.Xr mknod 8
95