Re: libsa xzfs_fsops?

From: Warner Losh <imp_at_bsdimp.com>
Date: Wed, 17 Jan 2024 16:27:36 UTC
On Tue, Jan 16, 2024 at 3:16 AM Bjoern A. Zeeb <
bzeeb-lists@lists.zabbadoz.net> wrote:

> how hard would it be to add xzfs_fsops to libsa like we already have for
> gz and bz2 and lz4(undocumented?) ?
>

It wouldn't be horribly hard, though those hooks are for filesystems full
of files that
are compressed, which is funky to generate and not well supported after
boot.

Patches to fix the lz4 oversight are welcome. The loader was a dumping
ground for many years, and it grew lz4 support during this time.

It would also almost certainly not be in the x86 BIOS boot path: that's
already too large and so it's closed to new features (at least by default,
you can customize it however you want).

Warner