daemon: Reimplement ‘part_get_mbr_id’ API in OCaml.

This commit is contained in:
Richard W.M. Jones
2017-06-03 14:56:57 +01:00
parent 82bbd9c8a5
commit ff10ee035d
5 changed files with 77 additions and 42 deletions

View File

@@ -5513,6 +5513,7 @@ See also C<guestfs_part_set_bootable>." };
{ defaults with
name = "part_get_mbr_id"; added = (1, 3, 2);
style = RInt "idbyte", [String (Device, "device"); Int "partnum"], [];
impl = OCaml "Parted.part_get_mbr_id";
fish_output = Some FishOutputHexadecimal;
tests = [
InitEmpty, Always, TestResult (