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)
Thu, Aug 21, 10:45 PM
Unknown Object (File)
Sat, Aug 16, 7:42 PM
Unknown Object (File)
Thu, Aug 14, 11:44 AM
Unknown Object (File)
Tue, Jul 29, 12:36 AM
Unknown Object (File)
Mon, Jul 28, 6:52 PM
Unknown Object (File)
Sun, Jul 27, 2:06 AM
Unknown Object (File)
Sat, Jul 26, 3:54 PM
Unknown Object (File)
Fri, Jul 25, 11:12 PM
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