summaryrefslogtreecommitdiff
path: root/man8/ezjail-admin.8
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2013-04-10 23:11:58 +0000
committererdgeist <erdgeist@erdgeist.org>2013-04-10 23:11:58 +0000
commit92db4874abbc070e8d22d82ee2bae9162913e464 (patch)
tree1a95a1e5aecaa0a9222c4392f8d9f91a5abb78e3 /man8/ezjail-admin.8
parent31feb69b9c64a66433d1fd0e28283ceef05b8978 (diff)
Document the new ezjail-admin create -z feature. Also properly attribute the man page authors.
Diffstat (limited to 'man8/ezjail-admin.8')
-rw-r--r--man8/ezjail-admin.830
1 files changed, 26 insertions, 4 deletions
diff --git a/man8/ezjail-admin.8 b/man8/ezjail-admin.8
index 727615b..5cda975 100644
--- a/man8/ezjail-admin.8
+++ b/man8/ezjail-admin.8
@@ -16,6 +16,7 @@
16.Op Fl r Ar jailroot 16.Op Fl r Ar jailroot
17.Op Fl a Ar archive 17.Op Fl a Ar archive
18.Op Fl c Ar jailtype Fl s Ar imagesize Op Fl C Ar attachargs 18.Op Fl c Ar jailtype Fl s Ar imagesize Op Fl C Ar attachargs
19.Op Fl z Ar parentzfs
19.Bk -words 20.Bk -words
20.Ar jailname ipaddress Ns Op Ar ,ipaddress2,... 21.Ar jailname ipaddress Ns Op Ar ,ipaddress2,...
21.Ek 22.Ek
@@ -276,20 +277,34 @@ jail is backed with a
276.Xr zfs 8 277.Xr zfs 8
277filesystem, whose initial quota is given with the 278filesystem, whose initial quota is given with the
278.Fl s 279.Fl s
279option. The filesystem is created in the 280option. The filesystem by default
281(see the
282.Fl z
283option) is created in the
280.Dq Li $ezjail_jailzfs 284.Dq Li $ezjail_jailzfs
281parent filesystem and by default compressed using the lzjb method, as set in 285parent filesystem and compressed using the lzjb method, as set in
282the 286the
283.Dq Li ezjail_zfs_jail_properies 287.Dq Li ezjail_zfs_jail_properies
284variable, both values configured in 288variable, both values configured in
285.Xr ezjail.conf 5 289.Xr ezjail.conf 5 .
286.Pp 290.Pp
287In each case, the 291In each case, the
288.Fl s 292.Fl s
289flag is mandatory when creating such a jail. An empty directory (without the 293flag is mandatory when creating a file backed jail (i.e. any image that is
294not zfs backed). An empty directory (without the
290.Pa .img 295.Pa .img
291suffix in the case of file-based jails) will be created and used as a mount 296suffix in the case of file-based jails) will be created and used as a mount
292point when running the jail. 297point when running the jail.
298.It Fl z Ar parentzfs
299Normally zfs jails are created in a child of the same zfs, ezjail keeps its
300working directories in, as configured in the
301.Dq Li ezjail_jailzfs
302variable set in
303.Xr ezjail.conf 5 .
304Use this option to override this default.
305.Pp
306This option implies
307.Fl c Ar zfs .
293.It Fl s Ar imagesize 308.It Fl s Ar imagesize
294Allocate this size to the jail. Without an unit, the size is in bytes. The 309Allocate this size to the jail. Without an unit, the size is in bytes. The
295valid suffix values are b/B for blocks (i. e. 512 bytes), k/K for kilobytes, 310valid suffix values are b/B for blocks (i. e. 512 bytes), k/K for kilobytes,
@@ -605,3 +620,10 @@ filesystem is taken first.
605.Sh AUTHOR 620.Sh AUTHOR
606.An Dirk Engling 621.An Dirk Engling
607.Aq erdgeist@erdgeist.org . 622.Aq erdgeist@erdgeist.org .
623.Pp
624The man page is based on a draft by
625.An JoeB
626.Aq joeb1@a1poweruser.com
627and was rewritten by
628.An Frederic Perrin
629.Aq frederic.perrin@resel.fr . \ No newline at end of file