git: a607e18d99 - main - handbook/jails: Fix thinjail instructions on UFS

"Danilo G. Baio" <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by dbaio:

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

commit a607e18d9984dc9b36f376dec15321371f6ea93b
Author:     Elijah Gwynn <[email protected]>
AuthorDate: 2024-05-21 14:00:22 +0000
Commit:     Danilo G. Baio <[email protected]>
CommitDate: 2024-06-26 00:59:57 +0000

    handbook/jails: Fix thinjail instructions on UFS
    
    The zfs instructions say to clone a snapshot from the skeleton to the
    new thinjail. But the UFS instructions say to _make_ the thinjail
    directory first and then copy the skeleton into it. This will cause your
    new jail to be inside of
    `/usr/local/jails/containers/thinjail/13.2-RELEASE-skeleton` instead of
    just `/usr/local/jails/containers/thinjail`.
    
    Reviewed by:    dbaio
    Pull Request:   https://github.com/freebsd/freebsd-doc/pull/382
---
 documentation/content/en/books/handbook/jails/_index.adoc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/documentation/content/en/books/handbook/jails/_index.adoc b/documentation/content/en/books/handbook/jails/_index.adoc
index fbf3b2b80d..228d1513b2 100644
--- a/documentation/content/en/books/handbook/jails/_index.adoc
+++ b/documentation/content/en/books/handbook/jails/_index.adoc
@@ -621,11 +621,10 @@ In case of using OpenZFS, OpenZFS snapshots can be used to easily create as many
 # zfs clone zroot/jails/templates/13.2-RELEASE-skeleton@base zroot/jails/containers/thinjail
 ....
 
-In case of using UFS the man:cp[1] program can be used by executing the following commands:
+In case of using UFS the man:cp[1] program can be used by executing the following command:
 
 [source,shell]
 ....
-# mkdir /usr/local/jails/containers/thinjail
 # cp -R /usr/local/jails/templates/13.2-RELEASE-skeleton /usr/local/jails/containers/thinjail
 ....
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.