Very easy:
lsblk -fp
Description from the man page:
-f, --fs
Output info about filesystems. This option is equivalent to -o NAME,FSTYPE,LABEL,UUID,MOUNTPOINT. The authoritative information about filesystems and raids is provided by the blkid(8) command.
-p, --paths
Print full device paths.
On both of the following distributions I have tested the command:
- Red Hat Enterprise Linux 8.1 (Ootpa)
- Ubuntu 18.04.3 LTS (Bionic Beaver)
Result:
$ lsblk -f
NAME FSTYPE LABEL UUID MOUN
/dev/nvme0n1
├─/dev/nvme0n1p1 vfat BOOT xxxx-7xxD /boo
├─/dev/nvme0n1p2
├─/dev/nvme0n1p3 ntfs Windows 22xxxxxxxx1222B3001
├─/dev/nvme0n1p4 ntfs Recovery xxxx1222222xxxx1
├─/dev/nvme0n1p5 ext4 xxxxxx-5xx9-4xxb-xxxx-xxxxxxxxxx1 /boo
├─/dev/nvme0n1p6
├─/dev/nvme0n1p7 ext4 xxxxxx-6xxb-4xx6-xxd7-xxxxxxxxxxxx
└─/dev/nvme0n1p8 crypto_LUKS xxxxxx-exx0-415a-xxxx-xxxxxxxxxxxx
└─/dev/mapper/lukslvm LVM2_member xxxxxx-lxxH-Rxxn-xxxx-xxxx1-xxxxxx
├─/dev/mapper/vgubuntu-swap swap xxxxxx-5xx9-4xxb-xxxx-xxxxxxxxxxxx [SWA
└─/dev/mapper/vgubuntu-root ext4 xxxxxx-fxxa-4xxd-9e41-xxxxxxxxxxxx /