aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Jude <allanjude@FreeBSD.org>2020-07-11 15:48:48 +0000
committerAllan Jude <allanjude@FreeBSD.org>2020-07-11 15:48:48 +0000
commitc961cecad9a75dd27f3aed23e3e454ddd7eba749 (patch)
treeca237459f7143c5d2ff4f0c5fc95404c16f1fc9d
parentd047ae7856e7a064a4663e3f287afb95500ff278 (diff)
downloaddoc-c961cecad9a75dd27f3aed23e3e454ddd7eba749.tar.gz
doc-c961cecad9a75dd27f3aed23e3e454ddd7eba749.zip
Don't use sysrc for sysctl OIDs
PR: 246760 Submitted by: debdrup Reported by: Mike Plemmons <mikeplemmons@gmail.com> Sponsored by: Klara Inc. Event: July 2020 Bugathon Differential Revision: https://reviews.freebsd.org/D12127
Notes
Notes: svn path=/head/; revision=54327
-rw-r--r--en_US.ISO8859-1/books/handbook/zfs/chapter.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/en_US.ISO8859-1/books/handbook/zfs/chapter.xml b/en_US.ISO8859-1/books/handbook/zfs/chapter.xml
index 7d21a5d6e3..c32482efb6 100644
--- a/en_US.ISO8859-1/books/handbook/zfs/chapter.xml
+++ b/en_US.ISO8859-1/books/handbook/zfs/chapter.xml
@@ -2663,7 +2663,7 @@ mypool@replica2 0 - 55.0M -</screen>
<screen>&prompt.root; <userinput>sysctl vfs.usermount=1</userinput>
vfs.usermount: 0 -> 1
-&prompt.root; <userinput>sysrc -f /etc/sysctl.conf vfs.usermount=1</userinput>
+&prompt.root; <userinput>echo vfs.usermount=1 >> /etc/sysctl.conf</userinput>
&prompt.root; <userinput>zfs create <replaceable>recvpool/backup</replaceable></userinput>
&prompt.root; <userinput>zfs allow -u <replaceable>someuser</replaceable> create,mount,receive <replaceable>recvpool/backup</replaceable></userinput>
&prompt.root; <userinput>chown <replaceable>someuser</replaceable> <replaceable>/recvpool/backup</replaceable></userinput></screen>