The branch main has been updated by ivy:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=16045420e7f83489ecd5e2163aa9bb11236962f5

commit 16045420e7f83489ecd5e2163aa9bb11236962f5
Author:     Lexi Winter <i...@freebsd.org>
AuthorDate: 2025-07-28 12:45:26 +0000
Commit:     Lexi Winter <i...@freebsd.org>
CommitDate: 2025-07-28 12:45:26 +0000

    bsdinstall: use the canonical name for compression
    
    According to zfsprops(7), the canonical property for the compression
    algorithm is "compression", with "compress" accepted as an alternate
    name.  Use the canonical name in bsdinstall.
    
    While here, change "lz4" to "on" so we pick up any future changes in
    the default compression algorithm.
    
    MFC after:      1 week
    Reviewed by:    delphij
    Differential Revision:  https://reviews.freebsd.org/D51572
---
 usr.sbin/bsdinstall/bsdinstall.8    | 2 +-
 usr.sbin/bsdinstall/scripts/zfsboot | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr.sbin/bsdinstall/bsdinstall.8 b/usr.sbin/bsdinstall/bsdinstall.8
index 8fadacab9189..181abdcf9d05 100644
--- a/usr.sbin/bsdinstall/bsdinstall.8
+++ b/usr.sbin/bsdinstall/bsdinstall.8
@@ -451,7 +451,7 @@ Each option must be preceded by the -O flag to be taken 
into consideration
 or the pool will not be created due to errors using the command
 .Cm zpool .
 Default:
-.Dq Li "-O compress=lz4 -O atime=off"
+.Dq Li "-O compression=on -O atime=off"
 .It Ev ZFSBOOT_BEROOT_NAME
 Name for the boot environment parent dataset.
 This is a non-mountable dataset meant to be a parent dataset where different
diff --git a/usr.sbin/bsdinstall/scripts/zfsboot 
b/usr.sbin/bsdinstall/scripts/zfsboot
index 60feec28e888..a3c1e2ddb89f 100755
--- a/usr.sbin/bsdinstall/scripts/zfsboot
+++ b/usr.sbin/bsdinstall/scripts/zfsboot
@@ -51,7 +51,7 @@ f_include $BSDCFG_SHARE/variable.subr
 #
 # Default options to use when creating zroot pool
 #
-: ${ZFSBOOT_POOL_CREATE_OPTIONS:=-O compress=lz4 -O atime=off}
+: ${ZFSBOOT_POOL_CREATE_OPTIONS:=-O compression=on -O atime=off}
 
 #
 # Default name for the boot environment parent dataset

Reply via email to