99.10. btrfs-progs-7.1
Btrfs filesystem utilities
7.1-1 · GPL-2.0-only AND LGPL-2.1-or-later · 0.4 SBU · 7.6 MiB, 58 files · 41_system, 510 of 1047 · ports/core/filesystem/btrfs-progs
Homepage: https://btrfs.readthedocs.io
Why it is in KDOS. The comment above the 5 ports from exfatprogs to xfsprogs in script/phases/41_system/packages.d/filesystem.txt:
The kernel mounts btrfs, xfs, f2fs, ntfs3 and exfat, and these are what create them. kinstall's filesystem menu depends on them.
Depends on: util-linux, lzo, zstd, zlib, eudev, e2fsprogs, musl-fts, python3-sphinx.
Required by (5): buildah, gparted, kpmcore, libblockdev, udisks2.
Sources: btrfs-progs-7.1.tar.xz (4.8 MiB). Every step kpkg takes applies to this port.
Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.
--disable-python, line 18: python3
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install btrfs-progs'
build.sh:
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--bindir=/usr/bin \
--disable-static \
--disable-backtrace \
--disable-python \
--enable-documentation \
--enable-convert \
--with-convert=ext2 \
--enable-zoned \
--enable-zstd \
--enable-lzo \
--enable-libudev \
--with-crypto=builtin
_sphinx="-D extensions=sphinx.builders.manpage"
make O="$_sphinx"
make DESTDIR=$PKG O="$_sphinx" install
Programs: btrfs, btrfs-convert, btrfs-find-root, btrfs-image, btrfs-map-logical, btrfs-select-super, btrfsck, btrfstune, fsck.btrfs, mkfs.btrfs.
Libraries: libbtrfs.so, libbtrfsutil.so.
Directories: /usr/include/btrfs, /usr/share/licenses/btrfs-progs.