X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fgenerator.ml;h=5717f9b6aac66d30a0dcec069f91085e1ff41955;hp=19dc20d53a986756d473c899ebd193134915bc1c;hb=85ed8cef99c19b4143844991d14e0b848fecc5da;hpb=adf0974245af914c46b48766d0efdd5ee8608dda diff --git a/src/generator.ml b/src/generator.ml index 19dc20d..5717f9b 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -2069,6 +2069,33 @@ kernel's idea of the geometry (see C). The result is in human-readable format, and not designed to be parsed."); + ("vg_activate_all", (RErr, [Bool "activate"]), 103, [], + [], + "activate or deactivate all volume groups", + "\ +This command activates or (if C is false) deactivates +all logical volumes in all volume groups. +If activated, then they are made known to the +kernel, ie. they appear as C devices. If deactivated, +then those devices disappear. + +This command is the same as running C"); + + ("vg_activate", (RErr, [Bool "activate"; StringList "volgroups"]), 104, [], + [], + "activate or deactivate some volume groups", + "\ +This command activates or (if C is false) deactivates +all logical volumes in the listed volume groups C. +If activated, then they are made known to the +kernel, ie. they appear as C devices. If deactivated, +then those devices disappear. + +This command is the same as running C + +Note that if C is an empty list then B volume groups +are activated or deactivated."); + ] let all_functions = non_daemon_functions @ daemon_functions