Re-read partition table without machine reboot using partprobe
utility which is a part of parted package.
Install parted
package.
$ sudo apt-get install parted
Display simple summary without kernel update.
$ sudo partprobe --dry-run --summary
/dev/sda: msdos partitions 1 2 3 4 <5 6>
Inform the operating system of partition table changes and display simple summary.
$ sudo partprobe --summary
/dev/sda: msdos partitions 1 /dev/nvme0n1: gpt partitions 1 2
Inform the operating system of partition table changes on specific device.
$ sudo partprobe /dev/sda
(no output)