Re: [GIT PULL] bcachefs

From: Thomas Weißschuh
Date: Wed Jun 28 2023 - 10:50:17 EST


On 2023-06-28 08:40:27-0600, Jens Axboe wrote:
> On 6/27/23 4:05?PM, Dave Chinner wrote:
> [..]

> > There should be no reason to need to specify the filesystem type for
> > filesystems that blkid recognises. from common/config:
> >
> > # Autodetect fs type based on what's on $TEST_DEV unless it's been set
> > # externally
> > if [ -z "$FSTYP" ] && [ ! -z "$TEST_DEV" ]; then
> > FSTYP=`blkid -c /dev/null -s TYPE -o value $TEST_DEV`
> > fi
> > FSTYP=${FSTYP:=xfs}
> > export FSTYP
>
> Gotcha, yep it's because blkid fails to figure it out.

This needs blkid/util-linux version 2.39 which is fairly new.
If it doesn't work with that, it's a bug.

Thomas