1.\" $NetBSD: bootparams.5,v 1.10 2001/04/03 11:28:44 wiz 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 8 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 , 48.Pa dump , 49and other entry types. 50.Pp 51Each line in the file 52(other than comment lines that begin with a #) 53specifies the client name followed by the pathnames that 54the client may request by their logical names. Names 55are matched in a case-insensitive fashion, and may also 56be wildcarded using shell-style globbing characters. 57.Pp 58The components of the line are delimited with blank or tab, 59and may be continued onto multiple lines with a backslash. 60.Pp 61For example: 62.Bd -literal -offset indent 63dummy root=server:/export/dummy/root \\ 64 swap=server:/export/dummy/swap \\ 65 dump=server:/export/dummy/swap 66.Ed 67.Pp 68When the client named "dummy" requests the pathname for 69its logical "root" it will be given server 70.Dq Pa "server" 71and pathname 72.Dq Pa "/export/dummy/root" 73as the response to its 74.Tn RPC 75request. 76.Pp 77.Bd -literal -offset indent 78netra[1-5]www* root=server:/export/jumpstart/netra_www 79.Ed 80.Pp 81When any client with a name matching the pattern "netra[1-5]www*" 82requests the pathname for its logical "root" it will be given server 83.Dq Pa "server" 84and pathname 85.Dq Pa "/export/jumpstart/netra_www" 86as the response to its 87.Tn RPC 88request. As this example implies, this is useful for setting up 89Jumpstart servers for Sun clients. 90.Sh NOTES 91The server does not default to the localhost, and must be filled in. 92.Sh FILES 93.Bl -tag -width /etc/bootparams -compact 94.It Pa /etc/bootparams 95default configuration file 96.El 97.Sh SEE ALSO 98.Xr diskless 8 , 99.Xr rpc.bootparamd 8 100