X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=generator%2Fgenerator_actions.ml;h=925640f20657970879593251ac16e018d9267001;hb=342b4a55d056734a0344db8b4bcf1a90104a8a59;hp=dff84801f028677b57bf85890b435cdedb2369a9;hpb=c11a92751e003b3d4bc3584b598afc9bd9d9e703;p=libguestfs.git diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index dff8480..925640f 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -6490,6 +6490,43 @@ If not set, this defaults to C. =back"); + ("list_md_devices", (RStringList "devices", [], []), 300, [], + [], + "list Linux md (RAID) devices", + "\ +List all Linux md devices."); + + ("mdadm_detail", (RHashtable "info", [Device "md"], []), 301, [Optional "mdadm"], + [], + "obtain metadata for an MD device", + "\ +This command exposes the output of 'mdadm -DY '. The following fields are +usually present in the returned hash. Other fields may also be present. + +=over + +=item C + +The raid level of the MD device. + +=item C + +The number of underlying devices in the MD device. + +=item C + +The metadata version used. + +=item C + +The UUID of the MD device. + +=item C + +The name of the MD device. + +=back"); + ] let all_functions = non_daemon_functions @ daemon_functions