Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
if (blkid_probe_set_label(pr, bcs->label, sizeof(bcs->label)) < 0)
return BLKID_PROBE_NONE;
+ if (blkid_probe_set_block_size(pr, le16_to_cpu(bcs->block_size) * 512))
+ return BLKID_PROBE_NONE;
+
blkid_probe_set_wiper(pr, 0, BCACHE_SB_OFF);
return BLKID_PROBE_OK;
+ID_FS_BLOCK_SIZE=4096
ID_FS_TYPE=bcache
ID_FS_USAGE=other
ID_FS_UUID=8fb7f716-4c19-4517-bfbb-6f4a2becad60
+ID_FS_BLOCK_SIZE=4096
ID_FS_TYPE=bcache
ID_FS_USAGE=other
ID_FS_UUID=7a343627-ac87-4bf0-b76f-46067cbc9b8c
+ID_FS_BLOCK_SIZE=4096
ID_FS_LABEL=journal-cache
ID_FS_LABEL_ENC=journal-cache
ID_FS_TYPE=bcache