generator: Mark mount as deprecated.

Callers should use 'mount_options' or 'mount_vfs' instead.

See also:
http://libguestfs.org/guestfs.3.html#libguestfs_gotchas
This commit is contained in:
Richard W.M. Jones
2011-05-17 15:52:16 +01:00
parent 31de91f6d2
commit 4ec8fd189d

View File

@@ -1529,7 +1529,7 @@ C<guestfs_inspect_get_filesystems>.");
*)
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"];