Annotation of src/etc/MAKEDEV.man, Revision 1.1
1.1 ! miod 1: define(COMM,`.\"')dnl
! 2: include(MAKEDEV.mansub)dnl
! 3: dnl
! 4: vers(a, {-$OpenBSD$-})dnl
! 5: dnl
! 6: define(quote,{-.Dq $1
! 7: -})dnl
! 8: include(MAKEDEV.common)dnl
! 9: dnl
! 10: __devtitle(make,{-Special device names-})dnl
! 11: __devitem({-all-},{-all-},dnl
! 12: {-Creates special files for all devices on MACHINE-})dnl
! 13: __devitem(std,{-std-},dnl
! 14: {-Creates the
! 15: .Sq standard
! 16: devices (console, drum, klog, kmem, ksyms, mem, null,
! 17: stderr, stdin, stdout, tty, zero)
! 18: which are absolutely necessary for the system to function properly-})dnl
! 19: __devitem(local,local,dnl
! 20: {-Creates configuration-specific devices, by invoking the shell file
! 21: .Pa MAKEDEV.local .-})dnl
! 22: define({-_std-},)dnl
! 23: divert(1)dnl
! 24: dnl send md shell fragments to the bit bucket...
! 25: define(__mddivert,11)dnl
! 26: include(etc.MACHINE/MAKEDEV.md)dnl
! 27: dnl
! 28: .El
! 29: divert(0)dnl
! 30: .\" ${--}OpenBSD{--}$
! 31: .\"
! 32: .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
! 33: .\" generated from:
! 34: .\"
! 35: show_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 esyscmd({-date +"%B %e, %Y"-})dnl
! 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: .Ar name
! 61: .Op Ar ...
! 62: .Sh DESCRIPTION
! 63: The shell script
! 64: .Nm ,
! 65: found in the
! 66: .Pa /dev
! 67: directory, is used to create various special files.
! 68: See
! 69: .Xr intro 4
! 70: for a more complete discussion of special files.
! 71: .Pp
! 72: .Nm
! 73: takes any number of device names as arguments, where the names are
! 74: the common abbreviation for the device or group of devices.
! 75: .Pp
! 76: Where a device name is followed by a star
! 77: .Sq * ,
! 78: the star must be replaced by a unit number.
! 79: If units are expected for a device but not provided,
! 80: .Nm
! 81: will supply the standard numbers in most cases.
! 82: .Pp
! 83: The MACHINE supports the following devices:
! 84: .Pp
! 85: divert(9)dnl
! 86: .Sh FILES
! 87: .Bl -tag -width /dev -compact
! 88: .It Pa /dev
! 89: The special file directory.
! 90: .El
! 91: .Sh SEE ALSO
! 92: .Xr intro 4 ,
! 93: .Xr config 8 ,
! 94: .Xr mknod 8