partprobe
Partprobe is a command line tool in Linux systems used for manipulating disk partitions without the need to restart the system. It is a part of the parted package and allows users to inform the operating system about changes made to the disk partition table. When new partitions are created or existing ones are resized, deleted, or modified, partprobe refreshes the kernel's partition table, enabling the kernel to recognize these changes instantly. This information is crucial as it ensures that the kernel uses the correct partition layout for disk management and data access. Partprobe is especially useful in scenarios where disk partition changes are made in real-time, such as during system administration or disk management operations. Additionally, partprobe can also be utilized to inquire about the current partition table of a disk, providing users with accurate and up-to-date information.
List of commands for partprobe:
-
partprobe:tldr:1d0dc partprobe: Notify the kernel of partition table changes and show a summary of devices and their partitions.$ sudo partprobe --summarytry on your machineexplain this command
-
partprobe:tldr:5cd87 partprobe: Notify the operating system kernel of partition table changes.$ sudo partprobetry on your machineexplain this command
-
partprobe:tldr:d7d46 partprobe: Show a summary of devices and their partitions but don't notify the kernel.$ sudo partprobe --summary --dry-runtry on your machineexplain this command