xref: /netbsd-src/usr.sbin/rpc.bootparamd/bootparams.5 (revision 4472dbe5e3bd91ef2540bada7a7ca7384627ff9b)
1.\"	$NetBSD: bootparams.5,v 1.8 1999/04/06 04:54:21 cgd Exp $
2.\"
3.\" Copyright (c) 1994 Gordon W. Ross
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
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.
14.\" 3. The name of the author may not be used to endorse or promote products
15.\"    derived from this software without specific prior written permission.
16.\"
17.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27.\"
28.Dd October 2, 1994
29.Dt BOOTPARAMS 5
30.Os
31.Sh NAME
32.Nm bootparams
33.Nd boot parameter database
34.Sh SYNOPSIS
35.Nm /etc/bootparams
36.Sh DESCRIPTION
37The
38.Nm
39file specifies the boot parameters that
40.Xr diskless
41clients may request when booting over the network.
42Each client supported by this server must have an entry in the
43.Nm
44file containing the servers and pathnames for its
45.Pa root ,
46area.  It may optionally contain
47.Pa swap
48and
49.Pa dump
50areas.
51.Pp
52Each line in the file
53(other than comment lines that begin with a #)
54specifies the client name followed by the pathnames that
55the client may request by their logical names.
56The components of the line are delimited with blank or tab,
57and may be continued onto multiple lines with a backslash.
58.Pp
59For example:
60.Bd -literal -offset indent
61dummy	root=server:/export/dummy/root \\
62	swap=server:/export/dummy/swap \\
63	dump=server:/export/dummy/swap
64.Ed
65.Pp
66When the client named "dummy" requests the pathname for
67its logical "root" it will be given server
68.Dq Pa "server"
69and pathname
70.Dq Pa "/export/dummy/root"
71as the response to its
72.Tn RPC
73request.
74.Sh NOTES
75The server does not default to the localhost, and must be filled in.
76.Sh FILES
77.Bl -tag -width /etc/bootparams -compact
78.It Pa /etc/bootparams
79default configuration file
80.El
81.Sh SEE ALSO
82.Xr diskless 8 ,
83.Xr rpc.bootparamd 8
84