I configured my box to boot from an alternative disk through modifying the existing os. However, some partitions are still being mounted from the internal storage.
In the case of the /home partition, I’ve /dev/dm-0 which is used to decrypt the underlying block device.
But since it’s an exact copy (because I dumped in raw /dev/sda to /dev/sdb), how to know if the device behind /dev/dm-0 is /dev/sda47 or /dev/sdc47?