demo.mp4
parted- partition managementsfdisk- partition resizing (usually included withutil-linux)e2fsprogs- ext4 filesystem supportcryptsetup- LUKS encryption support
dosfstools- FAT32 filesystem supportntfs-3g- NTFS filesystem supportexfatprogs- exFAT filesystem supportbtrfs-progs- Btrfs filesystem supportxfsprogs- XFS filesystem supportsmartmontools- SMART disk health monitoring
Warning
This tool can perform destructive disk operations. You will be prompted to authenticate for operations requiring sudo.
You can install disktui from crates.io
cargo install disktuiYou can install disktui from the AUR using an AUR helper like paru.
paru -S disktuiRun the following command:
git clone https://github.com/Maciejonos/disktui
cd disktui
cargo build --releaserun with
sudo ./target/release/disktuidisktuiTab or Shift + Tab: Switch between disks and partitions sections.
j or Down: Scroll down.
k or Up: Scroll up.
?: Show help.
q or Esc: Quit the app.
Ctrl + c: Force quit.
i: Show detailed disk information and SMART data.
f: Format entire disk with a filesystem.
p: Create a new partition table (GPT/MBR).
n: Create a new partition.
f: Format selected partition.
m: Mount/unmount selected partition.
r: Resize selected partition (must be unmounted, encrypted partitions cannot be resized).
d: Delete selected partition.
e: Encrypt partition with LUKS2 (destroys all data).
l: Lock/unlock encrypted partition (requires passphrase).
disktui follows terminal ANSI colors
Press e to encrypt a partition with LUKS2, then l to lock/unlock it (requires passphrase). Encrypted partitions show 🔒 (locked) or 🔓 (unlocked) and must be unlocked before mounting or formatting.
MIT