comparison bin/fjail @ 105:52523a19797e

Docu: Enhance the docu of fjail
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 27 Sep 2019 09:44:38 +0200
parents 6f6058939e48
children
comparison
equal deleted inserted replaced
104:6f6058939e48 105:52523a19797e
15 15
16 set -eu 16 set -eu
17 17
18 VERSION="@@VERSION@@" 18 VERSION="@@VERSION@@"
19 19
20 USAGE=" 20 USAGE='
21 USAGE: fjail [ OPTIONS ] COMMAND [ COMMAND OPTIONS ] [ ARG ... ] 21 USAGE: fjail [ OPTIONS ] COMMAND [ COMMAND OPTIONS ] [ ARG ... ]
22 22
23 OPTIONS: 23 OPTIONS:
24 24
25 -V Print the program name and version number to stdout and exit 25 -V Print the program name and version number to stdout and exit
44 44
45 Populate the jail directory in MOUNTPOINT with the base system in BASETXZ 45 Populate the jail directory in MOUNTPOINT with the base system in BASETXZ
46 46
47 copy SOURCE-DATASET DEST-DATASET 47 copy SOURCE-DATASET DEST-DATASET
48 48
49 Copy a tree of ZFS datasets with \"zfs send -R\" and \"zfs receive\". 49 Copy a tree of ZFS datasets with "zfs send -R" and "zfs receive".
50 Note that the destination dataset must not exist already. 50 Note that the destination dataset must not exist already.
51 51
52 -u Do not automatically mount received datasets 52 -u Do not automatically mount received datasets
53 " 53
54 ENVIRONMENT:
55
56 All environment variables that affect "zfs" are effective also.
57
58 DESCRIPTION:
59
60 All commands with the exception of "populate" require ZFS as
61 filesystem.
62 '
54 63
55 64
56 # Reset to standard umask 65 # Reset to standard umask
57 umask 0022 66 umask 0022
58 67