Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

99.11. xfsprogs-7.2.0

XFS filesystem utilities

7.2.0-1 · GPL-2.0-only AND LGPL-2.1-only · 1.7 SBU · 7.4 MiB, 122 files · 41_system, 512 of 1047 · ports/core/filesystem/xfsprogs

Homepage: https://xfs.wiki.kernel.org

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, inih, liburcu, gettext, icu, libedit.

Required by (3): gparted, kpmcore, libblockdev.

Sources: xfsprogs-7.2.0.tar.xz (1.5 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install xfsprogs'

build.sh:

export DEBUG=-DNDEBUG OPTIMIZER=-O2
./configure \
	--prefix=/usr \
	--libdir=/usr/lib \
	--enable-lib64=no \
	--localstatedir=/var \
	--sbindir=/usr/sbin \
	--enable-gettext=yes \
	--enable-editline=yes \
	--enable-termcap=no \
	--enable-scrub=yes \
	--enable-libicu=yes \
	--enable-healer=yes \
	--enable-lto=no \
	--with-systemd-unit-dir=no \
	--with-udev-rule-dir=no \
	--with-crond-dir=no \
	ac_cv_search_dm_task_create=no

make

make -j1 DESTDIR=$PKG install install-dev

rm -f $PKG/usr/sbin/xfs_scrub_all $PKG/usr/share/man/man8/xfs_scrub_all.8

Programs: fsck.xfs, mkfs.xfs, xfs_admin, xfs_bmap, xfs_copy, xfs_db, xfs_estimate, xfs_freeze, xfs_fsr, xfs_growfs, xfs_info, xfs_io, xfs_logprint, xfs_mdrestore, xfs_metadump, xfs_mkfile, xfs_ncheck, xfs_property, xfs_protofile, xfs_quota, xfs_repair, xfs_rtcp, xfs_scrub, xfs_spaceman.

Libraries: libhandle.a, libhandle.so.

Directories: /usr/include/xfs, /usr/libexec/xfsprogs, /usr/share/doc/xfsprogs, /usr/share/licenses/xfsprogs, /usr/share/xfsprogs, /var/lib/xfsprogs.