While blkid has mostly migrated to util-linux-ng (which has gotten a more sophisticated checking routine), the existing e2fsprogs ZFS filesystem detection isn't always correct. Fix the ZFS device detection by looking at multiple uberblocks to see if any are present, rather than looking for the ZFS boot block which is not always present. There may be up to 128 uberblocks, but the first 4 are not written to disk on a newly-formatted filesystem so check several of them at different offsets within the uberblock array. Cheers, Andreas
Attachment:
e2fsprogs-blkid-zfs.patch
Description: Binary data