A have a root file system (file system - image containinf folder structure and content) on a flash drive. The flash drive uses UBI as the underlying file system file system - the way the data blocks are mapped into files, like when you say that you're using ext4).
rootfs on / type rootfs (rw)
ubi0:root on / type ubifs (rw,sync)
I know how to do a backup with dd when there is a physical drive as the first parameter (example. instead of rootfs there would be a /dev/sda), however here I don't know how to address the drive in the current scenario (what is the path for rootfs).
How do i detect to which file does footfs or ubi0:root correspond to?