git: 895a97c875a0 - main - rc.d/zfs: align zfs mount verbosity in host and jail environments

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sat, 07 Mar 2026 07:51:28 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=895a97c875a0f3fed3d4399762f6262b5a4aedb9

commit 895a97c875a0f3fed3d4399762f6262b5a4aedb9
Author:     Samvel Khalatyan <sn.khalatyan@gmail.com>
AuthorDate: 2026-02-18 17:00:13 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2026-03-07 07:51:16 +0000

    rc.d/zfs: align zfs mount verbosity in host and jail environments
    
    ZFS script runs different startup seqneces depending on where it runs:
    on the host (`zfs_start_main()`) or in a jail (`zfs_start_jail()`):
    
    - `zfs_start_main()` mounts ZFS datasets in verbose mode `zfs mount -va`
    - `zfs_start_jail()` mounts ZFS datasets silently `zfs mount -a`.
    
    This change aligns the verbose levels.
    
    NO_ISSUE
    
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/2030
---
 libexec/rc/rc.d/zfs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/rc.d/zfs b/libexec/rc/rc.d/zfs
index 99156332e47b..7c8c3af28d31 100755
--- a/libexec/rc/rc.d/zfs
+++ b/libexec/rc/rc.d/zfs
@@ -19,7 +19,7 @@ required_modules="zfs"
 zfs_start_jail()
 {
 	if check_jail mount_allowed; then
-		zfs mount -a
+		zfs mount -va
 	fi
 }