view docs/man/man8/ftjail-copy-skel.rst @ 770:56ab5c012d5f

fports: Begin a new command "fports" and fully implemented its subcommand "fports deptree". fports is supposed to be the successor to check-ports.
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 23 Oct 2024 13:56:52 +0200
parents 54c6eecbe53f
children
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:: -D

   Just copy the dataset tree including properties but no filesystem
   data. This option is incompatible to option :option:`-L`.

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