view docs/man/man8/ftjail-copy-skel.rst @ 362:30ff08fb7442

Better explain what "-s" does for "check-ports"
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 12 Dec 2022 09:14:13 +0100
parents e64c726c4bd0
children 9b6fdccfe13c
line wrap: on
line source

.. -*- coding: utf-8; indent-tabs-mode: nil; -*-

ftjail-copy-skel
================

Synopsis
--------

**ftjail copy-skel** [**-A**] [**-L**] [**-M** `mountpoint`] [**-P**] [**-u**] `source-dataset` `snapshot-name` `target-dataset`


Description
-----------

Recursively copy the snapshot `snapshot-name` of the RW skeleton dataset
`source-dataset` into dataset `target-dataset`.

Apply knowledge of the type and typical layout of the RW skeleton
(e.g. handle the intermediate dataset of :file:`usr` properly).


Options
-------

.. program:: ftjail copy-skel

.. option:: -A

   Set the ZFS property `canmount=noauto` for all datasets in the
   target dataset.

.. option:: -L

   Copy dataset properties optimized for employing a :file:`skeleton`
   subdirectory.

.. option:: -M mountpoint

   Set the `mountpoint` property for the TARGET-DS to `mountpoint`.
   All children will be set to inherit it.

.. option:: -P

   Copy dataset properties optimized for direct mounts of skeleton
   children over an already mounted base.

.. option:: -u

   Do not mount the target dataset `target-dataset` automatically.


Environment
-----------

All environment variables that affect :command:`zfs` are effective also.


See Also
--------

:manpage:`ftjail(8)`