diff options
author | Tom Caputi <[email protected]> | 2019-06-28 15:38:37 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-06-28 12:38:37 -0700 |
commit | 765d1f0644658d772addeb9b2dd5039ac43177ad (patch) | |
tree | 9c7bf6299e4a9109a1759d4ac9227774f148a259 /man/man8 | |
parent | 679b0f2abf4cfce9e1520f877bd1970c6cb6426b (diff) |
Add 'zfs umount -u' for encrypted datasets
This patch adds the ability for the user to unload keys for
datasets as they are being unmounted. This is analogous to
'zfs mount -l'.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Alek Pinchuk <[email protected]>
Signed-off-by: Tom Caputi <[email protected]>
Closes: #8917
Closes: #8952
Diffstat (limited to 'man/man8')
-rw-r--r-- | man/man8/zfs.8 | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/man/man8/zfs.8 b/man/man8/zfs.8 index 0a23466b7..7058ec503 100644 --- a/man/man8/zfs.8 +++ b/man/man8/zfs.8 @@ -182,7 +182,7 @@ .Fl a | Ar filesystem .Nm .Cm unmount -.Op Fl f +.Op Fl fu .Fl a | Ar filesystem Ns | Ns Ar mountpoint .Nm .Cm share @@ -3462,7 +3462,7 @@ Attempt to force mounting of all filesystems, even those that couldn't normally .It Xo .Nm .Cm unmount -.Op Fl f +.Op Fl fu .Fl a | Ar filesystem Ns | Ns Ar mountpoint .Xc Unmounts currently mounted ZFS file systems. @@ -3470,13 +3470,16 @@ Unmounts currently mounted ZFS file systems. .It Fl a Unmount all available ZFS file systems. Invoked automatically as part of the shutdown process. +.It Fl f +Forcefully unmount the file system, even if it is currently in use. +.El +.It Fl u +Unload keys for any encryption roots unmounted by this command. +.El .It Ar filesystem Ns | Ns Ar mountpoint Unmount the specified filesystem. The command can also be given a path to a ZFS file system mount point on the system. -.It Fl f -Forcefully unmount the file system, even if it is currently in use. -.El .It Xo .Nm .Cm share |