forked from nix-community/disko

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 Commit Parent a4f7deb4
+5 -5
2 changed files
+5 -5
2 changed files