From 4ec8fd189dc8404e713c00bcfc36de358f5cdca3 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 17 May 2011 15:52:16 +0100 Subject: [PATCH] generator: Mark mount as deprecated. Callers should use 'mount_options' or 'mount_vfs' instead. See also: http://libguestfs.org/guestfs.3.html#libguestfs_gotchas --- generator/generator_actions.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]; -- 1.8.3.1