Initial import from FreeBSD RELENG_4:
[dragonfly.git] / share / man / man8 / man8.alpha / MAKEDEV.8
1 .\" Copyright (c) 1991, 1993
2 .\"     The Regents of the University of California.  All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\"    must display the following acknowledgement:
14 .\"     This product includes software developed by the University of
15 .\"     California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\"    may be used to endorse or promote products derived from this software
18 .\"    without specific prior written permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" SUCH DAMAGE.
31 .\"
32 .\"     @(#)MAKEDEV.8   8.1 (Berkeley) 6/5/93
33 .\" $FreeBSD: src/share/man/man8/man8.alpha/MAKEDEV.8,v 1.15.2.4 2002/01/10 08:15:58 ru Exp $
34 .\"
35 .Dd June 5, 1993
36 .Dt MAKEDEV 8 Alpha
37 .Os
38 .Sh NAME
39 .Nm MAKEDEV
40 .Nd create system and device special files
41 .Sh SYNOPSIS
42 .Nm
43 name ...
44 .Sh DESCRIPTION
45 The shell script
46 .Nm
47 found in the
48 .Dq Pa /dev
49 directory, is used to create the common special
50 files.
51 See
52 .Xr intro 4
53 for a more complete discussion of special files.
54 .Pp
55 .Nm
56 takes any number of device names as arguments, where the names are
57 the common abbreviation for the device.
58 There are two special devices,
59 .Dq std
60 and
61 .Dq local .
62 The former creates the standard devices for the architecture.
63 The latter is for devices specific to the local site, and
64 executes the shell file
65 .Dq Pa MAKEDEV.local .
66 .Pp
67 The Alpha supports the following devices.
68 Where a device name is followed by a hash sign
69 .Pq Dq # ,
70 the hash sign
71 must be replaced by a unit number.
72 .Bl -tag -width indent
73 .It std
74 the standard devices (console, fd/*, klog, kmem, mem, null,
75 stderr, stdin, stdout, tty)
76 .It local
77 configuration specific devices
78 .It tty#
79 standard PC COM ports
80 .It fd#
81 .Dq floppy
82 disk drives (3 1/2, 5 1/4)
83 .It pty#
84 set of 32 master and slave pseudo terminals
85 .It da#
86 SCSI disk drives
87 .It sa#
88 SCSI tape drives
89 .It ch#
90 SCSI changer devices
91 .It ses#
92 SCSI SES/SAF-TE environmental devices
93 .It vty#
94 set of 12 virtual console devices for syscons/pcvt/codrv
95 .It ad#
96 .Dq ATAPI
97 disk drives (IDE).
98 .It ast#
99 .Dq ATAPI
100 tape drives.
101 .It acd#
102 .Dq ATAPI
103 CDROM drives.
104 .El
105 .Sh FILES
106 .Bl -tag -width /dev/xxxx -compact
107 .It Pa /dev
108 The special file directory.
109 .El
110 .Sh SEE ALSO
111 .Xr ata 4 ,
112 .Xr intro 4 ,
113 .Xr config 8 ,
114 .Xr mknod 8