From 11f6127aba6b9aa54bc86e70581aebeb7d160db4 Mon Sep 17 00:00:00 2001 From: kpande Date: Tue, 19 Feb 2019 11:10:57 -0800 Subject: [PATCH] zfs mount man page should document legacy behaviour Document legacy mount behavior. Reviewed by: Allan Jude Reviewed by: Matt Ahrens Reviewed-by: Brian Behlendorf Reviewed-by: bunder2015 Reviewed-by: loli10K Signed-off-by: Kash Pande Closes #2900 Closes #8414 --- man/man8/zfs.8 | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/man/man8/zfs.8 b/man/man8/zfs.8 index 551089609..c4c172155 100644 --- a/man/man8/zfs.8 +++ b/man/man8/zfs.8 @@ -3304,16 +3304,24 @@ Displays all ZFS file systems currently mounted. .Op Fl o Ar options .Fl a | Ar filesystem .Xc -Mounts ZFS file systems. +Mount ZFS filesystem on a path described by its +.Sy mountpoint +property, if the path exists and is empty. If +.Sy mountpoint +is set to +.Em legacy , +the filesystem should be instead mounted using +.Xr mount 8 . .Bl -tag -width "-O" .It Fl O -Perform an overlay mount. +Perform an overlay mount. Allows mounting in non-empty +.Sy mountpoint . See .Xr mount 8 for more information. .It Fl a Mount all available ZFS file systems. -Invoked automatically as part of the boot process. +Invoked automatically as part of the boot process if configured. .It Ar filesystem Mount the specified filesystem. .It Fl o Ar options -- 2.39.2