Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2017 18:45:43 +0000 (UTC)
From:      Benedict Reuschling <bcr@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325441 - head/share/man/man4
Message-ID:  <201711051845.vA5IjhtH012126@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bcr (doc committer)
Date: Sun Nov  5 18:45:43 2017
New Revision: 325441
URL: https://svnweb.freebsd.org/changeset/base/325441

Log:
  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@omnilan.de)
  Reviewed by:		noone (1 month inactivity)
  MFC after:		2 weeks
  Differential Revision:	https://reviews.freebsd.org/D12271

Modified:
  head/share/man/man4/md.4

Modified: head/share/man/man4/md.4
==============================================================================
--- head/share/man/man4/md.4	Sun Nov  5 18:24:31 2017	(r325440)
+++ head/share/man/man4/md.4	Sun Nov  5 18:45:43 2017	(r325441)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711051845.vA5IjhtH012126>