mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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 (cherry picked from commit 16045420e7f83489ecd5e2163aa9bb11236962f5)
This commit is contained in:
parent
9b6cdc5678
commit
f5c2abac7b
2 changed files with 2 additions and 2 deletions
|
|
@ -429,7 +429,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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue