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

291.5. kdf-26.08.2

Disk free — mounted filesystems, their usage and mount points, with a tray mounter

26.08.2-1 · GPL-2.0-or-later · 1.1 SBU · 641.0 KiB, 33 files · 44_apps, 132 of 422 · ports/core/files/kdf

Homepage: https://apps.kde.org/kdf/

KDiskFree lists every mounted filesystem with its type, size, free space, usage bar and mount point, and mounts or unmounts the entries of /etc/fstab with a click. The port installs three front ends over one private library: the kdf window, kwikdisk, a tray icon with the same list as a menu, and a Storage Devices page for System Settings.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kconfigwidgets, kcoreaddons, ki18n, kiconthemes, kjobwidgets, kio, kcmutils, kservice, knotifications, kwidgetsaddons, kxmlgui, kstatusnotifieritem, kcrash, kdoctools, coreutils, util-linux.

Required by (1): kde-gear-utilities.

Sources: kdf-26.08.2.tar.xz (471.5 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install kdf'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_TESTING=OFF \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Programs: kdf, kwikdisk.

Libraries: libkdfprivate.so.

Directories: /usr/share/doc/HTML/en/kcontrol/blockdevices, /usr/share/doc/HTML/en/kdf, /usr/share/licenses/kdf.

The list is the output of df -kT, run as a child process and parsed by column, and the mount points are read from /etc/fstab. The -T column is what gives each row its type, so the program needs a df that has it: coreutils’ in /usr/bin does, and it is in depends for run time only. Mounting runs mount %d and unmounting umount %d through the shell command line kdf builds, which util-linux answers; an ordinary user can mount only the fstab entries marked user.

The tray icon is a StatusNotifierItem, so kwikdisk shows only where a tray host is running, as it is in the Plasma panel.