From nobody Thu Nov 07 21:29:08 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XkwF15PNPz5cf8j for ; Thu, 07 Nov 2024 21:29:09 +0000 (UTC) (envelope-from leres@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XkwF14vhXz440y; Thu, 7 Nov 2024 21:29:09 +0000 (UTC) (envelope-from leres@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731014949; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nSEgAv6SM3seRHZIbWmJTDkHNMvwV5DarXu0kmvEEc0=; b=qbPHNvYCS9tNhn7fj64T+asukw21Bn//ovOkjQrqJPKnkRcrUMqV601UZBzIrp1Fiw9G+7 jIHyF4fEqMFvfYr/BatHLgWM7O4nH3VHmocA2mV7vnpo9YiDVe9j0sGxeuN+05L5P9Pzbm ReJZWm8wiQ2KkQw8AGxhJgsFFFU1gfaVtGSiumwr47qWLZhQYNgkUHhC6hsLBkYPOu0ZRp s5eGkqb/CwkX8+FDUfqxyfnAbkzpFCG5UmtX/mNFA623vyVcLZeGa7ebjji1jh4yuXbieo re/LSYEob3WcGgObB5UcS4WxBh+Yf423o/HmtSsJvkgNtSkFmi/ub5SyjgFhsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731014949; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nSEgAv6SM3seRHZIbWmJTDkHNMvwV5DarXu0kmvEEc0=; b=P2IMzMIBudxMOm4HYChSHkxHM5mRSXfUvdb9XzFlT5Z1rmurPtq2uSkYkBv5/0rSWlk+qk hF5x6Avii2rsfYBN4WmZuD+A5mgLg6pWA6Zt3DysA48oTuolnfW/YfeFziNWRqL83sP6CE tD6Z4dN0B1vju+Tuc+f0qondDnNXMHsjJxuweqfDza+1DOUrBo6/e3fAqhVcCdVTYA9V/w q3f10U32IFtIC1/vXgkoX6whhrZI4XMULHJyp2R2VP2jGhyBm78f8BCG/c41PQzeFU37Zv R3syKp55qODByvXuEezHw+YwmhmAFK/kJ/ks/FJT5p8lnkP1pBIY47PslJWIuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731014949; a=rsa-sha256; cv=none; b=pxtghUgylyN7rO/ETLa0qC8NwmdHLSvwBeBKTfViUZdWYTPsGe6xET1gTPNQvvsyW7/Zrf p0331gGGKapnLS1HKV0bMvo65qTalC9+30IyZrXSiNhKmxEj1tTBB1gVYFqtEfkf05V4Bi n824Q0pGRQXFqVy3wExFJbm9r/wE6W9Ozv6i8kUr+g7hVwVwHwhqWCe2UeTmbcM6pj+Hho KWsgJNvuICxlomZHrfIAdjbnNIKV0eoGH48oGXWI83mHBWl70Kyb2PISOGKAsYWO0cZ3Ua d1ZpFudS6DKnSnBDyK//p1f6Zw4mEeqnNbpxDPu/DH4IyXRQwjreyVNgS7ULuw== Received: from [IPV6:fd:1965::2] (unknown [IPv6:2600:1700:ab1b:6800:2e0:edff:fece:8f27]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: leres) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XkwF124GVzJYY; Thu, 7 Nov 2024 21:29:09 +0000 (UTC) (envelope-from leres@freebsd.org) Message-ID: <1498094c-b287-49a0-ad02-e7d517c5d01e@freebsd.org> Date: Thu, 7 Nov 2024 13:29:08 -0800 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: BRT copying feature To: Ronald Klop Cc: Johan Hendriks , FreeBSD Current References: <1568966692.4590.1730895354064@localhost> <97788ab0-db70-4413-8b18-f9d95f1d120f@gmail.com> <982644351.5078.1730980565800@localhost> <2016215695.9786.1730993474125@localhost> From: Craig Leres Content-Language: en-US In-Reply-To: <2016215695.9786.1730993474125@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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