X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=generator%2Fgenerator_actions.ml;h=8add55fe7082320dbdefe1ebaac261032902dd6c;hp=695a73d71364ff38580abde76441cd83d801c3e2;hb=f48cd1f262312ad278a293a20ab442dcfc076a69;hpb=14490c3e1aac61c6ac90f28828896683f64f0dc9 diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index 695a73d..8add55f 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -286,11 +286,11 @@ best effort attempt to run C followed by C when the handle is closed (also if the program exits without closing handles). -This is disabled by default (except in guestfish where it is -enabled by default)."); +This is enabled by default (since libguestfs 1.5.24, previously it was +disabled by default)."); ("get_autosync", (RBool "autosync", [], []), -1, [], - [InitNone, Always, TestRun ( + [InitNone, Always, TestOutputTrue ( [["get_autosync"]])], "get autosync mode", "\ @@ -5208,6 +5208,22 @@ see the L system call. See also C."); + ("lvm_canonical_lv_name", (RString "lv", [Device "lvname"], []), 277, [], + [InitBasicFSonLVM, IfAvailable "lvm2", TestOutput ( + [["lvm_canonical_lv_name"; "/dev/mapper/VG-LV"]], "/dev/VG/LV"); + InitBasicFSonLVM, IfAvailable "lvm2", TestOutput ( + [["lvm_canonical_lv_name"; "/dev/VG/LV"]], "/dev/VG/LV")], + "get canonical name of an LV", + "\ +This converts alternative naming schemes for LVs that you +might find to the canonical name. For example, C +is converted to C. + +This command returns an error if the C parameter does +not refer to a logical volume. + +See also C."); + ] let all_functions = non_daemon_functions @ daemon_functions