[Sony Cross-Device General] serajr:
You guessed it correctly!

You can also get partitions with shell commands (as root):

C:\Users\Sera>adb shell
F8131:/ $ su
F8131:/ # [B][COLOR="Blue"]ls -al /dev/block/bootdevice/by-name[/COLOR][/B]
total 0
drwxr-xr-x 2 root root 1140 1970-09-07 04:45 .
drwxr-xr-x 4 root root 1220 1970-09-07 04:45 ..
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 [B][COLOR="Blue"]FOTAKernel -> /dev/block/mmcblk0p45[/COLOR][/B]
lrwxrwxrwx 1 root root 20 1970-09-07 04:45 LTALabel -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 Qnovo -> /dev/block/mmcblk0p49
lrwxrwxrwx 1 root root 20 1970-09-07 04:45 TA -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 aboot -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 abootbak -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 apdp -> /dev/block/mmcblk0p26
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 apps_log -> /dev/block/mmcblk0p47
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 boot -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 cache -> /dev/block/mmcblk0p35
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 cmnlib -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 cmnlib64 -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 cmnlib64bak -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 cmnlibbak -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 ddr -> /dev/block/mmcblk0p30
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 devcfg -> /dev/block/mmcblk0p38
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 devcfgbak -> /dev/block/mmcblk0p39
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 devinfo -> /dev/block/mmcblk0p25
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 diag -> /dev/block/mmcblk0p48
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 dpo -> /dev/block/mmcblk0p28
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 dsp -> /dev/block/mmcblk0p24
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 frp -> /dev/block/mmcblk0p40
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 fsg -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 20 1970-09-07 04:45 hyp -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 hypbak -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 keymaster -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 keymasterbak -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 keystore -> /dev/block/mmcblk0p37
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 modem -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 modemst1 -> /dev/block/mmcblk0p33
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 modemst2 -> /dev/block/mmcblk0p34
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 msadp -> /dev/block/mmcblk0p27
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 oem -> /dev/block/mmcblk0p42
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 persist -> /dev/block/mmcblk0p36
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 pmic -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 pmicbak -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 rdimage -> /dev/block/mmcblk0p46
lrwxrwxrwx 1 root root 20 1970-09-07 04:45 rpm -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 20 1970-09-07 04:45 rpmbak -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 s1sbl -> /dev/block/mmcblk0p43
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 s1sblbak -> /dev/block/mmcblk0p44
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 sec -> /dev/block/mmcblk0p31
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 splash -> /dev/block/mmcblk0p29
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 ssd -> /dev/block/mmcblk0p32
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 sti -> /dev/block/mmcblk0p41
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 system -> /dev/block/mmcblk0p55
lrwxrwxrwx 1 root root 20 1970-09-07 04:45 tz -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 20 1970-09-07 04:45 tzbak -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 tzs1attest -> /dev/block/mmcblk0p50
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 tzs1attestbak -> /dev/block/mmcblk0p51
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 tzs1sbl -> /dev/block/mmcblk0p52
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 tzs1sblbak -> /dev/block/mmcblk0p53
lrwxrwxrwx 1 root root 21 1970-09-07 04:45 userdata -> /dev/block/mmcblk0p54
lrwxrwxrwx 1 root root 20 1970-09-07 04:45 xbl -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 20 1970-09-07 04:45 xblbak -> /dev/block/mmcblk0p4

F8131:/ # [B][COLOR="Blue"]cat /proc/partitions[/COLOR][/B]
major minor #blocks name

7 0 98304 loop0
254 0 786432 zram0
179 0 30535680 mmcblk0
179 1 2048 mmcblk0p1
179 2 16384 mmcblk0p2
179 3 2048 mmcblk0p3
179 4 2048 mmcblk0p4
179 5 2048 mmcblk0p5
179 6 2048 mmcblk0p6
179 7 500 mmcblk0p7
179 8 500 mmcblk0p8
179 9 512 mmcblk0p9
179 10 512 mmcblk0p10
179 11 512 mmcblk0p11
179 12 512 mmcblk0p12
179 13 2048 mmcblk0p13
179 14 1024 mmcblk0p14
179 15 1024 mmcblk0p15
179 16 65536 mmcblk0p16
179 17 512 mmcblk0p17
179 18 512 mmcblk0p18
179 19 256 mmcblk0p19
179 20 256 mmcblk0p20
179 21 256 mmcblk0p21
179 22 256 mmcblk0p22
179 23 97280 mmcblk0p23
179 24 16384 mmcblk0p24
179 25 1 mmcblk0p25
179 26 256 mmcblk0p26
179 27 256 mmcblk0p27
179 28 1 mmcblk0p28
179 29 33424 mmcblk0p29
179 30 1024 mmcblk0p30
179 31 128 mmcblk0p31
259 0 8 mmcblk0p32
259 1 2048 mmcblk0p33
259 2 2048 mmcblk0p34
259 3 262144 mmcblk0p35
259 4 32768 mmcblk0p36
259 5 512 mmcblk0p37
259 6 128 mmcblk0p38
259 7 128 mmcblk0p39
259 8 512 mmcblk0p40
259 9 2048 mmcblk0p41
259 10 409600 mmcblk0p42
259 11 40960 mmcblk0p43
259 12 40960 mmcblk0p44
[B][COLOR="Blue"] 259 13 65536 mmcblk0p45[/COLOR][/B]
259 14 32768 mmcblk0p46
259 15 10240 mmcblk0p47
259 16 16384 mmcblk0p48
259 17 20480 mmcblk0p49
259 18 100 mmcblk0p50
259 19 100 mmcblk0p51
259 20 512 mmcblk0p52
259 21 512 mmcblk0p53
259 22 21667840 mmcblk0p54
259 23 7659520 mmcblk0p55
179 32 4096 mmcblk0rpmb
179 64 62367744 mmcblk1
179 65 62351360 mmcblk1p1
253 0 21667824 dm-0
F8131:/ #

NODE_MMC=259
NAME_FOTA="mmcblk0p45"
NAME_FOTA_D=13

For Xperia XP