partprobe

informs the operating system kernel of partition table changes

TLDR

Notify kernel of partition changes
$ sudo partprobe
Show summary of changes
$ sudo partprobe -s
Dry run with summary
$ sudo partprobe -d -s
Probe a specific device
$ sudo partprobe /dev/[sda]

SYNOPSIS

partprobe [OPTIONS] [device...]

DESCRIPTION

partprobe informs the operating system kernel of partition table changes. After modifying partitions using fdisk, parted, or similar tools, partprobe updates the kernel's partition table without requiring a reboot.

PARAMETERS

-d, --dry-run

Don't actually inform the kernel, just print what would be done
-s, --summary
Show a summary of devices and their partitions
-h, --help
Show help message
-v, --version
Show version

INSTALL

sudo apt install parted
sudo dnf install parted
sudo pacman -S parted
sudo apk add parted
sudo zypper install parted
nix profile install nixpkgs#parted

CAVEATS

Cannot update partitions that are in use or mounted. The kernel may refuse to update the partition table if any partition on the device is busy. In such cases, a reboot may be required.

HISTORY

partprobe is part of the parted package, providing partition table synchronization with the kernel.

SEE ALSO

parted(8), fdisk(8), lsblk(8)