On 2020/03/23 19:33, Karel Zak wrote: > On Fri, Mar 20, 2020 at 01:55:43PM +0900, Damien Le Moal wrote: >> libblkid/src/Makemodule.am | 1 + >> libblkid/src/superblocks/superblocks.c | 3 +- >> libblkid/src/superblocks/superblocks.h | 1 + >> libblkid/src/superblocks/zonefs.c | 87 ++++++++++++++++++++++++++ >> 4 files changed, 91 insertions(+), 1 deletion(-) >> create mode 100644 libblkid/src/superblocks/zonefs.c > > Applied (with a small change), thanks. > >> +struct zonefs_super { >> + >> + /* Magic number */ >> + __le32 s_magic; > > We use standard integer types rather than this kernel-ism ;-) Fixed. > > It would be nice to have a test image for zonefs, something small what > we can add to tests/ts/blkid/images-fs/ ;-) Hi Karel, Please find attached the zonefs.img.xz file for a small (4 MB uncompressed) image of a zonefs file system. I tested it with the blkid run in tests/ts/blkid/low-probe and it works. I am not sure if other tests are run against FS images as I have not dig into the test suite (I should !). If this is OK, please feel free to add the image to tests/ts/blkid/images-fs/. Best regards. > > > Karel > -- Damien Le Moal Western Digital Research
Attachment:
zonefs.img.xz
Description: zonefs.img.xz