dcavalca / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone

Blame SOURCES/0037-blkid-retport-block-size-of-a-filesystem.patch

7714f9
From 9e9355c71c031f4d7445c30cb39bd6b33c10ff9d Mon Sep 17 00:00:00 2001
7714f9
From: Mikulas Patocka <mpatocka@redhat.com>
7714f9
Date: Mon, 2 Sep 2019 12:28:39 +0200
7714f9
Subject: [PATCH 37/40] blkid: retport block size of a filesystem
7714f9
7714f9
This patch extends libblkid, so that it reports filesystem block size.
7714f9
7714f9
When blkid returns a specific number in the BLOCK_SIZE attribute, it
7714f9
guarantees that all the bios submitted by the filesystem are aligned on
7714f9
this boundary.
7714f9
7714f9
We need this because when we want to enable dm-integrity or dm-writecache
7714f9
on an existing filesystem, we need to know filesystem block size, so that
7714f9
dm-integrity or dm-writecache is initialized with matching block size.
7714f9
7714f9
We could always use block size 512 for dm-integrity and dm-writecache, but
7714f9
that would cause metadata overhead and performance degradation. On the
7714f9
other hand, if we used block size 4096, it would fail if the filesystem
7714f9
has smaller blocksize.
7714f9
7714f9
[kzak@redhat.com: - move vfat BLOCK_SIZE to probing function
7714f9
		  - remove unwanted debug fprintf from ZFS prober]
7714f9
7714f9
RHEL-8.3: add regression tests updates to teh patch too
7714f9
7714f9
Upstream: http://github.com/karelzak/util-linux/commit/cd129b7d2fecd5f2013512936de2db1bf244aa75
7714f9
Upstream: http://github.com/karelzak/util-linux/commit/e7d318a9dd63c9fae8f07754ce12aa9af4dce089
7714f9
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1817726
7714f9
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
7714f9
Signed-off-by: Karel Zak <kzak@redhat.com>
7714f9
---
7714f9
 libblkid/src/superblocks/befs.c               |  3 +
7714f9
 libblkid/src/superblocks/btrfs.c              |  1 +
7714f9
 libblkid/src/superblocks/exfat.c              |  2 +
7714f9
 libblkid/src/superblocks/exfs.c               |  4 +
7714f9
 libblkid/src/superblocks/ext.c                |  3 +
7714f9
 libblkid/src/superblocks/f2fs.c               |  2 +
7714f9
 libblkid/src/superblocks/gfs.c                |  1 +
7714f9
 libblkid/src/superblocks/hfs.c                |  2 +
7714f9
 libblkid/src/superblocks/hpfs.c               |  1 +
7714f9
 libblkid/src/superblocks/iso9660.c            |  2 +
7714f9
 libblkid/src/superblocks/jfs.c                |  1 +
7714f9
 libblkid/src/superblocks/minix.c              |  5 ++
7714f9
 libblkid/src/superblocks/nilfs.c              |  3 +
7714f9
 libblkid/src/superblocks/ntfs.c               |  2 +
7714f9
 libblkid/src/superblocks/ocfs.c               |  3 +
7714f9
 libblkid/src/superblocks/reiserfs.c           | 10 ++-
7714f9
 libblkid/src/superblocks/romfs.c              |  3 +
7714f9
 libblkid/src/superblocks/squashfs.c           |  2 +
7714f9
 libblkid/src/superblocks/superblocks.c        |  7 ++
7714f9
 libblkid/src/superblocks/superblocks.h        |  2 +
7714f9
 libblkid/src/superblocks/udf.c                |  2 +
7714f9
 libblkid/src/superblocks/ufs.c                |  5 ++
7714f9
 libblkid/src/superblocks/vfat.c               |  2 +
7714f9
 libblkid/src/superblocks/vxfs.c               | 18 ++++-
7714f9
 libblkid/src/superblocks/xfs.c                |  1 +
7714f9
 libblkid/src/superblocks/zfs.c                | 74 ++++++++++++++-----
7714f9
 tests/expected/blkid/low-probe-befs           |  1 +
7714f9
 tests/expected/blkid/low-probe-exfat          |  1 +
7714f9
 tests/expected/blkid/low-probe-ext2           |  1 +
7714f9
 tests/expected/blkid/low-probe-ext3           |  1 +
7714f9
 tests/expected/blkid/low-probe-f2fs           |  1 +
7714f9
 tests/expected/blkid/low-probe-fat            |  1 +
7714f9
 tests/expected/blkid/low-probe-fat16_noheads  |  1 +
7714f9
 .../blkid/low-probe-fat32_cp850_O_tilde       |  1 +
7714f9
 .../expected/blkid/low-probe-fat32_label_64MB |  1 +
7714f9
 tests/expected/blkid/low-probe-gfs2           |  1 +
7714f9
 tests/expected/blkid/low-probe-hfsplus        |  1 +
7714f9
 tests/expected/blkid/low-probe-hpfs           |  1 +
7714f9
 tests/expected/blkid/low-probe-iso            |  1 +
7714f9
 tests/expected/blkid/low-probe-iso-joliet     |  1 +
7714f9
 tests/expected/blkid/low-probe-iso-rr-joliet  |  1 +
7714f9
 tests/expected/blkid/low-probe-jbd            |  1 +
7714f9
 tests/expected/blkid/low-probe-jfs            |  1 +
7714f9
 tests/expected/blkid/low-probe-minix-BE       |  1 +
7714f9
 tests/expected/blkid/low-probe-minix-LE       |  1 +
7714f9
 tests/expected/blkid/low-probe-nilfs2         |  1 +
7714f9
 tests/expected/blkid/low-probe-ntfs           |  1 +
7714f9
 tests/expected/blkid/low-probe-ocfs2          |  1 +
7714f9
 tests/expected/blkid/low-probe-reiser3        |  1 +
7714f9
 tests/expected/blkid/low-probe-reiser4        |  1 +
7714f9
 tests/expected/blkid/low-probe-romfs          |  1 +
7714f9
 tests/expected/blkid/low-probe-small-fat32    |  1 +
7714f9
 tests/expected/blkid/low-probe-udf            |  1 +
7714f9
 .../blkid/low-probe-udf-bdr-2.60-nero         |  1 +
7714f9
 .../blkid/low-probe-udf-cd-mkudfiso-20100208  |  1 +
7714f9
 tests/expected/blkid/low-probe-udf-cd-nero-6  |  1 +
7714f9
 .../blkid/low-probe-udf-hdd-mkudffs-1.0.0-1   |  1 +
7714f9
 .../blkid/low-probe-udf-hdd-mkudffs-1.0.0-2   |  1 +
7714f9
 .../blkid/low-probe-udf-hdd-mkudffs-1.3-1     |  1 +
7714f9
 .../blkid/low-probe-udf-hdd-mkudffs-1.3-2     |  1 +
7714f9
 .../blkid/low-probe-udf-hdd-mkudffs-1.3-3     |  1 +
7714f9
 .../blkid/low-probe-udf-hdd-mkudffs-1.3-4     |  1 +
7714f9
 .../blkid/low-probe-udf-hdd-mkudffs-1.3-5     |  1 +
7714f9
 .../blkid/low-probe-udf-hdd-mkudffs-1.3-6     |  1 +
7714f9
 .../blkid/low-probe-udf-hdd-mkudffs-1.3-7     |  1 +
7714f9
 .../blkid/low-probe-udf-hdd-mkudffs-1.3-8     |  1 +
7714f9
 .../blkid/low-probe-udf-hdd-udfclient-0.7.5   |  1 +
7714f9
 .../blkid/low-probe-udf-hdd-udfclient-0.7.7   |  1 +
7714f9
 tests/expected/blkid/low-probe-udf-hdd-win7   |  1 +
7714f9
 tests/expected/blkid/low-probe-ufs            |  1 +
7714f9
 tests/expected/blkid/low-probe-xfs            |  1 +
7714f9
 tests/expected/blkid/low-probe-zfs            |  1 +
7714f9
 72 files changed, 186 insertions(+), 21 deletions(-)
7714f9
7714f9
diff --git a/libblkid/src/superblocks/befs.c b/libblkid/src/superblocks/befs.c
7714f9
index 14af97217..516d80093 100644
7714f9
--- a/libblkid/src/superblocks/befs.c
7714f9
+++ b/libblkid/src/superblocks/befs.c
7714f9
@@ -519,6 +519,9 @@ static int probe_befs(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 		blkid_probe_sprintf_uuid(pr, (unsigned char *) &volume_id,
7714f9
 					sizeof(volume_id), "%016" PRIx64,
7714f9
 					FS64_TO_CPU(volume_id, fs_le));
7714f9
+
7714f9
+	blkid_probe_set_block_size(pr, block_size);
7714f9
+
7714f9
 	return BLKID_PROBE_OK;
7714f9
 }
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/btrfs.c b/libblkid/src/superblocks/btrfs.c
7714f9
index 7ce3dfff8..f0fde700d 100644
7714f9
--- a/libblkid/src/superblocks/btrfs.c
7714f9
+++ b/libblkid/src/superblocks/btrfs.c
7714f9
@@ -74,6 +74,7 @@ static int probe_btrfs(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 
7714f9
 	blkid_probe_set_uuid(pr, bfs->fsid);
7714f9
 	blkid_probe_set_uuid_as(pr, bfs->dev_item.uuid, "UUID_SUB");
7714f9
+	blkid_probe_set_block_size(pr, le32_to_cpu(bfs->sectorsize));
7714f9
 
7714f9
 	return 0;
7714f9
 }
7714f9
diff --git a/libblkid/src/superblocks/exfat.c b/libblkid/src/superblocks/exfat.c
7714f9
index 4bf92eac8..7622320d3 100644
7714f9
--- a/libblkid/src/superblocks/exfat.c
7714f9
+++ b/libblkid/src/superblocks/exfat.c
7714f9
@@ -137,6 +137,8 @@ static int probe_exfat(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 	blkid_probe_sprintf_version(pr, "%u.%u",
7714f9
 			sb->version.vermaj, sb->version.vermin);
7714f9
 
7714f9
+	blkid_probe_set_block_size(pr, BLOCK_SIZE(sb));
7714f9
+
7714f9
 	return BLKID_PROBE_OK;
7714f9
 }
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/exfs.c b/libblkid/src/superblocks/exfs.c
7714f9
index f717b6530..e0eafafc6 100644
7714f9
--- a/libblkid/src/superblocks/exfs.c
7714f9
+++ b/libblkid/src/superblocks/exfs.c
7714f9
@@ -170,7 +170,11 @@ static int probe_exfs(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 	if (*xs->sb_fname != '\0')
7714f9
 		blkid_probe_set_label(pr, (unsigned char *) xs->sb_fname,
7714f9
 				sizeof(xs->sb_fname));
7714f9
+
7714f9
 	blkid_probe_set_uuid(pr, xs->sb_uuid);
7714f9
+
7714f9
+	blkid_probe_set_block_size(pr, be32_to_cpu(xs->sb_blocksize));
7714f9
+
7714f9
 	return 0;
7714f9
 }
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/ext.c b/libblkid/src/superblocks/ext.c
7714f9
index caf82c171..3870522fa 100644
7714f9
--- a/libblkid/src/superblocks/ext.c
7714f9
+++ b/libblkid/src/superblocks/ext.c
7714f9
@@ -187,6 +187,9 @@ static void ext_get_info(blkid_probe pr, int ver, struct ext2_super_block *es)
7714f9
 	blkid_probe_sprintf_version(pr, "%u.%u",
7714f9
 		le32_to_cpu(es->s_rev_level),
7714f9
 		le16_to_cpu(es->s_minor_rev_level));
7714f9
+
7714f9
+	if (le32_to_cpu(es->s_log_block_size) < 32)
7714f9
+		blkid_probe_set_block_size(pr, 1024U << le32_to_cpu(es->s_log_block_size));
7714f9
 }
7714f9
 
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/f2fs.c b/libblkid/src/superblocks/f2fs.c
7714f9
index d1bf25a3a..255ef6384 100644
7714f9
--- a/libblkid/src/superblocks/f2fs.c
7714f9
+++ b/libblkid/src/superblocks/f2fs.c
7714f9
@@ -78,6 +78,8 @@ static int probe_f2fs(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 
7714f9
 	blkid_probe_set_uuid(pr, sb->uuid);
7714f9
 	blkid_probe_sprintf_version(pr, "%u.%u", vermaj, vermin);
7714f9
+	if (le32_to_cpu(sb->log_blocksize) < 32)
7714f9
+		blkid_probe_set_block_size(pr, 1U << le32_to_cpu(sb->log_blocksize));
7714f9
 	return 0;
7714f9
 }
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/gfs.c b/libblkid/src/superblocks/gfs.c
7714f9
index ea6036cb7..e22a6a3f9 100644
7714f9
--- a/libblkid/src/superblocks/gfs.c
7714f9
+++ b/libblkid/src/superblocks/gfs.c
7714f9
@@ -98,6 +98,7 @@ static int probe_gfs2(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 				sizeof(sbd->sb_locktable));
7714f9
 		blkid_probe_set_uuid(pr, sbd->sb_uuid);
7714f9
 		blkid_probe_set_version(pr, "1");
7714f9
+		blkid_probe_set_block_size(pr, be32_to_cpu(sbd->sb_bsize));
7714f9
 		return 0;
7714f9
 	}
7714f9
 	return 1;
7714f9
diff --git a/libblkid/src/superblocks/hfs.c b/libblkid/src/superblocks/hfs.c
7714f9
index 7b0117405..185c42c92 100644
7714f9
--- a/libblkid/src/superblocks/hfs.c
7714f9
+++ b/libblkid/src/superblocks/hfs.c
7714f9
@@ -241,6 +241,8 @@ static int probe_hfsplus(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 	if (blocksize < HFSPLUS_SECTOR_SIZE)
7714f9
 		return 1;
7714f9
 
7714f9
+	blkid_probe_set_block_size(pr, blocksize);
7714f9
+
7714f9
 	memcpy(extents, hfsplus->cat_file.extents, sizeof(extents));
7714f9
 	cat_block = be32_to_cpu(extents[0].start_block);
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/hpfs.c b/libblkid/src/superblocks/hpfs.c
7714f9
index 0565d370c..dcf4520b6 100644
7714f9
--- a/libblkid/src/superblocks/hpfs.c
7714f9
+++ b/libblkid/src/superblocks/hpfs.c
7714f9
@@ -99,6 +99,7 @@ static int probe_hpfs(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 				hbb->vol_serno[1], hbb->vol_serno[0]);
7714f9
 	}
7714f9
 	blkid_probe_sprintf_version(pr, "%u", version);
7714f9
+	blkid_probe_set_block_size(pr, 512);
7714f9
 
7714f9
 	return 0;
7714f9
 }
7714f9
diff --git a/libblkid/src/superblocks/iso9660.c b/libblkid/src/superblocks/iso9660.c
7714f9
index 7356754ee..8dc2e5394 100644
7714f9
--- a/libblkid/src/superblocks/iso9660.c
7714f9
+++ b/libblkid/src/superblocks/iso9660.c
7714f9
@@ -182,6 +182,8 @@ static int probe_iso9660(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 
7714f9
 	memcpy(label, iso->volume_id, sizeof(label));
7714f9
 
7714f9
+	blkid_probe_set_block_size(pr, 2048);
7714f9
+
7714f9
 	if (!is_str_empty(iso->system_id, sizeof(iso->system_id)))
7714f9
 		blkid_probe_set_id_label(pr, "SYSTEM_ID",
7714f9
 				iso->system_id, sizeof(iso->system_id));
7714f9
diff --git a/libblkid/src/superblocks/jfs.c b/libblkid/src/superblocks/jfs.c
7714f9
index 0f956ef00..3de8c2e3d 100644
7714f9
--- a/libblkid/src/superblocks/jfs.c
7714f9
+++ b/libblkid/src/superblocks/jfs.c
7714f9
@@ -52,6 +52,7 @@ static int probe_jfs(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 	if (*((char *) js->js_label) != '\0')
7714f9
 		blkid_probe_set_label(pr, js->js_label, sizeof(js->js_label));
7714f9
 	blkid_probe_set_uuid(pr, js->js_uuid);
7714f9
+	blkid_probe_set_block_size(pr, le32_to_cpu(js->js_bsize));
7714f9
 	return 0;
7714f9
 }
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/minix.c b/libblkid/src/superblocks/minix.c
7714f9
index c47378d73..674a1f17b 100644
7714f9
--- a/libblkid/src/superblocks/minix.c
7714f9
+++ b/libblkid/src/superblocks/minix.c
7714f9
@@ -80,6 +80,7 @@ static int probe_minix(blkid_probe pr,
7714f9
 	unsigned long zones, ninodes, imaps, zmaps;
7714f9
 	off_t firstz;
7714f9
 	size_t zone_size;
7714f9
+	unsigned block_size;
7714f9
 
7714f9
 	data = blkid_probe_get_buffer(pr, 1024,
7714f9
 			max(sizeof(struct minix_super_block),
7714f9
@@ -103,6 +104,7 @@ static int probe_minix(blkid_probe pr,
7714f9
 		zmaps   = minix_swab16(swabme, sb->s_zmap_blocks);
7714f9
 		firstz  = minix_swab16(swabme, sb->s_firstdatazone);
7714f9
 		zone_size = sb->s_log_zone_size;
7714f9
+		block_size = 1024;
7714f9
 		break;
7714f9
 	}
7714f9
 	case 3: {
7714f9
@@ -114,6 +116,8 @@ static int probe_minix(blkid_probe pr,
7714f9
 		zmaps   = minix_swab16(swabme, sb->s_zmap_blocks);
7714f9
 		firstz  = minix_swab16(swabme, sb->s_firstdatazone);
7714f9
 		zone_size = sb->s_log_zone_size;
7714f9
+		block_size = minix_swab16(swabme, sb->s_blocksize);
7714f9
+
7714f9
 		break;
7714f9
 	}
7714f9
 	default:
7714f9
@@ -143,6 +147,7 @@ static int probe_minix(blkid_probe pr,
7714f9
 		return 1;
7714f9
 
7714f9
 	blkid_probe_sprintf_version(pr, "%d", version);
7714f9
+	blkid_probe_set_block_size(pr, block_size);
7714f9
 	return 0;
7714f9
 }
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/nilfs.c b/libblkid/src/superblocks/nilfs.c
7714f9
index 95538ef7b..423bd1ac4 100644
7714f9
--- a/libblkid/src/superblocks/nilfs.c
7714f9
+++ b/libblkid/src/superblocks/nilfs.c
7714f9
@@ -157,6 +157,9 @@ static int probe_nilfs2(blkid_probe pr,
7714f9
 				(unsigned char *) &sb->s_magic))
7714f9
 		return 1;
7714f9
 
7714f9
+	if (le32_to_cpu(sb->s_log_block_size) < 32)
7714f9
+		blkid_probe_set_block_size(pr, 1024U << le32_to_cpu(sb->s_log_block_size));
7714f9
+
7714f9
 	return 0;
7714f9
 }
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/ntfs.c b/libblkid/src/superblocks/ntfs.c
7714f9
index 32973095b..5bfebbb78 100644
7714f9
--- a/libblkid/src/superblocks/ntfs.c
7714f9
+++ b/libblkid/src/superblocks/ntfs.c
7714f9
@@ -206,6 +206,8 @@ static int probe_ntfs(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 		attr_off += attr_len;
7714f9
 	}
7714f9
 
7714f9
+	blkid_probe_set_block_size(pr, sector_size);
7714f9
+
7714f9
 	blkid_probe_sprintf_uuid(pr,
7714f9
 			(unsigned char *) &ns->volume_serial,
7714f9
 			sizeof(ns->volume_serial),
7714f9
diff --git a/libblkid/src/superblocks/ocfs.c b/libblkid/src/superblocks/ocfs.c
7714f9
index 3fe199d3f..463ed7bcf 100644
7714f9
--- a/libblkid/src/superblocks/ocfs.c
7714f9
+++ b/libblkid/src/superblocks/ocfs.c
7714f9
@@ -153,6 +153,9 @@ static int probe_ocfs2(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 		le16_to_cpu(osb->s_major_rev_level),
7714f9
 		le16_to_cpu(osb->s_minor_rev_level));
7714f9
 
7714f9
+	if (le32_to_cpu(osb->s_blocksize_bits) < 32)
7714f9
+		blkid_probe_set_block_size(pr, 1U << le32_to_cpu(osb->s_blocksize_bits));
7714f9
+
7714f9
 	return 0;
7714f9
 }
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/reiserfs.c b/libblkid/src/superblocks/reiserfs.c
7714f9
index edbaaa946..6c5e5b0d7 100644
7714f9
--- a/libblkid/src/superblocks/reiserfs.c
7714f9
+++ b/libblkid/src/superblocks/reiserfs.c
7714f9
@@ -32,7 +32,8 @@ struct reiserfs_super_block {
7714f9
 
7714f9
 struct reiser4_super_block {
7714f9
 	unsigned char	rs4_magic[16];
7714f9
-	uint16_t	rs4_dummy[2];
7714f9
+	uint8_t		rs4_dummy[3];
7714f9
+	uint8_t		rs4_blocksize;
7714f9
 	unsigned char	rs4_uuid[16];
7714f9
 	unsigned char	rs4_label[16];
7714f9
 	uint64_t	rs4_dummy2;
7714f9
@@ -73,22 +74,29 @@ static int probe_reiser(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 	else
7714f9
 		blkid_probe_set_version(pr, "3.5");
7714f9
 
7714f9
+	blkid_probe_set_block_size(pr, blocksize);
7714f9
+
7714f9
 	return 0;
7714f9
 }
7714f9
 
7714f9
 static int probe_reiser4(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 {
7714f9
 	struct reiser4_super_block *rs4;
7714f9
+	unsigned int blocksize;
7714f9
 
7714f9
 	rs4 = blkid_probe_get_sb(pr, mag, struct reiser4_super_block);
7714f9
 	if (!rs4)
7714f9
 		return errno ? -errno : 1;
7714f9
 
7714f9
+	blocksize = rs4->rs4_blocksize * 256;
7714f9
+
7714f9
 	if (*rs4->rs4_label)
7714f9
 		blkid_probe_set_label(pr, rs4->rs4_label, sizeof(rs4->rs4_label));
7714f9
 	blkid_probe_set_uuid(pr, rs4->rs4_uuid);
7714f9
 	blkid_probe_set_version(pr, "4");
7714f9
 
7714f9
+	blkid_probe_set_block_size(pr, blocksize);
7714f9
+
7714f9
 	return 0;
7714f9
 }
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/romfs.c b/libblkid/src/superblocks/romfs.c
7714f9
index f3e9f8b05..1c2ac4315 100644
7714f9
--- a/libblkid/src/superblocks/romfs.c
7714f9
+++ b/libblkid/src/superblocks/romfs.c
7714f9
@@ -34,6 +34,9 @@ static int probe_romfs(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 	if (*((char *) ros->ros_volume) != '\0')
7714f9
 		blkid_probe_set_label(pr, ros->ros_volume,
7714f9
 				sizeof(ros->ros_volume));
7714f9
+
7714f9
+	blkid_probe_set_block_size(pr, 1024);
7714f9
+
7714f9
 	return 0;
7714f9
 }
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/squashfs.c b/libblkid/src/superblocks/squashfs.c
7714f9
index 7364beca2..4db842493 100644
7714f9
--- a/libblkid/src/superblocks/squashfs.c
7714f9
+++ b/libblkid/src/superblocks/squashfs.c
7714f9
@@ -71,6 +71,8 @@ static int probe_squashfs3(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 
7714f9
 	blkid_probe_sprintf_version(pr, "%u.%u", vermaj, vermin);
7714f9
 
7714f9
+	blkid_probe_set_block_size(pr, 1024);
7714f9
+
7714f9
 	return 0;
7714f9
 }
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/superblocks.c b/libblkid/src/superblocks/superblocks.c
7714f9
index 6dfd2be64..a86a055fe 100644
7714f9
--- a/libblkid/src/superblocks/superblocks.c
7714f9
+++ b/libblkid/src/superblocks/superblocks.c
7714f9
@@ -74,6 +74,8 @@
7714f9
  * @APPLICATION_ID: ISO9660 application identifier
7714f9
  *
7714f9
  * @BOOT_SYSTEM_ID: ISO9660 boot system identifier
7714f9
+ *
7714f9
+ * @BLOCK_SIZE: block size
7714f9
  */
7714f9
 
7714f9
 static int superblocks_probe(blkid_probe pr, struct blkid_chain *chn);
7714f9
@@ -550,6 +552,11 @@ int blkid_probe_sprintf_version(blkid_probe pr, const char *fmt, ...)
7714f9
 	return rc;
7714f9
 }
7714f9
 
7714f9
+int blkid_probe_set_block_size(blkid_probe pr, unsigned block_size)
7714f9
+{
7714f9
+	return blkid_probe_sprintf_value(pr, "BLOCK_SIZE", "%u", block_size);
7714f9
+}
7714f9
+
7714f9
 static int blkid_probe_set_usage(blkid_probe pr, int usage)
7714f9
 {
7714f9
 	struct blkid_chain *chn = blkid_probe_get_chain(pr);
7714f9
diff --git a/libblkid/src/superblocks/superblocks.h b/libblkid/src/superblocks/superblocks.h
7714f9
index d677f85bc..d09046cfd 100644
7714f9
--- a/libblkid/src/superblocks/superblocks.h
7714f9
+++ b/libblkid/src/superblocks/superblocks.h
7714f9
@@ -106,6 +106,8 @@ extern int blkid_probe_set_id_label(blkid_probe pr, const char *name,
7714f9
 extern int blkid_probe_set_utf8_id_label(blkid_probe pr, const char *name,
7714f9
 			     unsigned char *data, size_t len, int enc);
7714f9
 
7714f9
+int blkid_probe_set_block_size(blkid_probe pr, unsigned block_size);
7714f9
+
7714f9
 extern int blkid_probe_is_bitlocker(blkid_probe pr);
7714f9
 
7714f9
 #endif /* _BLKID_SUPERBLOCKS_H */
7714f9
diff --git a/libblkid/src/superblocks/udf.c b/libblkid/src/superblocks/udf.c
7714f9
index 97e79dab0..1ab8a1e26 100644
7714f9
--- a/libblkid/src/superblocks/udf.c
7714f9
+++ b/libblkid/src/superblocks/udf.c
7714f9
@@ -464,6 +464,8 @@ real_blksz:
7714f9
 		 * E.g. number 0x0150 is revision 1.50, number 0x0201 is revision 2.01. */
7714f9
 		blkid_probe_sprintf_version(pr, "%x.%02x", (unsigned int)(udf_rev >> 8), (unsigned int)(udf_rev & 0xFF));
7714f9
 
7714f9
+	blkid_probe_set_block_size(pr, bs);
7714f9
+
7714f9
 	return 0;
7714f9
 }
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/ufs.c b/libblkid/src/superblocks/ufs.c
7714f9
index 6ef2acddc..7a8396c1c 100644
7714f9
--- a/libblkid/src/superblocks/ufs.c
7714f9
+++ b/libblkid/src/superblocks/ufs.c
7714f9
@@ -233,6 +233,11 @@ found:
7714f9
 			(unsigned char *) &ufs->fs_magic))
7714f9
 		return 1;
7714f9
 
7714f9
+	if (!is_be)
7714f9
+		blkid_probe_set_block_size(pr, le32_to_cpu(ufs->fs_fsize));
7714f9
+	else
7714f9
+		blkid_probe_set_block_size(pr, be32_to_cpu(ufs->fs_fsize));
7714f9
+
7714f9
 	return 0;
7714f9
 }
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/vfat.c b/libblkid/src/superblocks/vfat.c
7714f9
index 29b3c501c..4e93a0e41 100644
7714f9
--- a/libblkid/src/superblocks/vfat.c
7714f9
+++ b/libblkid/src/superblocks/vfat.c
7714f9
@@ -436,6 +436,8 @@ static int probe_vfat(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 	if (version)
7714f9
 		blkid_probe_set_version(pr, version);
7714f9
 
7714f9
+	blkid_probe_set_block_size(pr, sector_size);
7714f9
+
7714f9
 	return 0;
7714f9
 }
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/vxfs.c b/libblkid/src/superblocks/vxfs.c
7714f9
index 19d284cbf..d9d26adcf 100644
7714f9
--- a/libblkid/src/superblocks/vxfs.c
7714f9
+++ b/libblkid/src/superblocks/vxfs.c
7714f9
@@ -12,6 +12,15 @@
7714f9
 struct vxfs_super_block {
7714f9
 	uint32_t		vs_magic;
7714f9
 	int32_t			vs_version;
7714f9
+	uint32_t		vs_ctime;
7714f9
+	uint32_t		vs_cutime;
7714f9
+	uint32_t		__unused1;
7714f9
+	uint32_t		__unused2;
7714f9
+	uint32_t		vs_old_logstart;
7714f9
+	uint32_t		vs_old_logend;
7714f9
+	uint32_t		vs_bsize;
7714f9
+	uint32_t		vs_size;
7714f9
+	uint32_t		vs_dsize;
7714f9
 };
7714f9
 
7714f9
 static int probe_vxfs(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
@@ -22,7 +31,13 @@ static int probe_vxfs(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 	if (!vxs)
7714f9
 		return errno ? -errno : 1;
7714f9
 
7714f9
-	blkid_probe_sprintf_version(pr, "%u", (unsigned int) vxs->vs_version);
7714f9
+	if (le32_to_cpu(vxs->vs_magic) == 0xa501fcf5) {
7714f9
+		blkid_probe_sprintf_version(pr, "%u", (unsigned int)le32_to_cpu(vxs->vs_version));
7714f9
+		blkid_probe_set_block_size(pr, le32_to_cpu(vxs->vs_bsize));
7714f9
+	} else if (be32_to_cpu(vxs->vs_magic) == 0xa501fcf5) {
7714f9
+		blkid_probe_sprintf_version(pr, "%u", (unsigned int)be32_to_cpu(vxs->vs_version));
7714f9
+		blkid_probe_set_block_size(pr, be32_to_cpu(vxs->vs_bsize));
7714f9
+	}
7714f9
 	return 0;
7714f9
 }
7714f9
 
7714f9
@@ -35,6 +50,7 @@ const struct blkid_idinfo vxfs_idinfo =
7714f9
 	.magics		=
7714f9
 	{
7714f9
 		{ .magic = "\365\374\001\245", .len = 4, .kboff = 1 },
7714f9
+		{ .magic = "\245\001\374\365", .len = 4, .kboff = 8 },
7714f9
 		{ NULL }
7714f9
 	}
7714f9
 };
7714f9
diff --git a/libblkid/src/superblocks/xfs.c b/libblkid/src/superblocks/xfs.c
7714f9
index 99848f900..eb513ac3e 100644
7714f9
--- a/libblkid/src/superblocks/xfs.c
7714f9
+++ b/libblkid/src/superblocks/xfs.c
7714f9
@@ -173,6 +173,7 @@ static int probe_xfs(blkid_probe pr, const struct blkid_idmag *mag)
7714f9
 		blkid_probe_set_label(pr, (unsigned char *) xs->sb_fname,
7714f9
 				sizeof(xs->sb_fname));
7714f9
 	blkid_probe_set_uuid(pr, xs->sb_uuid);
7714f9
+	blkid_probe_set_block_size(pr, xs->sb_sectsize * 256);
7714f9
 	return 0;
7714f9
 }
7714f9
 
7714f9
diff --git a/libblkid/src/superblocks/zfs.c b/libblkid/src/superblocks/zfs.c
7714f9
index ec3e1c5bf..cc779c02a 100644
7714f9
--- a/libblkid/src/superblocks/zfs.c
7714f9
+++ b/libblkid/src/superblocks/zfs.c
7714f9
@@ -37,6 +37,7 @@ struct zfs_uberblock {
7714f9
 
7714f9
 #define DATA_TYPE_UINT64 8
7714f9
 #define DATA_TYPE_STRING 9
7714f9
+#define DATA_TYPE_DIRECTORY 19
7714f9
 
7714f9
 struct nvpair {
7714f9
 	uint32_t	nvp_size;
7714f9
@@ -60,32 +61,37 @@ struct nvuint64 {
7714f9
 	uint64_t	nvu_value;
7714f9
 };
7714f9
 
7714f9
+struct nvdirectory {
7714f9
+	uint32_t	nvd_type;
7714f9
+	uint32_t	nvd_unknown[3];
7714f9
+};
7714f9
+
7714f9
 struct nvlist {
7714f9
 	uint32_t	nvl_unknown[3];
7714f9
 	struct nvpair	nvl_nvpair;
7714f9
 };
7714f9
 
7714f9
-static int zfs_process_value(blkid_probe pr, char *name, size_t namelen,
7714f9
-			     void *value, size_t max_value_size)
7714f9
+static void zfs_process_value(blkid_probe pr, char *name, size_t namelen,
7714f9
+			     void *value, size_t max_value_size, unsigned directory_level)
7714f9
 {
7714f9
 	if (strncmp(name, "name", namelen) == 0 &&
7714f9
-	    sizeof(struct nvstring) <= max_value_size) {
7714f9
+	    sizeof(struct nvstring) <= max_value_size &&
7714f9
+	    !directory_level) {
7714f9
 		struct nvstring *nvs = value;
7714f9
 		uint32_t nvs_type = be32_to_cpu(nvs->nvs_type);
7714f9
 		uint32_t nvs_strlen = be32_to_cpu(nvs->nvs_strlen);
7714f9
 
7714f9
 		if (nvs_type != DATA_TYPE_STRING ||
7714f9
 		    (uint64_t)nvs_strlen + sizeof(*nvs) > max_value_size)
7714f9
-			return 0;
7714f9
+			return;
7714f9
 
7714f9
 		DBG(LOWPROBE, ul_debug("nvstring: type %u string %*s\n",
7714f9
 				       nvs_type, nvs_strlen, nvs->nvs_string));
7714f9
 
7714f9
 		blkid_probe_set_label(pr, nvs->nvs_string, nvs_strlen);
7714f9
-
7714f9
-		return 1;
7714f9
 	} else if (strncmp(name, "guid", namelen) == 0 &&
7714f9
-		   sizeof(struct nvuint64) <= max_value_size) {
7714f9
+		   sizeof(struct nvuint64) <= max_value_size &&
7714f9
+		   !directory_level) {
7714f9
 		struct nvuint64 *nvu = value;
7714f9
 		uint32_t nvu_type = be32_to_cpu(nvu->nvu_type);
7714f9
 		uint64_t nvu_value;
7714f9
@@ -94,17 +100,16 @@ static int zfs_process_value(blkid_probe pr, char *name, size_t namelen,
7714f9
 		nvu_value = be64_to_cpu(nvu_value);
7714f9
 
7714f9
 		if (nvu_type != DATA_TYPE_UINT64)
7714f9
-			return 0;
7714f9
+			return;
7714f9
 
7714f9
 		DBG(LOWPROBE, ul_debug("nvuint64: type %u value %"PRIu64"\n",
7714f9
 				       nvu_type, nvu_value));
7714f9
 
7714f9
 		blkid_probe_sprintf_value(pr, "UUID_SUB",
7714f9
 					  "%"PRIu64, nvu_value);
7714f9
-
7714f9
-		return 1;
7714f9
 	} else if (strncmp(name, "pool_guid", namelen) == 0 &&
7714f9
-		   sizeof(struct nvuint64) <= max_value_size) {
7714f9
+		   sizeof(struct nvuint64) <= max_value_size &&
7714f9
+		   !directory_level) {
7714f9
 		struct nvuint64 *nvu = value;
7714f9
 		uint32_t nvu_type = be32_to_cpu(nvu->nvu_type);
7714f9
 		uint64_t nvu_value;
7714f9
@@ -113,7 +118,7 @@ static int zfs_process_value(blkid_probe pr, char *name, size_t namelen,
7714f9
 		nvu_value = be64_to_cpu(nvu_value);
7714f9
 
7714f9
 		if (nvu_type != DATA_TYPE_UINT64)
7714f9
-			return 0;
7714f9
+			return;
7714f9
 
7714f9
 		DBG(LOWPROBE, ul_debug("nvuint64: type %u value %"PRIu64"\n",
7714f9
 				       nvu_type, nvu_value));
7714f9
@@ -121,10 +126,21 @@ static int zfs_process_value(blkid_probe pr, char *name, size_t namelen,
7714f9
 		blkid_probe_sprintf_uuid(pr, (unsigned char *) &nvu_value,
7714f9
 					 sizeof(nvu_value),
7714f9
 					 "%"PRIu64, nvu_value);
7714f9
-		return 1;
7714f9
-	}
7714f9
+	} else if (strncmp(name, "ashift", namelen) == 0 &&
7714f9
+		   sizeof(struct nvuint64) <= max_value_size) {
7714f9
+		struct nvuint64 *nvu = value;
7714f9
+		uint32_t nvu_type = be32_to_cpu(nvu->nvu_type);
7714f9
+		uint64_t nvu_value;
7714f9
 
7714f9
-	return 0;
7714f9
+		memcpy(&nvu_value, &nvu->nvu_value, sizeof(nvu_value));
7714f9
+		nvu_value = be64_to_cpu(nvu_value);
7714f9
+
7714f9
+		if (nvu_type != DATA_TYPE_UINT64)
7714f9
+			return;
7714f9
+
7714f9
+		if (nvu_value < 32)
7714f9
+			blkid_probe_set_block_size(pr, 1U << nvu_value);
7714f9
+	}
7714f9
 }
7714f9
 
7714f9
 static void zfs_extract_guid_name(blkid_probe pr, loff_t offset)
7714f9
@@ -133,7 +149,7 @@ static void zfs_extract_guid_name(blkid_probe pr, loff_t offset)
7714f9
 	struct nvlist *nvl;
7714f9
 	struct nvpair *nvp;
7714f9
 	size_t left = 4096;
7714f9
-	int found = 0;
7714f9
+	unsigned directory_level = 0;
7714f9
 
7714f9
 	offset = (offset & ~(VDEV_LABEL_SIZE - 1)) + VDEV_LABEL_NVPAIR;
7714f9
 
7714f9
@@ -152,13 +168,21 @@ static void zfs_extract_guid_name(blkid_probe pr, loff_t offset)
7714f9
 	nvp = &nvl->nvl_nvpair;
7714f9
 	left -= (unsigned char *)nvp - p; /* Already used up 12 bytes */
7714f9
 
7714f9
-	while (left > sizeof(*nvp) && nvp->nvp_size != 0 && found < 3) {
7714f9
+	while (left > sizeof(*nvp)) {
7714f9
 		uint32_t nvp_size = be32_to_cpu(nvp->nvp_size);
7714f9
 		uint32_t nvp_namelen = be32_to_cpu(nvp->nvp_namelen);
7714f9
 		uint64_t namesize = ((uint64_t)nvp_namelen + 3) & ~3;
7714f9
 		size_t max_value_size;
7714f9
 		void *value;
7714f9
 
7714f9
+		if (!nvp->nvp_size) {
7714f9
+			if (!directory_level)
7714f9
+				break;
7714f9
+			directory_level--;
7714f9
+			nvp_size = 8;
7714f9
+			goto cont;
7714f9
+		}
7714f9
+
7714f9
 		DBG(LOWPROBE, ul_debug("left %zd nvp_size %u\n",
7714f9
 				       left, nvp_size));
7714f9
 
7714f9
@@ -174,9 +198,21 @@ static void zfs_extract_guid_name(blkid_probe pr, loff_t offset)
7714f9
 		max_value_size = nvp_size - (namesize + sizeof(*nvp));
7714f9
 		value = nvp->nvp_name + namesize;
7714f9
 
7714f9
-		found += zfs_process_value(pr, nvp->nvp_name, nvp_namelen,
7714f9
-					   value, max_value_size);
7714f9
+		if (sizeof(struct nvdirectory) <= max_value_size) {
7714f9
+			struct nvdirectory *nvu = value;
7714f9
+			if (be32_to_cpu(nvu->nvd_type) == DATA_TYPE_DIRECTORY) {
7714f9
+				nvp_size = sizeof(*nvp) + namesize + sizeof(*nvu);
7714f9
+				directory_level++;
7714f9
+				goto cont;
7714f9
+			}
7714f9
+		}
7714f9
+
7714f9
+		zfs_process_value(pr, nvp->nvp_name, nvp_namelen,
7714f9
+				  value, max_value_size, directory_level);
7714f9
 
7714f9
+cont:
7714f9
+		if (nvp_size > left)
7714f9
+			break;
7714f9
 		left -= nvp_size;
7714f9
 
7714f9
 		nvp = (struct nvpair *)((char *)nvp + nvp_size);
7714f9
diff --git a/tests/expected/blkid/low-probe-befs b/tests/expected/blkid/low-probe-befs
7714f9
index b7f25cdd2..5717049d2 100644
7714f9
--- a/tests/expected/blkid/low-probe-befs
7714f9
+++ b/tests/expected/blkid/low-probe-befs
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=1024
7714f9
 ID_FS_LABEL=befs_test
7714f9
 ID_FS_LABEL_ENC=befs_test
7714f9
 ID_FS_TYPE=befs
7714f9
diff --git a/tests/expected/blkid/low-probe-exfat b/tests/expected/blkid/low-probe-exfat
7714f9
index b9defbdf9..59cb35225 100644
7714f9
--- a/tests/expected/blkid/low-probe-exfat
7714f9
+++ b/tests/expected/blkid/low-probe-exfat
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=Новый_том
7714f9
 ID_FS_LABEL_ENC=Новый\x20том
7714f9
 ID_FS_TYPE=exfat
7714f9
diff --git a/tests/expected/blkid/low-probe-ext2 b/tests/expected/blkid/low-probe-ext2
7714f9
index c70b85698..087da97a4 100644
7714f9
--- a/tests/expected/blkid/low-probe-ext2
7714f9
+++ b/tests/expected/blkid/low-probe-ext2
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=1024
7714f9
 ID_FS_LABEL=test-ext2
7714f9
 ID_FS_LABEL_ENC=test-ext2
7714f9
 ID_FS_TYPE=ext2
7714f9
diff --git a/tests/expected/blkid/low-probe-ext3 b/tests/expected/blkid/low-probe-ext3
7714f9
index 4bac43f57..8684884c1 100644
7714f9
--- a/tests/expected/blkid/low-probe-ext3
7714f9
+++ b/tests/expected/blkid/low-probe-ext3
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=1024
7714f9
 ID_FS_LABEL=test-ext3
7714f9
 ID_FS_LABEL_ENC=test-ext3
7714f9
 ID_FS_SEC_TYPE=ext2
7714f9
diff --git a/tests/expected/blkid/low-probe-f2fs b/tests/expected/blkid/low-probe-f2fs
7714f9
index ee328640e..272905125 100644
7714f9
--- a/tests/expected/blkid/low-probe-f2fs
7714f9
+++ b/tests/expected/blkid/low-probe-f2fs
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=4096
7714f9
 ID_FS_LABEL=test-f2fs
7714f9
 ID_FS_LABEL_ENC=test-f2fs
7714f9
 ID_FS_TYPE=f2fs
7714f9
diff --git a/tests/expected/blkid/low-probe-fat b/tests/expected/blkid/low-probe-fat
7714f9
index 420121117..75f99434d 100644
7714f9
--- a/tests/expected/blkid/low-probe-fat
7714f9
+++ b/tests/expected/blkid/low-probe-fat
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=TEST-FAT
7714f9
 ID_FS_LABEL_ENC=TEST-FAT
7714f9
 ID_FS_SEC_TYPE=msdos
7714f9
diff --git a/tests/expected/blkid/low-probe-fat16_noheads b/tests/expected/blkid/low-probe-fat16_noheads
7714f9
index ba47078d2..ff9ef2e69 100644
7714f9
--- a/tests/expected/blkid/low-probe-fat16_noheads
7714f9
+++ b/tests/expected/blkid/low-probe-fat16_noheads
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=VTech_1070
7714f9
 ID_FS_LABEL_ENC=VTech\x201070
7714f9
 ID_FS_SEC_TYPE=msdos
7714f9
diff --git a/tests/expected/blkid/low-probe-fat32_cp850_O_tilde b/tests/expected/blkid/low-probe-fat32_cp850_O_tilde
7714f9
index 096bcbf2c..9ce58e3d9 100644
7714f9
--- a/tests/expected/blkid/low-probe-fat32_cp850_O_tilde
7714f9
+++ b/tests/expected/blkid/low-probe-fat32_cp850_O_tilde
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=___
7714f9
 ID_FS_LABEL_ENC=\xe5\xe5\xe5
7714f9
 ID_FS_TYPE=vfat
7714f9
diff --git a/tests/expected/blkid/low-probe-fat32_label_64MB b/tests/expected/blkid/low-probe-fat32_label_64MB
7714f9
index 1179490cf..4a99f8ff6 100644
7714f9
--- a/tests/expected/blkid/low-probe-fat32_label_64MB
7714f9
+++ b/tests/expected/blkid/low-probe-fat32_label_64MB
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=BINGO
7714f9
 ID_FS_LABEL_ENC=BINGO
7714f9
 ID_FS_TYPE=vfat
7714f9
diff --git a/tests/expected/blkid/low-probe-gfs2 b/tests/expected/blkid/low-probe-gfs2
7714f9
index cd5a664b4..f04529bc0 100644
7714f9
--- a/tests/expected/blkid/low-probe-gfs2
7714f9
+++ b/tests/expected/blkid/low-probe-gfs2
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=4096
7714f9
 ID_FS_LABEL=mycluster:mygfs2
7714f9
 ID_FS_LABEL_ENC=mycluster:mygfs2
7714f9
 ID_FS_TYPE=gfs2
7714f9
diff --git a/tests/expected/blkid/low-probe-hfsplus b/tests/expected/blkid/low-probe-hfsplus
7714f9
index f54b59f11..cc351a042 100644
7714f9
--- a/tests/expected/blkid/low-probe-hfsplus
7714f9
+++ b/tests/expected/blkid/low-probe-hfsplus
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=4096
7714f9
 ID_FS_LABEL=123456789ABCDE
7714f9
 ID_FS_LABEL_ENC=123456789ABCDE
7714f9
 ID_FS_TYPE=hfsplus
7714f9
diff --git a/tests/expected/blkid/low-probe-hpfs b/tests/expected/blkid/low-probe-hpfs
7714f9
index 47ae1af28..7e4a12b97 100644
7714f9
--- a/tests/expected/blkid/low-probe-hpfs
7714f9
+++ b/tests/expected/blkid/low-probe-hpfs
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=P01_S16A
7714f9
 ID_FS_LABEL_ENC=P01\x20S16A
7714f9
 ID_FS_TYPE=hpfs
7714f9
diff --git a/tests/expected/blkid/low-probe-iso b/tests/expected/blkid/low-probe-iso
7714f9
index af9908aaa..082f0742a 100644
7714f9
--- a/tests/expected/blkid/low-probe-iso
7714f9
+++ b/tests/expected/blkid/low-probe-iso
7714f9
@@ -1,4 +1,5 @@
7714f9
 ID_FS_APPLICATION_ID=GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
7714f9
+ID_FS_BLOCK_SIZE=2048
7714f9
 ID_FS_LABEL=IsoVolumeName
7714f9
 ID_FS_LABEL_ENC=IsoVolumeName
7714f9
 ID_FS_SYSTEM_ID=LINUX
7714f9
diff --git a/tests/expected/blkid/low-probe-iso-joliet b/tests/expected/blkid/low-probe-iso-joliet
7714f9
index 0229a0d2c..06f529d03 100644
7714f9
--- a/tests/expected/blkid/low-probe-iso-joliet
7714f9
+++ b/tests/expected/blkid/low-probe-iso-joliet
7714f9
@@ -1,4 +1,5 @@
7714f9
 ID_FS_APPLICATION_ID=GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
7714f9
+ID_FS_BLOCK_SIZE=2048
7714f9
 ID_FS_LABEL=ThisWonderfulLabelIsVeryVeryLong
7714f9
 ID_FS_LABEL_ENC=ThisWonderfulLabelIsVeryVeryLong
7714f9
 ID_FS_SYSTEM_ID=LINUX
7714f9
diff --git a/tests/expected/blkid/low-probe-iso-rr-joliet b/tests/expected/blkid/low-probe-iso-rr-joliet
7714f9
index 14d550e90..bb3274db3 100644
7714f9
--- a/tests/expected/blkid/low-probe-iso-rr-joliet
7714f9
+++ b/tests/expected/blkid/low-probe-iso-rr-joliet
7714f9
@@ -1,4 +1,5 @@
7714f9
 ID_FS_APPLICATION_ID=GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
7714f9
+ID_FS_BLOCK_SIZE=2048
7714f9
 ID_FS_LABEL=ThisIsVolumeName
7714f9
 ID_FS_LABEL_ENC=ThisIsVolumeName
7714f9
 ID_FS_SYSTEM_ID=LINUX
7714f9
diff --git a/tests/expected/blkid/low-probe-jbd b/tests/expected/blkid/low-probe-jbd
7714f9
index 8dbcdbce0..c9f9f6b79 100644
7714f9
--- a/tests/expected/blkid/low-probe-jbd
7714f9
+++ b/tests/expected/blkid/low-probe-jbd
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=1024
7714f9
 ID_FS_LOGUUID=0d7a07df-7b06-4829-bce7-3b9c3ece570c
7714f9
 ID_FS_TYPE=jbd
7714f9
 ID_FS_USAGE=other
7714f9
diff --git a/tests/expected/blkid/low-probe-jfs b/tests/expected/blkid/low-probe-jfs
7714f9
index 877fd168e..ac7d31bac 100644
7714f9
--- a/tests/expected/blkid/low-probe-jfs
7714f9
+++ b/tests/expected/blkid/low-probe-jfs
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=4096
7714f9
 ID_FS_LABEL=test-jfs
7714f9
 ID_FS_LABEL_ENC=test-jfs
7714f9
 ID_FS_TYPE=jfs
7714f9
diff --git a/tests/expected/blkid/low-probe-minix-BE b/tests/expected/blkid/low-probe-minix-BE
7714f9
index 9627799a3..f73f1b5db 100644
7714f9
--- a/tests/expected/blkid/low-probe-minix-BE
7714f9
+++ b/tests/expected/blkid/low-probe-minix-BE
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=1024
7714f9
 ID_FS_TYPE=minix
7714f9
 ID_FS_USAGE=filesystem
7714f9
 ID_FS_VERSION=1
7714f9
diff --git a/tests/expected/blkid/low-probe-minix-LE b/tests/expected/blkid/low-probe-minix-LE
7714f9
index 9627799a3..f73f1b5db 100644
7714f9
--- a/tests/expected/blkid/low-probe-minix-LE
7714f9
+++ b/tests/expected/blkid/low-probe-minix-LE
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=1024
7714f9
 ID_FS_TYPE=minix
7714f9
 ID_FS_USAGE=filesystem
7714f9
 ID_FS_VERSION=1
7714f9
diff --git a/tests/expected/blkid/low-probe-nilfs2 b/tests/expected/blkid/low-probe-nilfs2
7714f9
index c6c9cab17..ff27e0b23 100644
7714f9
--- a/tests/expected/blkid/low-probe-nilfs2
7714f9
+++ b/tests/expected/blkid/low-probe-nilfs2
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=4096
7714f9
 ID_FS_LABEL=test-nilfs2
7714f9
 ID_FS_LABEL_ENC=test-nilfs2
7714f9
 ID_FS_TYPE=nilfs2
7714f9
diff --git a/tests/expected/blkid/low-probe-ntfs b/tests/expected/blkid/low-probe-ntfs
7714f9
index aaaa077da..790157aaa 100644
7714f9
--- a/tests/expected/blkid/low-probe-ntfs
7714f9
+++ b/tests/expected/blkid/low-probe-ntfs
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=Новый_том
7714f9
 ID_FS_LABEL_ENC=Новый\x20том
7714f9
 ID_FS_TYPE=ntfs
7714f9
diff --git a/tests/expected/blkid/low-probe-ocfs2 b/tests/expected/blkid/low-probe-ocfs2
7714f9
index 2328d21a0..9b84dbe67 100644
7714f9
--- a/tests/expected/blkid/low-probe-ocfs2
7714f9
+++ b/tests/expected/blkid/low-probe-ocfs2
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=1024
7714f9
 ID_FS_LABEL=test-ocfs2
7714f9
 ID_FS_LABEL_ENC=test-ocfs2
7714f9
 ID_FS_TYPE=ocfs2
7714f9
diff --git a/tests/expected/blkid/low-probe-reiser3 b/tests/expected/blkid/low-probe-reiser3
7714f9
index d376ecae1..1c4b1478d 100644
7714f9
--- a/tests/expected/blkid/low-probe-reiser3
7714f9
+++ b/tests/expected/blkid/low-probe-reiser3
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=4096
7714f9
 ID_FS_LABEL=TESTREISER
7714f9
 ID_FS_LABEL_ENC=TESTREISER
7714f9
 ID_FS_TYPE=reiserfs
7714f9
diff --git a/tests/expected/blkid/low-probe-reiser4 b/tests/expected/blkid/low-probe-reiser4
7714f9
index 65d63aa65..66df064fd 100644
7714f9
--- a/tests/expected/blkid/low-probe-reiser4
7714f9
+++ b/tests/expected/blkid/low-probe-reiser4
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=4096
7714f9
 ID_FS_LABEL=TESTR4
7714f9
 ID_FS_LABEL_ENC=TESTR4
7714f9
 ID_FS_TYPE=reiser4
7714f9
diff --git a/tests/expected/blkid/low-probe-romfs b/tests/expected/blkid/low-probe-romfs
7714f9
index 2eb982bc1..b56a6b881 100644
7714f9
--- a/tests/expected/blkid/low-probe-romfs
7714f9
+++ b/tests/expected/blkid/low-probe-romfs
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=1024
7714f9
 ID_FS_LABEL=test-romfs
7714f9
 ID_FS_LABEL_ENC=test-romfs
7714f9
 ID_FS_TYPE=romfs
7714f9
diff --git a/tests/expected/blkid/low-probe-small-fat32 b/tests/expected/blkid/low-probe-small-fat32
7714f9
index 39239e6b3..5dba03ec3 100644
7714f9
--- a/tests/expected/blkid/low-probe-small-fat32
7714f9
+++ b/tests/expected/blkid/low-probe-small-fat32
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=TESTVFAT
7714f9
 ID_FS_LABEL_ENC=TESTVFAT
7714f9
 ID_FS_TYPE=vfat
7714f9
diff --git a/tests/expected/blkid/low-probe-udf b/tests/expected/blkid/low-probe-udf
7714f9
index 902fb82f0..869a335db 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf
7714f9
+++ b/tests/expected/blkid/low-probe-udf
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=2048
7714f9
 ID_FS_LABEL=test-udf
7714f9
 ID_FS_LABEL_ENC=test-udf
7714f9
 ID_FS_LOGICAL_VOLUME_ID=test-udf
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-bdr-2.60-nero b/tests/expected/blkid/low-probe-udf-bdr-2.60-nero
7714f9
index c0b8867b5..fcf29b112 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-bdr-2.60-nero
7714f9
+++ b/tests/expected/blkid/low-probe-udf-bdr-2.60-nero
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=2048
7714f9
 ID_FS_LABEL=Label
7714f9
 ID_FS_LABEL_ENC=Label
7714f9
 ID_FS_LOGICAL_VOLUME_ID=Label
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-cd-mkudfiso-20100208 b/tests/expected/blkid/low-probe-udf-cd-mkudfiso-20100208
7714f9
index f57dee08b..768d0d2f0 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-cd-mkudfiso-20100208
7714f9
+++ b/tests/expected/blkid/low-probe-udf-cd-mkudfiso-20100208
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=2048
7714f9
 ID_FS_LABEL=Volume_Label
7714f9
 ID_FS_LABEL_ENC=Volume\x20Label
7714f9
 ID_FS_LOGICAL_VOLUME_ID=Volume Label
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-cd-nero-6 b/tests/expected/blkid/low-probe-udf-cd-nero-6
7714f9
index cf85ea9c5..41f9ff509 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-cd-nero-6
7714f9
+++ b/tests/expected/blkid/low-probe-udf-cd-nero-6
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=2048
7714f9
 ID_FS_LABEL=UDF_Label
7714f9
 ID_FS_LABEL_ENC=UDF\x20Label
7714f9
 ID_FS_LOGICAL_VOLUME_ID=UDF Label
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.0.0-1 b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.0.0-1
7714f9
index 5446aec42..e26b2da0c 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.0.0-1
7714f9
+++ b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.0.0-1
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=LinuxUDF
7714f9
 ID_FS_LABEL_ENC=LinuxUDF
7714f9
 ID_FS_LOGICAL_VOLUME_ID=LinuxUDF
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.0.0-2 b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.0.0-2
7714f9
index b72fcac72..112768353 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.0.0-2
7714f9
+++ b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.0.0-2
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=Label
7714f9
 ID_FS_LABEL_ENC=Label
7714f9
 ID_FS_LOGICAL_VOLUME_ID=Label
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-1 b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-1
7714f9
index 20f148549..db9127d34 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-1
7714f9
+++ b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-1
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=Label
7714f9
 ID_FS_LABEL_ENC=Label
7714f9
 ID_FS_LOGICAL_VOLUME_ID=Label
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-2 b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-2
7714f9
index 34a2f49e3..f472284f3 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-2
7714f9
+++ b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-2
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=2048
7714f9
 ID_FS_LABEL=Label
7714f9
 ID_FS_LABEL_ENC=Label
7714f9
 ID_FS_LOGICAL_VOLUME_ID=Label
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-3 b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-3
7714f9
index 3fef2b3c6..6f4802ca0 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-3
7714f9
+++ b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-3
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=2048
7714f9
 ID_FS_LABEL=ÿ
7714f9
 ID_FS_LABEL_ENC=ÿ
7714f9
 ID_FS_LOGICAL_VOLUME_ID=ÿ
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-4 b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-4
7714f9
index 28cd73603..0ae5b910e 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-4
7714f9
+++ b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-4
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=1024
7714f9
 ID_FS_LABEL=Label
7714f9
 ID_FS_LABEL_ENC=Label
7714f9
 ID_FS_LOGICAL_VOLUME_ID=Label
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-5 b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-5
7714f9
index d84ae8964..1b98c21ed 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-5
7714f9
+++ b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-5
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=4096
7714f9
 ID_FS_LABEL=Label
7714f9
 ID_FS_LABEL_ENC=Label
7714f9
 ID_FS_LOGICAL_VOLUME_ID=Label
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-6 b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-6
7714f9
index d73914970..c22c96b0a 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-6
7714f9
+++ b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-6
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
7714f9
 ID_FS_LABEL_ENC=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
7714f9
 ID_FS_LOGICAL_VOLUME_ID=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-7 b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-7
7714f9
index a78606eea..c3b9d8a8a 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-7
7714f9
+++ b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-7
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=4096
7714f9
 ID_FS_LABEL=Label4096
7714f9
 ID_FS_LABEL_ENC=Label4096
7714f9
 ID_FS_LOGICAL_VOLUME_ID=Label4096
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-8 b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-8
7714f9
index 448c8f90b..58c131f7d 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-8
7714f9
+++ b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-8
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=LinuxUDF
7714f9
 ID_FS_LABEL_ENC=LinuxUDF
7714f9
 ID_FS_LOGICAL_VOLUME_ID=LinuxUDF
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-hdd-udfclient-0.7.5 b/tests/expected/blkid/low-probe-udf-hdd-udfclient-0.7.5
7714f9
index b33c814d6..18930cead 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-hdd-udfclient-0.7.5
7714f9
+++ b/tests/expected/blkid/low-probe-udf-hdd-udfclient-0.7.5
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=discname
7714f9
 ID_FS_LABEL_ENC=discname
7714f9
 ID_FS_LOGICAL_VOLUME_ID=discname
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-hdd-udfclient-0.7.7 b/tests/expected/blkid/low-probe-udf-hdd-udfclient-0.7.7
7714f9
index a47bd3f12..13e984167 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-hdd-udfclient-0.7.7
7714f9
+++ b/tests/expected/blkid/low-probe-udf-hdd-udfclient-0.7.7
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=discname
7714f9
 ID_FS_LABEL_ENC=discname
7714f9
 ID_FS_LOGICAL_VOLUME_ID=discname
7714f9
diff --git a/tests/expected/blkid/low-probe-udf-hdd-win7 b/tests/expected/blkid/low-probe-udf-hdd-win7
7714f9
index 759c8db3d..e68f180e5 100644
7714f9
--- a/tests/expected/blkid/low-probe-udf-hdd-win7
7714f9
+++ b/tests/expected/blkid/low-probe-udf-hdd-win7
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=My_volume_label
7714f9
 ID_FS_LABEL_ENC=My\x20volume\x20label
7714f9
 ID_FS_LOGICAL_VOLUME_ID=My volume label
7714f9
diff --git a/tests/expected/blkid/low-probe-ufs b/tests/expected/blkid/low-probe-ufs
7714f9
index 96828d73e..256f065d2 100644
7714f9
--- a/tests/expected/blkid/low-probe-ufs
7714f9
+++ b/tests/expected/blkid/low-probe-ufs
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=2048
7714f9
 ID_FS_TYPE=ufs
7714f9
 ID_FS_USAGE=filesystem
7714f9
 ID_FS_UUID=4b0e640aec56ac70
7714f9
diff --git a/tests/expected/blkid/low-probe-xfs b/tests/expected/blkid/low-probe-xfs
7714f9
index f21d881a5..6eb1b4600 100644
7714f9
--- a/tests/expected/blkid/low-probe-xfs
7714f9
+++ b/tests/expected/blkid/low-probe-xfs
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=test-xfs
7714f9
 ID_FS_LABEL_ENC=test-xfs
7714f9
 ID_FS_TYPE=xfs
7714f9
diff --git a/tests/expected/blkid/low-probe-zfs b/tests/expected/blkid/low-probe-zfs
7714f9
index 952e0e591..0e7af2866 100644
7714f9
--- a/tests/expected/blkid/low-probe-zfs
7714f9
+++ b/tests/expected/blkid/low-probe-zfs
7714f9
@@ -1,3 +1,4 @@
7714f9
+ID_FS_BLOCK_SIZE=512
7714f9
 ID_FS_LABEL=tank
7714f9
 ID_FS_LABEL_ENC=tank
7714f9
 ID_FS_TYPE=zfs_member
7714f9
-- 
7714f9
2.25.4
7714f9