From owner-svn-src-head@freebsd.org Tue Mar 17 05:33:06 2020 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C7CB225B474; Tue, 17 Mar 2020 05:33:06 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hMJf2pdqz3yMC; Tue, 17 Mar 2020 05:33:06 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4DDC248C2; Tue, 17 Mar 2020 05:33:06 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 02H5X6tu080360; Tue, 17 Mar 2020 05:33:06 GMT (envelope-from kevlo@FreeBSD.org) Received: (from kevlo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 02H5X6Iv080359; Tue, 17 Mar 2020 05:33:06 GMT (envelope-from kevlo@FreeBSD.org) Message-Id: <202003170533.02H5X6Iv080359@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kevlo set sender to kevlo@FreeBSD.org using -f From: Kevin Lo Date: Tue, 17 Mar 2020 05:33:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r359030 - head/share/man/man4 X-SVN-Group: head X-SVN-Commit-Author: kevlo X-SVN-Commit-Paths: head/share/man/man4 X-SVN-Commit-Revision: 359030 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 05:33:06 -0000 Author: kevlo Date: Tue Mar 17 05:33:05 2020 New Revision: 359030 URL: https://svnweb.freebsd.org/changeset/base/359030 Log: Convert to the standard section 4 SYNOPSIS layout. Modified: head/share/man/man4/tun.4 Modified: head/share/man/man4/tun.4 ============================================================================== --- head/share/man/man4/tun.4 Tue Mar 17 03:32:13 2020 (r359029) +++ head/share/man/man4/tun.4 Tue Mar 17 05:33:05 2020 (r359030) @@ -2,14 +2,26 @@ .\" $FreeBSD$ .\" Based on PR#2411 .\" -.Dd April 29, 2019 +.Dd March 17, 2020 .Dt TUN 4 .Os .Sh NAME .Nm tun .Nd tunnel software network interface .Sh SYNOPSIS -.Cd device tuntap +To compile this driver into the kernel, +place the following line in your +kernel configuration file: +.Bd -ragged -offset indent +.Cd "device tuntap" +.Ed +.Pp +Alternatively, to load the driver as a +module at boot time, place the following lines in +.Xr loader.conf 5 : +.Bd -literal -offset indent +if_tuntap_load="YES" +.Ed .Sh DESCRIPTION The .Nm