diff options
author | ru <ru@FreeBSD.org> | 2001-01-16 13:12:21 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-01-16 13:12:21 +0000 |
commit | bf387fb2e3a9ce858f2cef1b4ad90f32f358005a (patch) | |
tree | 9fcf203ef0df708691029fa8ac0c4823c738d703 /libexec/bootpd | |
parent | 9a23105d94a01c9bdebb18d839970bcce80286b0 (diff) | |
download | FreeBSD-src-bf387fb2e3a9ce858f2cef1b4ad90f32f358005a.zip FreeBSD-src-bf387fb2e3a9ce858f2cef1b4ad90f32f358005a.tar.gz |
man(7) -> mdoc(7).
Diffstat (limited to 'libexec/bootpd')
-rw-r--r-- | libexec/bootpd/tools/bootpef/bootpef.8 | 89 | ||||
-rw-r--r-- | libexec/bootpd/tools/bootptest/bootptest.8 | 114 |
2 files changed, 106 insertions, 97 deletions
diff --git a/libexec/bootpd/tools/bootpef/bootpef.8 b/libexec/bootpd/tools/bootpef/bootpef.8 index f7f5dce..78fc41b 100644 --- a/libexec/bootpd/tools/bootpef/bootpef.8 +++ b/libexec/bootpd/tools/bootpef/bootpef.8 @@ -1,54 +1,63 @@ .\" $FreeBSD$ .\" .\" bootpef.8 -.TH BOOTPEF 8 "4 Dec 1993" "MAINTENANCE COMMANDS" -.SH NAME -bootpef \- BOOTP Extension File compiler -.SH SYNOPSIS -.LP -.B bootpef -.RI [ "-c chdir" ] -.RI [ "-d debug-level" ] -.RI [ "-f config-file" ] -.RI [ client-name " [...]]" -.SH DESCRIPTION -.B bootpef +.Dd December 4, 1993 +.Dt BOOTPEF 8 +.Os +.Sh NAME +.Nm bootpef +.Nd "BOOTP Extension File compiler" +.Sh SYNOPSIS +.Bk -words +.Nm +.Op Fl c Ar chdir\-path +.Op Fl d Ar debug\-level +.Op Fl f Ar config\-file +.Op Ar client\-name ... +.Ek +.Sh DESCRIPTION +.Nm builds the -.I Extension Path -files described by RFC 1497 (tag 18). +.Em "Extension Path" +files described by +.%T "RFC 1497" +(tag 18). If any -.I client-name +.Ar client\-name arguments are specified, then -.I bootpef +.Nm compiles the extension files for only those clients. -.SH OPTIONS -.TP -.BI \-c \ chdir\-path +.Sh OPTIONS +.Bl -tag -width indent +.It Fl c Ar chdir\-path Sets the current directory used by -.I bootpef -while creating extension files. This is useful when the +.Nm +while creating extension files. +This is useful when the extension file names are specified as relative pathnames, and -.I bootpef +.Nm needs to use the same current directory as the TFTP server -(typically /tftpboot). -.TP -.BI \-d \ debug\-level +(typically +.Pa /tftpboot ) . +.It Fl d Ar debug\-level Sets the -.I debug\-level +.Ar debug\-level variable that controls the amount of debugging messages generated. -For example, -d4 or -d 4 will set the debugging level to 4. -.TP -.BI \-f \ config\-file +For example, +.Fl d Ar 4 +will set the debugging level to 4. +.It Fl f Ar config\-file Set the name of the config file that specifies the option data to be sent to each client. -.SH "SEE ALSO" -bootpd(8), tftpd(8) -.SH REFERENCES -.TP -RFC951 -BOOTSTRAP PROTOCOL (BOOTP) -.TP -RFC1497 -BOOTP Vendor Information Extensions - - +.El +.Sh SEE ALSO +.Xr bootpd 8 , +.Xr tftpd 8 +.Rs +.%O RFC951 +.%T "BOOTSTRAP PROTOCOL (BOOTP)" +.Re +.Rs +.%O RFC1497 +.%T "BOOTP Vendor Information Extensions" +.Re diff --git a/libexec/bootpd/tools/bootptest/bootptest.8 b/libexec/bootpd/tools/bootptest/bootptest.8 index 761e96e..08e19a3 100644 --- a/libexec/bootpd/tools/bootptest/bootptest.8 +++ b/libexec/bootpd/tools/bootptest/bootptest.8 @@ -1,76 +1,76 @@ .\" $FreeBSD$ .\" .\" bootptest.8 -.TH BOOTPTEST 8 "10 June 1993" "MAINTENANCE COMMANDS" -.SH NAME -bootptest \- send BOOTP queries and print responses -.SH SYNOPSIS -.LP -.B bootptest -[ -.B \-f -.I bootfile -] -[ -.B \-h -] -[ -.B \-m -.I magic_number -] -.I server\-name -.RI [ template-file ] -.SH DESCRIPTION -.B bootptest +.Dd June 10, 1993 +.Dt BOOTPTEST 8 +.Os +.Sh NAME +.Nm bootptest +.Nd "send BOOTP queries and print responses" +.Sh SYNOPSIS +.Nm +.Op Fl f Ar bootfile +.Op Fl h +.Op Fl m Ar magic_number +.Ar server\-name +.Op Ar template\-file +.Sh DESCRIPTION +.Nm sends BOOTP requests to the host specified as -.I server\-name +.Ar server\-name at one\-second intervals until either a response is received, or until ten requests have gone unanswered. After a response is received, -.B bootptest +.Nm will wait one more second listening for additional responses. -.SH OPTIONS -.TP -.B \-f -.I bootfile +.Sh OPTIONS +.Bl -tag -width indent +.It Fl f Ar bootfile Fill in the boot file field of the request with -.IR bootfile . -.TP -.B \-h +.Ar bootfile . +.It Fl h Use the hardware (Ethernet) address to identify the client. By default, the IP address is copied into the request indicating that this client already knows its IP address. -.TP -.B \-m -.I magic_number +.It Fl m Ar magic_number Initialize the first word of the vendor options field with -.IR magic_number . -.LP +.Ar magic_number . +.El +.Pp A -.I template-file +.Ar template\-file may be specified, in which case -.B bootptest +.Nm uses the (binary) contents of this file to initialize the -.I options +.Em options area of the request packet. -.SH CREDITS -.LP -The bootptest program is a combination of original and derived works. -The main program module (bootptest.c) is original work by -Gordon W. Ross <gwr@mc.com>. -The packet printing module (print-bootp.c) is a slightly modified -version of a file from the BSD tcpdump program. -.LP +.Sh AUTHORS +The +.Nm +program is a combination of original and derived works. +The main program module +.Pq Pa bootptest.c +is original work by +.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 California, Lawrence Berkeley Laboratory and its contributors. -(See the copyright notice in print-bootp.c) -.SH "SEE ALSO" -.LP -bootpd(8) -.SH REFERENCES -.TP -RFC951 -BOOTSTRAP PROTOCOL (BOOTP) -.TP -RFC1048 -BOOTP Vendor Information Extensions +(See the copyright notice in +.Pa print\-bootp.c . ) +.Sh SEE ALSO +.Xr bootpd 8 +.Rs +.%O RFC951 +.%T "BOOTSTRAP PROTOCOL (BOOTP)" +.Re +.Rs +.%O RFC1048 +.%T "BOOTP Vendor Information Extensions" +.Re |