Page MenuHomeFreeBSD

add packages for libufs, libzfs
ClosedPublic

Authored by ivy on May 4 2025, 1:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 4, 5:57 AM
Unknown Object (File)
Tue, Aug 4, 1:58 AM
Unknown Object (File)
Mon, Aug 3, 8:25 AM
Unknown Object (File)
Sun, Jul 26, 2:45 PM
Unknown Object (File)
Sat, Jul 25, 8:00 AM
Unknown Object (File)
Sat, Jul 25, 3:28 AM
Unknown Object (File)
Wed, Jul 22, 7:20 PM
Unknown Object (File)
Jul 5 2026, 4:27 AM
Subscribers

Details

Summary

currently FreeBSD-utilities depends on both FreeBSD-ufs and FreeBSD-zfs.
this is not desirable, because those are both relatively large packages
and the user may want to remove one or the other – or perhaps both, e.g.
in a jail or embedded system.

the reason for this dependency is that fstyp(8), which is in
FreeBSD-utilities, links both libufs and libzfs. FreeBSD-utilities is
the correct place for fstyp, so we don't want to move that.

instead, add two new packages: libufs contains libufs, and libzfs
contains libzfs plus the ZFS libraries it depends on: libavl, libnvpair,
libspl, libtpool, libumem, libuutil, libzfs_core and libzutil.

with this change, it is possible to remove FreeBSD-ufs and/or
FreeBSD-zfs while leaving FreeBSD-libufs, FreeBSD-libzfs and
FreeBSD-utilities installed.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable