Verification done on bionic-proposed. Now libblkid1 detects only the bcache superblock and prints udev/uuid variables.
$ lsb_release -cs bionic $ DISK_IMG=disk.img $ rm -f $DISK_IMG $ dd if=/dev/zero of=$DISK_IMG bs=1G count=0 seek=1 $ BACKING_DEV=$(sudo losetup --find --show $DISK_IMG) $ sudo make-bcache -B $BACKING_DEV $ BCACHE_DEV="$(readlink -e /sys/block/$(basename $BACKING_DEV)/bcache/dev)" $ BCACHE_DEV="/dev/$(basename $BCACHE_DEV)" $ sudo mkfs.xfs -d agsize=16m -l agnum=0 -f $BCACHE_DEV $ echo 1 | sudo tee /sys/block/$(basename $BCACHE_DEV)/bcache/stop $ sudo hexdump -C $BACKING_DEV | grep -m2 -e XFSB -e 'fe ed ba be' 00002000 58 46 53 42 00 00 10 00 00 00 00 00 00 03 f0 00 |XFSB............| 00007000 fe ed ba be 00 00 00 01 00 00 00 02 00 00 02 00 |................| bionic-updates: --- $ dpkg -s libblkid1 | grep -i version Version: 2.31.1-0.4ubuntu3.4 $ sudo blkid -o udev -p $BACKING_DEV ID_FS_AMBIVALENT=other:bcache other:xfs_external_log bionic-proposed: --- $ apt-cache madison libblkid1 | grep proposed libblkid1 | 2.31.1-0.4ubuntu3.5 | http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages $ sudo apt install libblkid1 -y $ dpkg -s libblkid1 | grep -i version: Version: 2.31.1-0.4ubuntu3.5 $ sudo blkid -o udev -p $BACKING_DEV ID_FS_UUID=7879f264-a1e6-4b7f-8fd0-2565c10adc44 ID_FS_UUID_ENC=7879f264-a1e6-4b7f-8fd0-2565c10adc44 ID_FS_TYPE=bcache ID_FS_USAGE=other ** Tags added: verification-done-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1858802 Title: libblkid: no bcache UUID due to ambivalent detection of bcache and xfs_external_log for regular xfs in bcache backing device To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1858802/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
