<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/bsdinstall/scripts/zfsboot, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>bsdinstall: Add note to zfsboot pointing to release/tools/vmimage.subr</title>
<updated>2026-02-08T17:17:06+00:00</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2026-02-08T17:17:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=825aaabcc7ac3750b330d3e54bd1ccf349df48c9'/>
<id>825aaabcc7ac3750b330d3e54bd1ccf349df48c9</id>
<content type='text'>
The VM image creation scripts have a copy of this list of datasets which
should be kept in sync, which can otherwise be easily missed, as was the
case in the now-reverted 3e8619e535b6 ("bsdinstall: Create separate
datasets for directories in /usr/ports").
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The VM image creation scripts have a copy of this list of datasets which
should be kept in sync, which can otherwise be easily missed, as was the
case in the now-reverted 3e8619e535b6 ("bsdinstall: Create separate
datasets for directories in /usr/ports").
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "bsdinstall: Create separate datasets for directories in /usr/ports"</title>
<updated>2026-02-08T16:44:42+00:00</updated>
<author>
<name>Ricardo Branco</name>
<email>rbranco@suse.de</email>
</author>
<published>2026-02-08T12:41:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=be3962a383dbbbd6fef458879173f09dc2f2373d'/>
<id>be3962a383dbbbd6fef458879173f09dc2f2373d</id>
<content type='text'>
This reverts commit 3e8619e535b61c99f0dc50cc6c7e237eb82a8be7.

While it's generally a good idea to have separate datasets for things
like this, it breaks git clone with:
fatal: destination path 'ports' already exists and is not an empty directory.

Signed-off-by: Ricardo Branco &lt;rbranco@suse.de&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2006
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 3e8619e535b61c99f0dc50cc6c7e237eb82a8be7.

While it's generally a good idea to have separate datasets for things
like this, it breaks git clone with:
fatal: destination path 'ports' already exists and is not an empty directory.

Signed-off-by: Ricardo Branco &lt;rbranco@suse.de&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2006
</pre>
</div>
</content>
</entry>
<entry>
<title>bsdinstall: Create separate datasets for directories in /usr/ports</title>
<updated>2026-01-10T05:05:37+00:00</updated>
<author>
<name>Ricardo Branco</name>
<email>rbranco@suse.de</email>
</author>
<published>2025-10-12T10:32:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3e8619e535b61c99f0dc50cc6c7e237eb82a8be7'/>
<id>3e8619e535b61c99f0dc50cc6c7e237eb82a8be7</id>
<content type='text'>
Both distfiles &amp; packages contain compressed files.

Signed-off-by: Ricardo Branco &lt;rbranco@suse.de&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1873
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Both distfiles &amp; packages contain compressed files.

Signed-off-by: Ricardo Branco &lt;rbranco@suse.de&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1873
</pre>
</div>
</content>
</entry>
<entry>
<title>bsdinstall: Use fat32 EFI system partition for ZFS</title>
<updated>2025-11-11T18:17:56+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2025-11-07T22:48:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4109cdf0f817162cf3032aa589dd180dfa910025'/>
<id>4109cdf0f817162cf3032aa589dd180dfa910025</id>
<content type='text'>
This is consistent with other operating systems and with bsdinstall's
UFS config and with bsdinstall's ZFS config prior to commit
0b7472b3d8d2.

Fixes: 0b7472b3d8d2 ("Mount the EFI system partition (ESP) on newly-installed systems.")
Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53642
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is consistent with other operating systems and with bsdinstall's
UFS config and with bsdinstall's ZFS config prior to commit
0b7472b3d8d2.

Fixes: 0b7472b3d8d2 ("Mount the EFI system partition (ESP) on newly-installed systems.")
Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53642
</pre>
</div>
</content>
</entry>
<entry>
<title>bsdinstall: Fix typos</title>
<updated>2025-10-18T17:13:16+00:00</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@FreeBSD.org</email>
</author>
<published>2025-10-17T15:16:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4ee348e27143b857445fd261cbe6695d6d57c836'/>
<id>4ee348e27143b857445fd261cbe6695d6d57c836</id>
<content type='text'>
Reviewed by:	emaste
MFC after:	2 days
Differential Revision:	https://reviews.freebsd.org/D53170
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	emaste
MFC after:	2 days
Differential Revision:	https://reviews.freebsd.org/D53170
</pre>
</div>
</content>
</entry>
<entry>
<title>bsdinstall: Add loader.efi to all ESPs we create</title>
<updated>2025-09-30T02:55:46+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2025-09-30T02:46:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=494de51bc0074472d1b01604f085daea0844f240'/>
<id>494de51bc0074472d1b01604f085daea0844f240</id>
<content type='text'>
For proper redundancy, add copies of loader.efi to each of the ESPs we
create when we create multi-volume ZFS datasets. zfsboot creates a list
of secondary ESPs, while bootpart doesn't create any (it's the UFS
partitioning tool) because we don't supporg UFS over gmirror. The
primary ESP is mounted and is what we use efibootmgr to boot from. The
redundant copies allow the system to boot if the primary disks fails.

Sponsored by:		Netflix
MFC After:		2 days
PR:			208802
Reviewed by:		cperciva
Differential Revision:	https://reviews.freebsd.org/D52780
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For proper redundancy, add copies of loader.efi to each of the ESPs we
create when we create multi-volume ZFS datasets. zfsboot creates a list
of secondary ESPs, while bootpart doesn't create any (it's the UFS
partitioning tool) because we don't supporg UFS over gmirror. The
primary ESP is mounted and is what we use efibootmgr to boot from. The
redundant copies allow the system to boot if the primary disks fails.

Sponsored by:		Netflix
MFC After:		2 days
PR:			208802
Reviewed by:		cperciva
Differential Revision:	https://reviews.freebsd.org/D52780
</pre>
</div>
</content>
</entry>
<entry>
<title>bsdinstall: fix vfs.zfs.vdev.min_auto_ashift oid</title>
<updated>2025-09-19T16:02:57+00:00</updated>
<author>
<name>Siva Mahadevan</name>
<email>me@svmhdvn.name</email>
</author>
<published>2025-07-15T16:45:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=87a7b35f04b60956e9aa192680ae80773ec38f14'/>
<id>87a7b35f04b60956e9aa192680ae80773ec38f14</id>
<content type='text'>
Signed-off-by: Siva Mahadevan &lt;me@svmhdvn.name&gt;
PR: 266374
Pull request: https://github.com/freebsd/freebsd-src/pull/1851
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Siva Mahadevan &lt;me@svmhdvn.name&gt;
PR: 266374
Pull request: https://github.com/freebsd/freebsd-src/pull/1851
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
<entry>
<title>bsdinstall: Drop outdated comments about ZFS dataset compression</title>
<updated>2025-09-09T10:00:54+00:00</updated>
<author>
<name>Michael Osipov</name>
<email>michaelo@FreeBSD.org</email>
</author>
<published>2025-08-31T10:10:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f304c5bb8be65df83b86f8a50e1c7982b266262d'/>
<id>f304c5bb8be65df83b86f8a50e1c7982b266262d</id>
<content type='text'>
All datasets on zroot pool are compressed by default since FreeBSD 11.0 [1],
no need to mention that on some specific datasets these days.

[1] 47206692f2cca020891d1eec5028e02c3e6f56c5

Reviewed by:	jrm (mentor), ziaee
MFC after:	3 days
Differential Revision:	 https://reviews.freebsd.org/D52304
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All datasets on zroot pool are compressed by default since FreeBSD 11.0 [1],
no need to mention that on some specific datasets these days.

[1] 47206692f2cca020891d1eec5028e02c3e6f56c5

Reviewed by:	jrm (mentor), ziaee
MFC after:	3 days
Differential Revision:	 https://reviews.freebsd.org/D52304
</pre>
</div>
</content>
</entry>
<entry>
<title>bsdinstall: use the canonical name for compression</title>
<updated>2025-07-28T12:45:26+00:00</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2025-07-28T12:45:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=16045420e7f83489ecd5e2163aa9bb11236962f5'/>
<id>16045420e7f83489ecd5e2163aa9bb11236962f5</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>bsdinstall: Remove support for ZFS + MBR disk layouts</title>
<updated>2025-07-25T19:26:09+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2025-06-25T01:19:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ee110941e35c4354baa2e5b6fd64d3025cff4b7e'/>
<id>ee110941e35c4354baa2e5b6fd64d3025cff4b7e</id>
<content type='text'>
It hasn't worked for some time -- as reported in review D40816
"Installing FreeBSD with Auto ZFS + MBR has been broken ever since the
move to OpenZFS with FreeBSD 13."  It relied on the partition table and
ZFS data overlapping in a very fragile way and is not a good idea.

Reviewed by:	jhb
Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51028
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It hasn't worked for some time -- as reported in review D40816
"Installing FreeBSD with Auto ZFS + MBR has been broken ever since the
move to OpenZFS with FreeBSD 13."  It relied on the partition table and
ZFS data overlapping in a very fragile way and is not a good idea.

Reviewed by:	jhb
Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51028
</pre>
</div>
</content>
</entry>
</feed>
