Fwd: git: 3dfac3f91b - main - handbook: No need to specify the md device number, so don't.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Jun 2021 20:18:32 UTC
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]