1997-11-12 03:47:32 +03:00
|
|
|
.\" $NetBSD: MAKEDEV.8,v 1.5 1997/11/12 00:50:10 mrg Exp $
|
1997-10-19 17:02:43 +04:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1991, 1992, 1993
|
|
|
|
.\" The Regents of the University of California. All rights reserved.
|
1993-03-21 12:45:37 +03:00
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by the University of
|
|
|
|
.\" California, Berkeley and its contributors.
|
|
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
1997-10-19 17:02:43 +04:00
|
|
|
.\" from: @(#)MAKEDEV.8 8.2 (Berkeley) 1/12/94
|
1993-03-21 12:45:37 +03:00
|
|
|
.\"
|
1997-10-19 17:02:43 +04:00
|
|
|
.Dd October 19, 1997
|
|
|
|
.Dt MAKEDEV 8 hp300
|
|
|
|
.Os 4.3
|
|
|
|
.Sh NAME
|
1997-11-12 03:47:32 +03:00
|
|
|
.Nm MAKEDEV ,
|
|
|
|
.Nm makedev
|
1997-10-19 17:02:43 +04:00
|
|
|
.Nd create system and device special files
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm MAKEDEV
|
|
|
|
.Ar device_name Ar ...
|
|
|
|
.Sh DESCRIPTION
|
1993-03-21 12:45:37 +03:00
|
|
|
The shell script
|
1997-10-19 17:02:43 +04:00
|
|
|
.Nm MAKEDEV ,
|
|
|
|
found in the
|
|
|
|
.Pa /dev
|
|
|
|
directory, is used to create the common special
|
1993-03-21 12:45:37 +03:00
|
|
|
files.
|
1997-07-16 09:26:17 +04:00
|
|
|
.\" See
|
|
|
|
.\" .IR special (8)
|
|
|
|
.\" for a more complete discussion of special files.
|
1997-10-19 17:02:43 +04:00
|
|
|
.Pp
|
|
|
|
.Nm
|
1993-03-21 12:45:37 +03:00
|
|
|
takes any number of device names as arguments, where the names are
|
|
|
|
the common abbreviation for the device.
|
1997-10-19 17:02:43 +04:00
|
|
|
There are two special devices,
|
|
|
|
.Ar std
|
|
|
|
and
|
|
|
|
.Ar local .
|
1993-03-21 12:45:37 +03:00
|
|
|
The former creates the standard devices for the architecture.
|
|
|
|
The latter is for devices specific to the local site, and
|
1997-10-19 17:02:43 +04:00
|
|
|
executes the shell file
|
|
|
|
.Pa MAKEDEV.local .
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Tn HP300
|
|
|
|
supports the following devices.
|
|
|
|
Where a device name is followed by a hash sign
|
|
|
|
.Ql \&# ,
|
|
|
|
the hash sign
|
1993-03-21 12:45:37 +03:00
|
|
|
must be replaced by a unit number.
|
1997-10-19 17:02:43 +04:00
|
|
|
.Bl -tag -width indent -compact
|
|
|
|
.It Ar std
|
|
|
|
the standard devices
|
|
|
|
.Pf ( Ar console ,
|
|
|
|
.Ar drum ,
|
|
|
|
.Ar fd/* ,
|
|
|
|
.Ar klog ,
|
|
|
|
.Ar kmem ,
|
|
|
|
.Ar mem ,
|
|
|
|
.Ar null ,
|
|
|
|
.Ar stderr ,
|
|
|
|
.Ar stdin ,
|
|
|
|
.Ar stdout ,
|
|
|
|
.Ar tty ) .
|
|
|
|
.It Ar local
|
|
|
|
configuration specific devices.
|
|
|
|
.It Ar ct#
|
|
|
|
HP300 HP-IB cartridge tape.
|
|
|
|
.It Ar ccd#
|
|
|
|
``concatenated'' pseudo-disks.
|
|
|
|
.It Ar rd#
|
|
|
|
.Tn HP300
|
|
|
|
.Tn HP-IB
|
|
|
|
disks
|
|
|
|
.It Ar sd#
|
|
|
|
HP300 SCSI disks.
|
|
|
|
.It Ar vnd#
|
|
|
|
``file'' pseudo-disks.
|
|
|
|
.It Ar dca#
|
|
|
|
.Tn HP200/300
|
|
|
|
single port serial interface.
|
|
|
|
.It Ar dcm#
|
|
|
|
.Tn HP200/300
|
|
|
|
4 port serial mux interface.
|
|
|
|
.It Ar pty#
|
|
|
|
set of 16 master and slave pseudo terminals.
|
|
|
|
.It Ar flog#
|
|
|
|
kernel logging device.
|
|
|
|
.It Ar grf#
|
|
|
|
raw interface to
|
|
|
|
.Tn HP300
|
|
|
|
graphics devices.
|
|
|
|
.It Ar ite#
|
|
|
|
terminal emulator interface to
|
|
|
|
.Tn HP300
|
|
|
|
graphics devices.
|
|
|
|
.It Ar hil
|
|
|
|
.Tn HP300
|
|
|
|
.Tn HIL
|
|
|
|
input devices.
|
|
|
|
.El
|
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width xxxx -compact
|
|
|
|
.It Pa /dev
|
|
|
|
The special file directory.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr mknod 1 ,
|
|
|
|
.Xr intro 4 ,
|
|
|
|
.Xr config 8 .
|