1 .\" $NetBSD: MAKEDEV.local.8,v 1.6 2008/04/09 20:23:20 apb Exp $
3 .\" Copyright (c) 2007 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
16 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
19 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25 .\" POSSIBILITY OF SUCH DAMAGE.
32 .Nd create site-specific device special files
39 .Bro Pa all | site-specific-argument Brc Op Ar ...
42 is used to create site-specific device special files.
43 Each argument may be the word
45 or a site-specific argument.
46 By default, there are no valid site-specific arguments,
49 argument has no effect;
50 This may be changed by editing the script.
53 .Pa /dev/MAKEDEV.local .
54 Devices are created in the current working directory;
57 should be invoked with
59 as the current working directory.
66 .Bl -tag -width "/dev/MAKEDEV.local" -compact
68 special device files directory
75 .It Pa /dev/MAKEDEV.local
76 script described in this man page
88 Handling of the same command line options as
92 as a function library, was added in
95 The relationship between
108 argument, then it will invoke
110 as a child process, with options similar to
111 those that were originally passed to
118 uses shell functions defined in
120 This is done by loading
125 .Ev MAKEDEV_AS_LIBRARY
126 variable set (to inform
128 that it should behave as a function library,
129 not as an independent program).