daemon: Reimplement xfs_info using xfs_info2

Remove all the complicated old C parsing code and reimplement xfs_info
using xfs_info2.  Note that this function will be deprecated.
This commit is contained in:
Richard W.M. Jones
2026-01-23 12:27:39 +00:00
committed by rwmjones
parent dfd2700616
commit e1deb358ce
3 changed files with 46 additions and 310 deletions

View File

@@ -7262,6 +7262,7 @@ call C<guestfs_max_disks>.|} };
{ defaults with
name = "xfs_info"; added = (1, 19, 21);
style = RStruct ("info", "xfsinfo"), [String (Dev_or_Path, "pathordevice")], [];
impl = OCaml "Xfs.xfs_info";
optional = Some "xfs";
tests = [
InitEmpty, Always, TestResult (