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

98.14. nvme-cli-3.1

NVMe management — the drive's log pages, SMART data and self-tests

3.1-1 · GPL-2.0-or-later AND LGPL-2.1-or-later · 1.4 SBU · 6.4 MiB, 974 files · 41_system, 395 of 1047 · ports/core/disk/nvme-cli

Homepage: https://github.com/linux-nvme/nvme-cli

Depends on: meson, ninja, pkgconf, json-c, openssl, keyutils, kmod.

Required by: no port names it.

Sources: nvme-cli-3.1.tar.gz (2.7 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.

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

build.sh:

meson setup build \
	--prefix=/usr \
	--sysconfdir=/etc \
	--libdir=lib \
	--buildtype=release \
	--wrap-mode=nodownload \
	-Djson-c=enabled \
	-Dlibkmod=enabled \
	-Dopenssl=enabled \
	-Dkeyutils=enabled \
	-Dnvmf-autoconnect=disabled \
	-Dpython=disabled \
	-Ddocs=man \
	-Ddocs-build=false \
	-Dtests=false \
	-Dexamples=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

Programs: nvme.

Libraries: libnvme3.so.

Directories: /etc/nvme, /usr/include/libnvme3, /usr/share/licenses/nvme-cli.