From: Richard W.M. Jones Date: Tue, 17 May 2011 14:52:16 +0000 (+0100) Subject: generator: Mark mount as deprecated. X-Git-Tag: 1.11.7~2 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=4ec8fd189dc8404e713c00bcfc36de358f5cdca3 generator: Mark mount as deprecated. Callers should use 'mount_options' or 'mount_vfs' instead. See also: http://libguestfs.org/guestfs.3.html#libguestfs_gotchas --- diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index 41a0167..95e5d0c 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -1529,7 +1529,7 @@ C."); *) let daemon_functions = [ - ("mount", (RErr, [Device "device"; String "mountpoint"], []), 1, [], + ("mount", (RErr, [Device "device"; String "mountpoint"], []), 1, [DeprecatedBy "mount_options"], [InitEmpty, Always, TestOutput ( [["part_disk"; "/dev/sda"; "mbr"]; ["mkfs"; "ext2"; "/dev/sda1"];