svn commit: r325996 - stable/11/share/man/man4

Benedict Reuschling bcr at FreeBSD.org
Sun Nov 19 11:24:25 UTC 2017


Author: bcr (doc committer)
Date: Sun Nov 19 11:24:24 2017
New Revision: 325996
URL: https://svnweb.freebsd.org/changeset/base/325996

Log:
  MFC r325441:
  
  Extend the synopsis section of md(4) to look more like other manpages
  of this kind.  Describe how to compile the driver into the kernel
  and how to load it as a module.
  This is useful for people using the MINIMAL kernel configuration file.
  
  PR:			218610
  Submitted by:		Harald Schmalzbauer (bugzilla.freebsd at omnilan.de)
  Reviewed by:		noone (1 month inactivity)
  MFC after:		2 weeks
  Differential Revision:	https://reviews.freebsd.org/D12271

Modified:
  stable/11/share/man/man4/md.4
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/share/man/man4/md.4
==============================================================================
--- stable/11/share/man/man4/md.4	Sun Nov 19 11:21:16 2017	(r325995)
+++ stable/11/share/man/man4/md.4	Sun Nov 19 11:24:24 2017	(r325996)
@@ -7,14 +7,26 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd October 30, 2007
+.Dd November 5, 2017
 .Dt MD 4
 .Os
 .Sh NAME
 .Nm md
 .Nd memory disk
 .Sh SYNOPSIS
-.Cd device md
+To compile this driver into the kernel,
+place the following lines in your
+kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "device md"
+.Ed
+.Pp
+Alternatively, to load the driver as a
+module at boot time, place the following line in
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+geom_md_load="YES"
+.Ed
 .Sh DESCRIPTION
 The
 .Nm


More information about the svn-src-stable mailing list