view docs/man/man8/ftjail-copy-skel.rst @ 294:c2e2fed957ed

- Compute a dynmic list of manual pages - Move the sources of the manual pages into a section-specific subdir
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 18 Sep 2022 15:32:22 +0200
parents docs/man/ftjail-copy-skel.rst@73ac6bec36fe
children e64c726c4bd0
line wrap: on
line source

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

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

Synopsis
--------

**fzfs 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)`