mbox series

[0/2] disk: part: sandbox support in dev_print()

Message ID 20210125115715.105568-1-xypron.glpk@gmx.de
Headers show
Series disk: part: sandbox support in dev_print() | expand

Message

Heinrich Schuchardt Jan. 25, 2021, 11:57 a.m. UTC
Without the series the fatinfo command shows an error for host file
backed block devices:

    => host bind 0 ../sandbox.img
    => fatinfo host 0:1
    Interface:  Unknown
      Device 0: Unhandled device type: 9
    Filesystem: FAT16 "NO NAME    "
    =>

With the series reasonable information is shown:

    => host bind 0 ../sandbox.img
    => fatinfo host 0:1
    Interface:  Unknown
      Device 0: Vendor: U-Boot Rev: 1.0 Prod: hostfile
                Type: Removable Hard Disk
                Capacity: 128.9 MB = 0.1 GB (264190 x 512)
    Filesystem: FAT16 "NO NAME    "
    =>

The "Interface:" line is created in file_fat_detectfs() and still needs to
be fixed.

Heinrich Schuchardt (2):
  sandbox: fill block device meta information
  disk: part: sandbox support in dev_print()

 disk/part.c             |  1 +
 drivers/block/sandbox.c | 11 +++++++++++
 2 files changed, 12 insertions(+)

--
2.29.2