X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=generator%2Fgenerator_actions.ml;h=f76a404be5cbd12ebfa82a942aee7a6f2fdb07f1;hb=248465a6206dd3881adebcd2c17ea0a0c2f59742;hp=8d03275fead74b2bb08f27c383b983c911dd7189;hpb=04fbcc63ebf5718608f199eb6b09061cd32283c3;p=libguestfs.git diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index 8d03275..f76a404 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -1572,7 +1572,7 @@ This returns the number of virtual CPUs assigned to the appliance."); *) let daemon_functions = [ - ("mount", (RErr, [Device "device"; String "mountpoint"], []), 1, [DeprecatedBy "mount_options"], + ("mount", (RErr, [Device "device"; String "mountpoint"], []), 1, [], [InitEmpty, Always, TestOutput ( [["part_disk"; "/dev/sda"; "mbr"]; ["mkfs"; "ext2"; "/dev/sda1"]; @@ -1595,15 +1595,12 @@ exist. The mounted filesystem is writable, if we have sufficient permissions on the underlying device. -B -When you use this call, the filesystem options C and C -are set implicitly. This was originally done because we thought it -would improve reliability, but it turns out that I<-o sync> has a -very large negative performance impact and negligible effect on -reliability. Therefore we recommend that you avoid using -C in any code that needs performance, and instead -use C (use an empty string for the first -parameter if you don't want any options)."); +Before libguestfs 1.13.16, this call implicitly added the options +C and C. The C option greatly slowed +writes and caused many problems for users. If your program +might need to work with older versions of libguestfs, use +C instead (using an empty string for the +first parameter if you don't want any options)."); ("sync", (RErr, [], []), 2, [], [ InitEmpty, Always, TestRun [["sync"]]],