LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

partprobe

informs the operating system kernel of partition table changes

TLDR

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

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
copy
sudo dnf install parted
copy
sudo pacman -S parted
copy
sudo apk add parted
copy
sudo zypper install parted
copy
nix profile install nixpkgs#parted
copy

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid