partx

Parse a partition table and tell the kernel about it.
More information.
sudo partx --list {path/to/device_or_disk_image}
sudo partx --add --verbose {path/to/device_or_disk_image}
sudo partx --delete {path/to/device_or_disk_image}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY