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)
Mon, Nov 24, 11:24 AM
Unknown Object (File)
Thu, Nov 20, 5:07 PM
Unknown Object (File)
Thu, Nov 20, 5:06 PM
Unknown Object (File)
Thu, Nov 20, 5:06 PM
Unknown Object (File)
Thu, Nov 20, 4:58 PM
Unknown Object (File)
Sat, Nov 8, 11:04 AM
Unknown Object (File)
Sun, Nov 2, 12:03 AM
Unknown Object (File)
Thu, Oct 30, 3:11 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