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

From: Danilo G. Baio <dbaio_at_FreeBSD.org>
Date: Wed, 26 Jun 2024 01:03:03 UTC
The branch main has been updated by dbaio:

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

commit a607e18d9984dc9b36f376dec15321371f6ea93b
Author:     Elijah Gwynn <eli@egwynn.com>
AuthorDate: 2024-05-21 14:00:22 +0000
Commit:     Danilo G. Baio <dbaio@FreeBSD.org>
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
 ....