summaryrefslogtreecommitdiff
path: root/share/man/man5
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-22 22:01:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-22 22:01:56 +0000
commit98a7c7992ebc0b7015fc20c994f96f7b8f3a6d5c (patch)
treec0f025f015afb05af0a741bdb1a2c6a3d9d9692d /share/man/man5
parent94a350935aba5eb33e9f23827d190405e40923d1 (diff)
Move information describing the bridge and brconfig behaviour into
the relevant manual pages. Functionality is described in the (4) pages, controlling the functionality in ifconfig(8), and the hostname.if gains the old bridgename.if(5) functionality. ok claudio jmc
Diffstat (limited to 'share/man/man5')
-rw-r--r--share/man/man5/Makefile3
-rw-r--r--share/man/man5/hostname.if.540
2 files changed, 9 insertions, 34 deletions
diff --git a/share/man/man5/Makefile b/share/man/man5/Makefile
index d0ecc2e47d5..98b5dd44896 100644
--- a/share/man/man5/Makefile
+++ b/share/man/man5/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.41 2008/05/11 18:50:58 espie Exp $
+# $OpenBSD: Makefile,v 1.42 2009/11/22 22:01:55 deraadt Exp $
# $NetBSD: Makefile,v 1.14 1995/05/11 23:13:15 cgd Exp $
# missing: dump.5 plot.5
@@ -15,7 +15,6 @@ MAN= a.out.5 acct.5 bsd.port.mk.5 bsd.regress.mk.5 changelist.5 core.5 \
MLINKS= dir.5 dirent.5 fs.5 inode.5 utmp.5 wtmp.5 utmp.5 lastlog.5
MLINKS+= hosts.equiv.5 .rhosts.5
MLINKS+= resolv.conf.5 resolver.5 resolv.conf.5 resolv.conf.tail.5
-MLINKS+= hostname.if.5 bridgename.if.5
MLINKS+= passwd.5 master.passwd.5
MLINKS+= myname.5 mygate.5
diff --git a/share/man/man5/hostname.if.5 b/share/man/man5/hostname.if.5
index 48c3dcc1a95..a54cbce1a06 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.52 2008/01/31 20:00:08 jmc Exp $
+.\" $OpenBSD: hostname.if.5,v 1.53 2009/11/22 22:01:55 deraadt Exp $
.\" $NetBSD: hosts.5,v 1.4 1994/11/30 19:31:20 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,23 +30,20 @@
.\"
.\" @(#)hosts.5 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: January 31 2008 $
+.Dd $Mdocdate: November 22 2009 $
.Dt HOSTNAME.IF 5
.Os
.Sh NAME
-.Nm hostname.if ,
-.Nm bridgename.if
+.Nm hostname.if
.Nd interface-specific configuration files
.Sh DESCRIPTION
The
.Nm hostname.*\&
-and
-.Nm bridgename.*\&
files contain information regarding the configuration of each network interface.
One file should exist for each interface that is to be configured, such as
.Pa hostname.fxp0
or
-.Pa bridgename.bridge0 .
+.Pa hostname.bridge0 .
However, a configuration file is not needed for lo0.
.Pp
Arguments containing either whitespace or single quote
@@ -296,17 +293,10 @@ Valid options for a particular interface type can be found in
.Xr ifconfig 8 .
.El
.Sh BRIDGE INTERFACE CONFIGURATION
-The final file format only applies to
-.Nm bridgename.bridge*
-files.
-A bridge interface setup consists of
-.Bd -ragged -offset indent
-.Va brconfig-arguments
-.br
-.Va brconfig-arguments
-.br
-\&...
-.Ed
+If the network interface is a bridge, the options described in
+the bridge section of the
+.Xr ifconfig 8
+manual page apply.
.Pp
For example:
.Bd -literal -offset indent
@@ -319,22 +309,8 @@ add ep1
static fxp0 8:0:20:1e:2f:2b
up # and finally enable it
.Ed
-.Pp
-The options are as follows:
-.Bl -tag -width indent -offset indent
-.It Va brconfig-arguments
-.Xr brconfig 8
-is called for each successive line.
-Comments starting with
-.Ql #
-and commands to be executed
-prefixed by
-.Ql \&!
-are permitted.
-.El
.Sh SEE ALSO
.Xr hosts 5 ,
-.Xr brconfig 8 ,
.Xr dhcp 8 ,
.Xr ifconfig 8 ,
.Xr lmccontrol 8 ,