Mdoc(7)ify.

This commit is contained in:
Ruslan Ermilov 2000-12-14 08:01:59 +00:00
parent 7d8e3aa013
commit 60ecaf3730
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70008
2 changed files with 45 additions and 22 deletions

View File

@ -1,6 +1,6 @@
.\" @(#)bootparamd.8 .\" @(#)bootparamd.8
.\" $FreeBSD$ .\" $FreeBSD$
.Dd November 8, 1989 .Dd December 14, 2000
.Dt BOOTPARAMD 8 .Dt BOOTPARAMD 8
.Os .Os
.Sh NAME .Sh NAME
@ -13,8 +13,9 @@
.Op Fl f Ar file .Op Fl f Ar file
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Bootparamd .Nm Bootparamd
is a server process that provides information to diskless clients is a server process that provides information to
necessary for booting. .Xr diskless 8
clients necessary for booting.
It consults the It consults the
.Pa /etc/bootparams .Pa /etc/bootparams
file. file.
@ -22,18 +23,21 @@ file.
This version will allow the use of aliases on the hostname in the This version will allow the use of aliases on the hostname in the
.Pa /etc/bootparams .Pa /etc/bootparams
file. file.
The returned hostname to the whoami request done by the booting client The returned hostname to the
.Em whoami
request done by the booting client
will be the name that appears in will be the name that appears in
.Pa /etc/bootparams .Pa /etc/bootparams
and not the canonical name. and not the canonical name.
In this way you can keep the answer short enough In this way you can keep the answer short enough
so that machines that can not handle long hostnames won't fail during boot. so that machines that can not handle long hostnames will not fail during boot.
.Sh OPTIONS .Sh OPTIONS
.Bl -tag -width Fl .Bl -tag -width Fl
.It Fl d .It Fl d
Display the debugging information. Display the debugging information.
.It Fl s .It Fl s
Log the debugging information with syslog. Log the debugging information with
.Xr syslog 3 .
.It Fl r Ar router .It Fl r Ar router
The default router (a machine or an IP-address). The default router (a machine or an IP-address).
This defaults to the machine running the server. This defaults to the machine running the server.
@ -44,17 +48,28 @@ The file to use as boot parameter file instead of
.Sh FILES .Sh FILES
.Bl -tag -width /etc/bootparams -compact .Bl -tag -width /etc/bootparams -compact
.It /etc/bootparams .It /etc/bootparams
default boot parameter file
.El .El
.Sh EXAMPLES .Sh EXAMPLES
When netbooting diskless SunOS/Xkernel SPARCstations the booted SunOS kernel When netbooting diskless SunOS/Xkernel SPARCstations the booted SunOS kernel
also broadcasts to the all-0 address. The SunOS kernel hangs until it also broadcasts to the all-0 address.
receives a reply. To accomodate this behaviour add an alias address The SunOS kernel hangs until it receives a reply.
that responds to an all-0 broadcast. So, add something like 'ifconfig xl0 To accommodate this behaviour add an alias address
192.168.200.254 netmask 255.255.255.255 broadcast 192.168.200.0 alias' that responds to an all-0 broadcast.
on the relevant network interface on your bootparamd server. The alias So, add something like
address must of course be free for use. .Ql "ifconfig xl0 192.168.200.254 netmask 255.255.255.255 broadcast 192.168.200.0 alias
on the relevant network interface on your
.Nm
server.
The alias address must of course be free for use.
.Sh SEE ALSO
.Xr syslog 3 ,
.Xr bootparams 5 ,
.Xr diskless 8
.Sh BUGS .Sh BUGS
You may find the syslog loggings to be verbose. You may find the
.Xr syslog 3
loggings to be verbose.
.Sh AUTHORS .Sh AUTHORS
Written by Written by
.An Klas Heggemann Aq klas@nada.kth.se .An Klas Heggemann Aq klas@nada.kth.se .

View File

@ -1,3 +1,4 @@
.hlm 0
.\" .\"
.\" Copyright (c) 1994 Gordon W. Ross .\" Copyright (c) 1994 Gordon W. Ross
.\" All rights reserved. .\" All rights reserved.
@ -39,18 +40,19 @@
The The
.Nm .Nm
file specifies the boot parameters that file specifies the boot parameters that
diskless .Xr diskless 8
clients may request when booting over the network. clients may request when booting over the network.
Each client supported by this server must have an entry in the Each client supported by this server must have an entry in the
.Nm .Nm
file containing the pathnames for its file containing the pathnames for its
.Nm root .Dq root
and (optionally) and (optionally)
.Nm swap .Dq swap
areas. areas.
.Pp .Pp
Each line in the file Each line in the file
(other than comment lines that begin with a #) (other than comment lines that begin with a
.Ql # )
specifies the client name followed by the pathnames that specifies the client name followed by the pathnames that
the client may request by their logical names. the client may request by their logical names.
The components of the line are delimited with blank or tab, The components of the line are delimited with blank or tab,
@ -63,12 +65,18 @@ dummy root=host:/export/dummy/root \\
dump=host:/export/dummy/swap dump=host:/export/dummy/swap
.Ed .Ed
.Pp .Pp
When the client named "dummy" requests the pathname for When the client named
its logical "root" it will be given the pathname .Dq dummy
.Dq Pa "host:/export/dummy/root" requests the pathname for its logical
.Dq root
it will be given the pathname
.Dq Pa host:/export/dummy/root
as the response to its as the response to its
.Tn RPC .Tn RPC
request. The "host:" component must be supplied. request.
The
.Dq host:
component must be supplied.
.Sh FILES .Sh FILES
.Bl -tag -width /etc/bootparams -compact .Bl -tag -width /etc/bootparams -compact
.It Pa /etc/bootparams .It Pa /etc/bootparams