summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-09-02 18:11:23 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-09-02 18:11:23 +0000
commit974544cb98487b23a72fdab3e567f7a2f0ef0c3a (patch)
tree3ec3d25d6c8755da860c1a9c5812d2cc04771659 /share/man
parent2293f014640b0034eeb273479e126b67686e56af (diff)
Make it read a little better and add a SEE ALSO section.
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man5/hostname.if.533
1 files changed, 17 insertions, 16 deletions
diff --git a/share/man/man5/hostname.if.5 b/share/man/man5/hostname.if.5
index 172e1cfa6b9..93ddcb07078 100644
--- a/share/man/man5/hostname.if.5
+++ b/share/man/man5/hostname.if.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hostname.if.5,v 1.4 1999/09/01 21:23:30 deraadt Exp $
+.\" $OpenBSD: hostname.if.5,v 1.5 1999/09/02 18:11:22 aaron Exp $
.\" $NetBSD: hosts.5,v 1.4 1994/11/30 19:31:20 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)hosts.5 8.2 (Berkeley) 12/11/93
.\"
-.Dd December 11, 1993
+.Dd September 2, 1999
.Dt HOSTNAME.IF 5
.Os
.Sh NAME
@@ -44,7 +44,7 @@ and
.Nd interface-specific configuration files
.Sh DESCRIPTION
The
-.Nm
+.Nm hostname.*
and
.Nm bridgename.*
files contain information regarding
@@ -54,16 +54,13 @@ such as
.Pa hostname.fxp0
or
.Pa bridgename.bridge0 .
-However, a configuration file is not needed for
-.Dv lo0 .
-.Pp
-Three data formats are permitted for these files.
+However, a configuration file is not needed for lo0.
.Pp
+The following two formats are valid for
.Nm hostname.*
-files can accept the following two formats:
+files.
.Pp
Regular network setup:
-.Pp
.Bd -literal -offset xxxx
.Va addr_family Va addr Va netmask Va broadcast_addr Va options
.Li dest Va dest_addr
@@ -97,13 +94,13 @@ and
.Va dest_addr
options are invalid and will be ignored.
.It Va netmask
-The optional network mask for the interface, ie.
+The optional network mask for the interface, i.e.,
255.255.255.0.
.It Va broadcast_addr
-The optional broadcast address for the interface, ie.
+The optional broadcast address for the interface, i.e.,
190.191.192.255
.It Va options
-Optional miscellaneous options to set on the interface, ie.
+Optional miscellaneous options to set on the interface, i.e.,
.Dq media 100baseTX mediaopt full-duplex .
.It Li dest
If the interface needs a destination address address set, this is
@@ -131,10 +128,10 @@ For example,
dhcp media 100baseTX mediaopt full-duplex
.Ed
.Pp
-The options are as follows:
+The above format has the following field values:
.Bl -tag -width indent -offset xxxx
.It Li dhcp
-The string
+The literal string
.Dq dhcp
if the interface is to be configured using DHCP.
See
@@ -143,7 +140,7 @@ and
.Xr dhclient.conf 5
for more details.
.It Va options
-Optional miscellaneous options to set on the interface, ie.
+Optional miscellaneous options to set on the interface, i.e.,
.Dq media 100baseTX mediaopt full-duplex .
.El
.Pp
@@ -176,4 +173,8 @@ The options are as follows:
is called for each successive line. Comments starting with # are
permitted.
.El
-.Pp
+.Sh SEE ALSO
+.Xr hosts 5 ,
+.Xr dhcp 8 ,
+.Xr ifconfig 8 ,
+.Xr rc 8