I thought I read that there's some issue with blkid uuids and it sounds like there's a better way to do this (using bcachefs-tools' own scanning?). The UUID is listed correctly in the show-super output, so I feel like this should work, and I'd like to use the appropriate setup. The errors with broken newlines also make me nervous.
There's no documentation around OLD_BLKID_UUID besides the commit. Trying to infer idiomatic usage here:
New versions of blkid support bcachefs so mount -t bcachefs UUID=X will work and using UUID this way is normal
For old versions of blkid, OLD_BLKID_UUID is a workaround that uses bcachefs's own UUID search mechanism?
However
$ blkid -V
blkid from util-linux 2.39.2 (libblkid 2.39.2, 17-Aug-2023)
so UUID should work for me.
Additionally
linux 6.4.16
bcachefs-tools 1.3.1
I'm on nixos, and just confirming that everything's on the same version:
$ which bcachefs
/run/current-system/sw/bin/bcachefs
$ ls -lh /run/current-system/sw/bin/bcachefs
lrwxrwxrwx 1 root root 77 Jan 1 1970 /run/current-system/sw/bin/bcachefs -> /nix/store/aa1ifb38rh5cjzkjk2833nhxxs7qnd99-bcachefs-tools-1.3.1/bin/bcachefs
$ which mount.bcachefs
/run/current-system/sw/bin/mount.bcachefs
$ ls -lh /run/current-system/sw/bin/mount.bcachefs
lrwxrwxrwx 1 root root 83 Jan 1 1970 /run/current-system/sw/bin/mount.bcachefs -> /nix/store/aa1ifb38rh5cjzkjk2833nhxxs7qnd99-bcachefs-tools-1.3.1/bin/mount.bcachefs
I guess my questions are
Why doesn't bcachefs mount work with UUID= or OLD_BLKID_UUID?
Using
UUID=
withbcachefs mount
fails:Using
OLD_BLKID_UUID
withbcachefs mount
also fails:Only mounting with
mount -t bcachefs OLD_BLKID_UUID=
works:I set up bcachefs with an older bcachefs version some months ago.
show-super
works fine and shows:I thought I read that there's some issue with blkid uuids and it sounds like there's a better way to do this (using bcachefs-tools' own scanning?). The UUID is listed correctly in the show-super output, so I feel like this should work, and I'd like to use the appropriate setup. The errors with broken newlines also make me nervous.
There's no documentation around
OLD_BLKID_UUID
besides the commit. Trying to infer idiomatic usage here:blkid
support bcachefs somount -t bcachefs UUID=X
will work and using UUID this way is normalblkid
,OLD_BLKID_UUID
is a workaround that uses bcachefs's own UUID search mechanism?However
so
UUID
should work for me.Additionally
I'm on nixos, and just confirming that everything's on the same version:
I guess my questions are
bcachefs mount
work withUUID=
orOLD_BLKID_UUID
?UUID=
work withmount
?