Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
view docs/man/man8/ftjail-datasets-tmpl.rst @ 649:4ee9a8042f4a
common.subr: _get_jail_from_path() now just returns when the jail is dying.
But it prints the name of the jail if it is yet dying.
Real error reporting must not consistently be done in the caller.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 27 Sep 2024 21:21:34 +0200 |
| parents | 5da1455547d3 |
| children |
line wrap: on
line source
.. -*- coding: utf-8; indent-tabs-mode: nil; -*- ftjail-datasets-tmpl ==================== Synopsis -------- **ftjail datasets-tmpl** [**-L**] `dataset-parent-base` `dataset-parent-skeleton` `name` **ftjail datasets-tmpl** [**-P**] `dataset-parent-base` `dataset-parent-skeleton` `name` Description ----------- Create ZFS template datasets, i.e. the ro base and the rw skeleton to be used within Thin Jails. The ZFS datasets `dataset-parent-base` and `dataset-parent-skeleton` must exist already. A child with name `name` must not exist already for both given parent datasets. All datasets are creating using :command:`zfs create` and employing its ``-u`` option so that the newly created file system is not mounted automatically at creation time. See :manpage:`ftjail-mount-tmpl(8)` for properly mounting the created datasets. Options ------- .. program:: ftjail datasets-tmpl .. option:: -L Create dataset properties optimized for employing a :file:`skeleton` subdirectory (i.e. Thin Jails using symbolic links from a (read-only) root into the writeable parts of the system). .. option:: -P Create ZFS dataset properties optimized for direct mounts of skeleton children over an already mounted base. Environment ----------- All environment variables that affect :command:`zfs` are effective also. See Also -------- :manpage:`ftjail(8)`, :manpage:`ftjail-mount-tmpl(8)`,
