man(7) -> mdoc(7).

This commit is contained in:
Ruslan Ermilov 2001-01-16 13:12:21 +00:00
parent b96f01353d
commit bd26f2dafc
2 changed files with 106 additions and 97 deletions

View File

@ -1,54 +1,63 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.\" bootpef.8 .\" bootpef.8
.TH BOOTPEF 8 "4 Dec 1993" "MAINTENANCE COMMANDS" .Dd December 4, 1993
.SH NAME .Dt BOOTPEF 8
bootpef \- BOOTP Extension File compiler .Os
.SH SYNOPSIS .Sh NAME
.LP .Nm bootpef
.B bootpef .Nd "BOOTP Extension File compiler"
.RI [ "-c chdir" ] .Sh SYNOPSIS
.RI [ "-d debug-level" ] .Bk -words
.RI [ "-f config-file" ] .Nm
.RI [ client-name " [...]]" .Op Fl c Ar chdir\-path
.SH DESCRIPTION .Op Fl d Ar debug\-level
.B bootpef .Op Fl f Ar config\-file
.Op Ar client\-name ...
.Ek
.Sh DESCRIPTION
.Nm
builds the builds the
.I Extension Path .Em "Extension Path"
files described by RFC 1497 (tag 18). files described by
.%T "RFC 1497"
(tag 18).
If any If any
.I client-name .Ar client\-name
arguments are specified, then arguments are specified, then
.I bootpef .Nm
compiles the extension files for only those clients. compiles the extension files for only those clients.
.SH OPTIONS .Sh OPTIONS
.TP .Bl -tag -width indent
.BI \-c \ chdir\-path .It Fl c Ar chdir\-path
Sets the current directory used by Sets the current directory used by
.I bootpef .Nm
while creating extension files. This is useful when the while creating extension files.
This is useful when the
extension file names are specified as relative pathnames, and extension file names are specified as relative pathnames, and
.I bootpef .Nm
needs to use the same current directory as the TFTP server needs to use the same current directory as the TFTP server
(typically /tftpboot). (typically
.TP .Pa /tftpboot ) .
.BI \-d \ debug\-level .It Fl d Ar debug\-level
Sets the Sets the
.I debug\-level .Ar debug\-level
variable that controls the amount of debugging messages generated. variable that controls the amount of debugging messages generated.
For example, -d4 or -d 4 will set the debugging level to 4. For example,
.TP .Fl d Ar 4
.BI \-f \ config\-file will set the debugging level to 4.
.It Fl f Ar config\-file
Set the name of the config file that specifies the option Set the name of the config file that specifies the option
data to be sent to each client. data to be sent to each client.
.SH "SEE ALSO" .El
bootpd(8), tftpd(8) .Sh SEE ALSO
.SH REFERENCES .Xr bootpd 8 ,
.TP .Xr tftpd 8
RFC951 .Rs
BOOTSTRAP PROTOCOL (BOOTP) .%O RFC951
.TP .%T "BOOTSTRAP PROTOCOL (BOOTP)"
RFC1497 .Re
BOOTP Vendor Information Extensions .Rs
.%O RFC1497
.%T "BOOTP Vendor Information Extensions"
.Re

View File

@ -1,76 +1,76 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.\" bootptest.8 .\" bootptest.8
.TH BOOTPTEST 8 "10 June 1993" "MAINTENANCE COMMANDS" .Dd June 10, 1993
.SH NAME .Dt BOOTPTEST 8
bootptest \- send BOOTP queries and print responses .Os
.SH SYNOPSIS .Sh NAME
.LP .Nm bootptest
.B bootptest .Nd "send BOOTP queries and print responses"
[ .Sh SYNOPSIS
.B \-f .Nm
.I bootfile .Op Fl f Ar bootfile
] .Op Fl h
[ .Op Fl m Ar magic_number
.B \-h .Ar server\-name
] .Op Ar template\-file
[ .Sh DESCRIPTION
.B \-m .Nm
.I magic_number
]
.I server\-name
.RI [ template-file ]
.SH DESCRIPTION
.B bootptest
sends BOOTP requests to the host specified as sends BOOTP requests to the host specified as
.I server\-name .Ar server\-name
at one\-second intervals until either a response is received, at one\-second intervals until either a response is received,
or until ten requests have gone unanswered. or until ten requests have gone unanswered.
After a response is received, After a response is received,
.B bootptest .Nm
will wait one more second listening for additional responses. will wait one more second listening for additional responses.
.SH OPTIONS .Sh OPTIONS
.TP .Bl -tag -width indent
.B \-f .It Fl f Ar bootfile
.I bootfile
Fill in the boot file field of the request with Fill in the boot file field of the request with
.IR bootfile . .Ar bootfile .
.TP .It Fl h
.B \-h
Use the hardware (Ethernet) address to identify the client. Use the hardware (Ethernet) address to identify the client.
By default, the IP address is copied into the request By default, the IP address is copied into the request
indicating that this client already knows its IP address. indicating that this client already knows its IP address.
.TP .It Fl m Ar magic_number
.B \-m
.I magic_number
Initialize the first word of the vendor options field with Initialize the first word of the vendor options field with
.IR magic_number . .Ar magic_number .
.LP .El
.Pp
A A
.I template-file .Ar template\-file
may be specified, in which case may be specified, in which case
.B bootptest .Nm
uses the (binary) contents of this file to initialize the uses the (binary) contents of this file to initialize the
.I options .Em options
area of the request packet. area of the request packet.
.SH CREDITS .Sh AUTHORS
.LP The
The bootptest program is a combination of original and derived works. .Nm
The main program module (bootptest.c) is original work by program is a combination of original and derived works.
Gordon W. Ross <gwr@mc.com>. The main program module
The packet printing module (print-bootp.c) is a slightly modified .Pq Pa bootptest.c
version of a file from the BSD tcpdump program. is original work by
.LP .An "Gordon W. Ross" Aq gwr@mc.com .
The packet printing module
.Pq Pa print\-bootp.c
is a slightly modified
version of a file from the
.Bx
.Xr tcpdump 1
program.
.Pp
This program includes software developed by the University of This program includes software developed by the University of
California, Lawrence Berkeley Laboratory and its contributors. California, Lawrence Berkeley Laboratory and its contributors.
(See the copyright notice in print-bootp.c) (See the copyright notice in
.SH "SEE ALSO" .Pa print\-bootp.c . )
.LP .Sh SEE ALSO
bootpd(8) .Xr bootpd 8
.SH REFERENCES .Rs
.TP .%O RFC951
RFC951 .%T "BOOTSTRAP PROTOCOL (BOOTP)"
BOOTSTRAP PROTOCOL (BOOTP) .Re
.TP .Rs
RFC1048 .%O RFC1048
BOOTP Vendor Information Extensions .%T "BOOTP Vendor Information Extensions"
.Re