maciejbula.dev

Email

hello@maciejbula.dev
Back to projects
Free Open source Rust

disktui

disktui is a terminal interface for managing disks and partitions on Linux. It handles formatting, resizing, mounting, LUKS encryption, and SMART health monitoring without leaving the terminal — all driven by vim-style keybindings.

Features

  • Disk and partition management — create, format, resize, delete, mount, and unmount from one TUI
  • Partition tables — create new GPT or MBR tables on a disk
  • Filesystem support — ext4, FAT32, NTFS, exFAT, Btrfs, and XFS
  • LUKS2 encryption — encrypt partitions, lock and unlock with a passphrase
  • SMART monitoring — detailed disk information and health data
  • Vim-style navigationj/k to scroll, Tab to switch sections, single-key actions
  • ANSI theming — follows your terminal’s color scheme automatically

Safety

disktui performs destructive operations on real disks. Operations requiring elevated permissions will prompt for sudo authentication. Read carefully before confirming.