Add a man page for MAKEDEV.local(8), and a link for makedev.local(8).

This commit is contained in:
apb 2007-02-26 22:35:04 +00:00
parent 803c0cb0e3
commit 234c7e3957
3 changed files with 123 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.976 2007/02/20 20:49:32 briggs Exp $
# $NetBSD: mi,v 1.977 2007/02/26 22:35:04 apb Exp $
./etc/mtree/set.man man-sys-root
./usr/share/info/am-utils.info man-amd-info info
./usr/share/info/as.info man-computil-info bfd,info
@ -1724,6 +1724,7 @@
./usr/share/man/cat7/symlink.0 man-reference-catman .cat
./usr/share/man/cat7/sysctl.0 man-reference-catman .cat
./usr/share/man/cat8/MAKEDEV.0 man-sysutil-catman .cat
./usr/share/man/cat8/MAKEDEV.local.0 man-sysutil-catman .cat
./usr/share/man/cat8/ac.0 man-sysutil-catman .cat
./usr/share/man/cat8/accton.0 man-sysutil-catman .cat
./usr/share/man/cat8/acorn26/MAKEDEV.0 man-obsolete obsolete
@ -2029,6 +2030,7 @@
./usr/share/man/cat8/mailwrapper.0 man-mailwrapper-catman .cat
./usr/share/man/cat8/makedbm.0 man-nis-catman yp,.cat
./usr/share/man/cat8/makedev.0 man-sysutil-catman .cat
./usr/share/man/cat8/makedev.local.0 man-sysutil-catman .cat
./usr/share/man/cat8/makefs.0 man-sysutil-catman .cat
./usr/share/man/cat8/makekey.0 man-crypto-catman .cat
./usr/share/man/cat8/makemap.0 man-obsolete obsolete
@ -4139,6 +4141,7 @@
./usr/share/man/man7/symlink.7 man-reference-man .man
./usr/share/man/man7/sysctl.7 man-reference-man .man
./usr/share/man/man8/MAKEDEV.8 man-sysutil-man .man
./usr/share/man/man8/MAKEDEV.local.8 man-sysutil-man .man
./usr/share/man/man8/ac.8 man-sysutil-man .man
./usr/share/man/man8/accton.8 man-sysutil-man .man
./usr/share/man/man8/acorn26/MAKEDEV.8 man-obsolete obsolete
@ -4445,6 +4448,7 @@
./usr/share/man/man8/mailwrapper.8 man-mailwrapper-man .man
./usr/share/man/man8/makedbm.8 man-nis-man yp,.man
./usr/share/man/man8/makedev.8 man-sysutil-man .man
./usr/share/man/man8/makedev.local.8 man-sysutil-man .man
./usr/share/man/man8/makefs.8 man-sysutil-man .man
./usr/share/man/man8/makekey.8 man-crypto-man .man
./usr/share/man/man8/makemap.8 man-obsolete obsolete

View File

@ -0,0 +1,115 @@
.\" $NetBSD: MAKEDEV.local.8,v 1.1 2007/02/26 22:35:04 apb Exp $
.\"
.\" Copyright (c) 2007 The NetBSD Foundation, Inc.
.\" All rights reserved.
.\"
.\" 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 NetBSD
.\" Foundation, Inc. and its contributors.
.\" 4. Neither the name of The NetBSD Foundation 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 NETBSD FOUNDATION, INC. 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 FOUNDATION 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.
.\"
.Dd February 26, 2007
.Dt MAKEDEV.local 8
.Os
.Sh NAME
.Nm MAKEDEV.local
.Nd create site-specific device special files
.Sh SYNOPSIS
.Nm
.Op Fl fs
.Op Fl m Ar mknod
.Bro Pa all | site-specific-argument Brc Op Ar ...
.Sh DESCRIPTION
.Nm
is used to create site-specific device special files.
Each argument may be the word
.Pa all
or a site-specific argument.
By default, there are no valid site-specific arguments,
and the
.Pa all
argument has no effect;
This may be changed by editing the script.
.Pp
The script is in
.Pa /dev/MAKEDEV.local
and must be called from the
.Pa /dev
directory.
.Pp
If
.Xr MAKEDEV 8
is invoked with the
.Pa all
or
.Pa local
argument, then it will invoke
.Nm
with the
.Pa all
argument.
.Pp
Supported options for
.Nm
are the same as for
.Xr MAKEDEV 8 ,
as follows:
.Bl -tag -width XmXmknodXX
.It Fl f
Force permissions to be updated on existing devices.
.It Fl m Ar mknod
Name of
.Xr mknod 8
program.
[Usually, $TOOL_MKNOD or mknod.]
.It Fl s
Generate
.Xr mtree 8
specfile instead of creating devices.
.El
.Pp
.Sh FILES
.Bl -tag -width "/dev/MAKEDEV.local" -compact
.It Pa /dev
special device files directory
.It Pa /dev/MAKEDEV
script that invokes
.Nm
with the
.Pa all
argument.
.It Pa /dev/MAKEDEV.local
script described in this man page
.El
.Sh SEE ALSO
.Xr config 1 ,
.Xr intro 4 ,
.Xr MAKEDEV 8 ,
.Xr mknod 8
.Sh HISTORY
The
.Nm
command appeared in

View File

@ -1,12 +1,13 @@
# $NetBSD: Makefile,v 1.87 2006/12/30 19:29:20 rumble Exp $
# $NetBSD: Makefile,v 1.88 2007/02/26 22:35:04 apb Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
MAN= MAKEDEV.8 afterboot.8 boot.8 compat_30.8 \
MAN= MAKEDEV.8 MAKEDEV.local.8 afterboot.8 boot.8 compat_30.8 \
compat_freebsd.8 compat_hpux.8 compat_ibcs2.8 compat_linux.8 \
compat_netbsd32.8 compat_osf1.8 compat_pecoff.8 compat_sunos.8 \
compat_svr4.8 compat_ultrix.8 diskless.8 hpcboot.8 \
intro.8 nis.8 pam.8 rc.8 rc.subr.8 security.8 wizd.8
MLINKS+=MAKEDEV.8 makedev.8
MLINKS+=MAKEDEV.local.8 makedev.local.8
MLINKS+=compat_svr4.8 compat_sco.8
MLINKS+=compat_svr4.8 compat_solaris.8
MLINKS+=compat_svr4.8 compat_svr4_32.8