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)
Wed, Oct 8, 9:25 PM
Unknown Object (File)
Sep 13 2025, 5:46 AM
Unknown Object (File)
Sep 12 2025, 3:49 PM
Unknown Object (File)
Sep 12 2025, 1:26 PM
Unknown Object (File)
Sep 7 2025, 6:49 AM
Unknown Object (File)
Aug 21 2025, 10:45 PM
Unknown Object (File)
Aug 16 2025, 7:42 PM
Unknown Object (File)
Aug 14 2025, 11:44 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