From 3c8a5ce5903e65ae556960a78ea241ef1013a4dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Mon, 17 May 2021 18:09:46 +0200 Subject: [PATCH] zfs-share.8: document -l flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Description stolen from zfs-mount.8 Reviewed-by: Don Brady Reviewed-by: Brian Behlendorf Reviewed-by: John Kennedy Signed-off-by: Ahelenia ZiemiaƄska Closes #12067 --- man/man8/zfs-share.8 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/man/man8/zfs-share.8 b/man/man8/zfs-share.8 index e30d538814ca..89121ead0958 100644 --- a/man/man8/zfs-share.8 +++ b/man/man8/zfs-share.8 @@ -29,7 +29,7 @@ .\" Copyright 2018 Nexenta Systems, Inc. .\" Copyright 2019 Joyent, Inc. .\" -.Dd June 30, 2019 +.Dd May 17, 2021 .Dt ZFS-SHARE 8 .Os . @@ -39,6 +39,7 @@ .Sh SYNOPSIS .Nm zfs .Cm share +.Op Fl l .Fl a Ns | Ns Ar filesystem .Nm zfs .Cm unshare @@ -49,10 +50,19 @@ .It Xo .Nm zfs .Cm share +.Op Fl l .Fl a Ns | Ns Ar filesystem .Xc Shares available ZFS file systems. .Bl -tag -width "-a" +.It Fl l +Load keys for encrypted filesystems as they are being mounted. +This is equivalent to executing +.Nm zfs Cm load-key +on each encryption root before mounting it. +Note that if a filesystem has +.Sy keylocation Ns = Ns Sy prompt , +this will cause the terminal to interactively block after asking for the key. .It Fl a Share all available ZFS file systems. Invoked automatically as part of the boot process.