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

98. The disk shelf, 41_system

Block devices: partitioning, RAID, LVM, block encryption, SMART, NVMe, recovery, image writing and async I/O

The ports of this shelf that 41_system installs, in build order.

Version
liburing 2.15 Linux kernel io_uring access library
gptfdisk 1.0.10 A text-mode partitioning tool that works on GUID Partition Table (GPT) disks
hdparm 9.65 Set and read ATA power management, spindown and secure erase
ddrescue 1.30 Image a failing disk with a resumable mapfile
partclone 0.3.50 Filesystem-aware imaging — copies the used blocks and skips the rest
caligula 0.5.0 Writes an image to a removable disk, with a progress display and a verify pass
libaio 0.3.113 The Linux-native asynchronous I/O facility (aio) library
libiscsi 1.20.3 Userspace iSCSI initiator library and client tools (iscsi-ls, iscsi-inq, iscsi-swp)
smartmontools 7.5 SMART attribute reporting and disk self-tests
mdadm 4.6 Linux software RAID management
libnvme 1.16.2 C library for NVM Express on Linux
lvm2 2.03.42 Logical volume management tools
thin-provisioning-tools 1.3.4 thin_check and its family, without which LVM refuses to activate a thin pool
nvme-cli 3.1 NVMe management — the drive's log pages, SMART data and self-tests
parted 3.8 Disk partitioning and partition resizing tool
f3 10.0 Tests a flash drive's real capacity, detecting counterfeit drives
cryptsetup 2.8.8 Used to set up transparent encryption of block devices using the kernel crypto API
libbytesize 2.12 Library for working with arbitrarily large sizes in bytes
libatasmart 0.19 ATA S.M.A.R.T. reading and parsing library
libstoragemgmt 1.11.0 Storage array and local disk management library, the lsmd plugin daemon and lsmcli
ndctl 85 Userspace tools and libraries for NVDIMM, DAX and CXL devices (ndctl, daxctl, cxl)
ubdsrv 1.8 ublk userspace block devices — libublksrv, and the ublk tool with its loop, null, NBD and NFS targets