disk: part: sandbox support in dev_print()

Commands like 'fatinfo' call dev_print() to print device information. If
the block device is created via 'host bind', we should print accurate
information.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
45 jobs for master in 44 minutes and 18 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Testsuites
passed Build envtools #213959
all

00:00:14

passed Build tools-only #213958
all

00:00:16

passed Check for configs without MAINTAINERS entry #213957
all

00:00:16

passed cppcheck #213953
all

00:01:05

passed grep TODO/FIXME/HACK #213954
all

00:00:16

passed htmldocs #213955
all

00:00:46

passed Run binman, buildman, dtoc, Kconfig and patman testsuites #213960
all

00:01:31

passed Run tests for Nokia RX-51 (aka N900) #213961
all

00:02:40

passed sloccount #213956
all

00:00:48

 
  Test.Py
passed evb-ast2500 test.py #213965
all

00:00:28

passed integratorcp_cm926ejs test.py #213969
all

00:00:51

passed qemu_arm64 test.py #213971
all

00:01:33

passed qemu_arm test.py #213970
all

00:01:07

passed qemu_malta64el test.py #213979
all

00:00:52

passed qemu_malta64 test.py #213978
all

00:00:32

passed qemu_maltael test.py #213977
all

00:00:27

passed qemu_malta test.py #213976
all

00:00:32

passed qemu_mips64el test.py #213975
all

00:00:54

passed qemu_mips64 test.py #213974
all

00:00:52

passed qemu_mipsel test.py #213973
all

00:00:28

passed qemu_mips test.py #213972
all

00:00:27

passed qemu-ppce500 test.py #213980
all

00:00:26

passed qemu-riscv32_spl test.py #213983
all

00:00:29

passed qemu-riscv32 test.py #213981
all

00:01:14

passed qemu-riscv64_spl test.py #213984
all

00:01:00

passed qemu-riscv64 test.py #213982
all

00:00:55

passed qemu-x86_64 test.py #213986
all

00:01:10

passed qemu-x86 test.py #213985
all

00:01:01

passed r2dplus_i82557c test.py #213987
all

00:00:52

passed r2dplus_pcnet test.py #213988
all

00:00:52

passed r2dplus_rtl8139 test.py #213989
all

00:00:27

passed r2dplus_tulip test.py #213990
all

00:00:52

passed sandbox_flattree test.py #213966
all

00:01:09

passed sandbox_spl test.py #213964
all

00:00:35

passed sandbox test.py #213962
all

00:03:47

passed sandbox with clang test.py #213963
all

00:03:42

passed vexpress_ca15_tc2 test.py #213967
all

00:00:28

passed vexpress_ca9x4 test.py #213968
all

00:00:27

passed xilinx_versal_virt test.py #213992
all

00:00:27

passed xilinx_zynq_virt test.py #213991
all

00:00:41

passed xtfpga test.py #213993
all

00:00:50

 
  World Build
passed build all 32bit ARM platforms #213994
all

00:32:41

passed build all 64bit ARM platforms #213995
all

00:24:12

passed build all other platforms #213997
all

00:05:19

passed build all PowerPC platforms #213996
all

00:03:25