Open tasleson opened 4 years ago
Btrfs has a library interface, ref. https://github.com/kdave/btrfs-progs/tree/master/libbtrfsutil . It would be better to utilize it instead of forking & exec'ing the command line interface and parsing the results as we are in targetd.
Btrfs has a library interface, ref. https://github.com/kdave/btrfs-progs/tree/master/libbtrfsutil . It would be better to utilize it instead of forking & exec'ing the command line interface and parsing the results as we are in targetd.