Date: Thu, 7 Nov 2024 13:29:08 -0800 From: Craig Leres <leres@freebsd.org> To: Ronald Klop <ronald-lists@klop.ws> Cc: Johan Hendriks <joh.hendriks@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: BRT copying feature Message-ID: <1498094c-b287-49a0-ad02-e7d517c5d01e@freebsd.org> In-Reply-To: <2016215695.9786.1730993474125@localhost> References: <b8e0bb5f-5d5d-4b47-9c02-3448f148a1c1@gmail.com> <1568966692.4590.1730895354064@localhost> <97788ab0-db70-4413-8b18-f9d95f1d120f@gmail.com> <982644351.5078.1730980565800@localhost> <2016215695.9786.1730993474125@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/7/24 07:31, Ronald Klop wrote: > Another option is this. > > The installer /usr/sbin/bsdinstall uses a script called /usr/libexec/ > bsdinstall/zfsboot. Zfsboot defines this: > > # > # Default options to use when creating zroot pool > # > : ${ZFSBOOT_POOL_CREATE_OPTIONS:=-O compress=lz4 -O atime=off} > > You can set this environment variabele to your liking before starting > bsdinstall. > > ZFSBOOT_POOL_CREATE_OPTIONS="-O compress=lz4 -O atime=off -o > feature@block_cloning=disabled" bsdinstall > > If you are booting from an USB stick installer you can also change the > zfsboot script on the USB stick and restart the installer. > > NB: don't confuse the option with ZFSBOOT_BOOT_POOL_CREATE_OPTIONS. ZFSBOOT_POOL_CREATE_OPTIONS is exactly the hint I needed; why not just allow the user to edit the options? Something along the lines of: https://reviews.freebsd.org/D47478 Add an option to edit the ZFS pool creation options. Craig
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1498094c-b287-49a0-ad02-e7d517c5d01e>