btrfs: Use btrfs device scan instead of btrfsctl -a
Pull request ID:
I justed upgraded my btrfs userland tools and saw:
root@atom0:~# btrfsctl -a ** ** WARNING: this program is considered deprecated ** Please consider to switch to the btrfs utility ** Scanning for Btrfs filesystems root@atom0:~#
In the init script and the mkcephfs script the btrfsctl binary is called.
We could do a check? If the btrfs binary is available use that one, otherwise fall back on btrfsctl?