Something went wrong. Try again.
forked from nix-community/disko
Something went wrong. Try again.
remove quotes from --label creation for bcachefs
fixes device groups, for example where the disko config given looks like: label = "fast.dev1"; after formatting, the device has a literal label of "fast.dev1" which breaks bcachefs device groups: echo fast > /sys/fs/bcachefs/<id>/options/foreground_target gives the error Invalid argument, echo fast.dev1 fails as well echo "\"fast\"" fails the same, however echo "\"fast.dev1\"" succeeds after this, device labels and groups work as expected and any component of the label can be used for a *_target
Author
mfossen.tngl.sh Committer Jörg Thalheim Date (Jun 5, 2025, 6:16 PM UTC) Commit
Copy SHA
Parent a4f7deb4 a4f7deb49f7336feb6c5abaf213b374936421dbe