bcachefs
bcachefs copied to clipboard
bcachefs-tools should not use ":" to separate devices
trafficstars
The df --local command does not list multiple-device bcachefs filesystems, even if it lists single-device ones.
$ df --local /mnt/tmp
df: no file systems processed
$ df /mnt/tmp
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/sdb1:/dev/sdb3 999736 318746 680991 32% /mnt/tmp
I guess that is because it considers mount-device strings containing a ":" as non-local. Two possible solutions:
- Accept another device-list separator, for example ",".
- Allow specifying a single device as mount device and use a mount option to list additional devices.
I think that the second option is preferable, as there is precedent, and having long mount-device strings screws up the output of df and other commands.
This seem related to https://github.com/koverstreet/bcachefs/issues/1