https://www.man7.org/linux/man-pages/man8/losetup.8.html
-P, --partscan
Force the kernel to scan the partition table on a newly
created loop device. Note that the partition table parsing
depends on sector sizes. The default is sector size is 512
bytes, otherwise you need to use the option --sector-size
together with --partscan.