X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=generator%2Fgenerator_actions.ml;h=925640f20657970879593251ac16e018d9267001;hb=342b4a55d056734a0344db8b4bcf1a90104a8a59;hp=a4658a0e5a6effab7600d03cf9988c3519078ee6;hpb=00a0fab50b3803be8db5b7d9fa0869a70b0da556;p=libguestfs.git diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index a4658a0..925640f 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -6496,6 +6496,37 @@ If not set, this defaults to C. "\ 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