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