Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2021 21:14:57 +0100
From:      Ceri Davies <ceri@submonkey.net>
To:        doc@freebsd.org
Subject:   Fwd: git: 3dfac3f91b - main - handbook: No need to specify the md device number, so don't.
Message-ID:  <CAOa83AcPJ=TPRnqD59jECWmA=zSoPi=WJQpjpT_chs9-70Pa3w@mail.gmail.com>
In-Reply-To: <202106141312.15EDCRXn086962@gitrepo.freebsd.org>
References:  <202106141312.15EDCRXn086962@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000000a94f905c4bf8501
Content-Type: text/plain; charset="UTF-8"

I've had two people tell me that, after this commit, the other examples in
the handbook that hardcode md0 might fail.
I am of the opinion that this means that those other examples need to be
improved as we should not be telling people to do things that might fail,
but what does doc@ think?

Ceri

---------- Forwarded message ---------
From: Ceri Davies <ceri@freebsd.org>
Date: Mon, 14 Jun 2021 at 14:12
Subject: git: 3dfac3f91b - main - handbook: No need to specify the md
device number, so don't.
To: <doc-committers@freebsd.org>, <dev-commits-doc-all@freebsd.org>


The branch main has been updated by ceri:

URL:
https://cgit.FreeBSD.org/doc/commit/?id=3dfac3f91bbf9e987b3e10c2980c7ca40de6abbc

commit 3dfac3f91bbf9e987b3e10c2980c7ca40de6abbc
Author:     Ceri Davies <ceri@FreeBSD.org>
AuthorDate: 2021-06-14 13:04:57 +0000
Commit:     Ceri Davies <ceri@FreeBSD.org>
CommitDate: 2021-06-14 13:11:48 +0000

    handbook: No need to specify the md device number, so don't.
---
 documentation/content/en/books/handbook/config/_index.adoc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/documentation/content/en/books/handbook/config/_index.adoc
b/documentation/content/en/books/handbook/config/_index.adoc
index 9eba4273e8..5fd0076cc2 100644
--- a/documentation/content/en/books/handbook/config/_index.adoc
+++ b/documentation/content/en/books/handbook/config/_index.adoc
@@ -1657,10 +1657,9 @@ See crossref:kernelconfig[kernelconfig,Configuring
the FreeBSD Kernel] for infor
 +
 [.programlisting]
 ....
-md99   none    swap    sw,file=/usr/swap0,late 0       0
+md     none    swap    sw,file=/usr/swap0,late 0       0
 ....
 +
-The man:md[4] device [.filename]#md99# is used, leaving lower device
numbers available for interactive use.
 . Swap space will be added on system startup. To add swap space
immediately, use man:swapon[8]:
 +
 [source,shell]

--0000000000000a94f905c4bf8501--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOa83AcPJ=TPRnqD59jECWmA=zSoPi=WJQpjpT_chs9-70Pa3w>