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

ftjail-mount-tmpl
=================

Synopsis
--------

**ftjail mount-tmpl** [**-L**] [**-n**] [**-u**] `dataset-base-ro` `dataset-skeleton-rw`  `mountpoint`

**ftjail mount-tmpl** [**-P**] [**-n**] [**-u**] `dataset-base-ro` `dataset-skeleton-rw`  `mountpoint`


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

Canonically mount a Thin Jail template with its base in `dataset-base-ro`
and its skeleton in `dataset-skeleton-rw` at mountpoint `mountpoint`.

All children that can be mounted will also mounted properly.


Options
-------

.. program:: ftjail mount-tmpl

.. option:: -L

   Mount `dataset-skeleton-rw` into a :file:`skeleton` subdirectory.

.. option:: -P

   Recursively mount only the children of the skeleton dataset
   `dataset-skeleton-rw` directly over the base -- skipping
   just the parent dataset in `dataset-skeleton-rw`.

.. option:: -n

   Do not really mount anything but show what would be mounted where.

.. option:: -u

   Alias of :option:`-n`


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

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


See Also
--------

:manpage:`ftjail(8)`, :manpage:`ftjail-umount-tmpl(8)`,
:manpage:`ftjail-datasets-tmpl(8)`
