diff --git a/guestfs-actions.pod b/guestfs-actions.pod index c8a607768..f1ef33208 100644 --- a/guestfs-actions.pod +++ b/guestfs-actions.pod @@ -15,6 +15,12 @@ first be mounted on C before others can be mounted. Other filesystems can only be mounted on directories which already exist. +The mounted filesystem is writable, if we have sufficient permissions +on the underlying device. + +The filesystem options C and C are set with this +call, in order to improve reliability. + This function return 0 on success or -1 on error. =head2 guestfs_sync diff --git a/src/generator.ml b/src/generator.ml index 29f743895..5868e170a 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -318,7 +318,6 @@ and generate_client_actions () = pr " serial = dispatch (g, GUESTFS_PROC_%s, NULL, NULL);\n" (String.uppercase shortname) | (_, args) -> - pr "\n"; iter_args ( function | String name -> pr " args.%s = (char *) %s;\n" name name diff --git a/src/guestfs-actions.c b/src/guestfs-actions.c index fd7a0b92c..484bb8df7 100644 --- a/src/guestfs-actions.c +++ b/src/guestfs-actions.c @@ -61,7 +61,6 @@ int guestfs_mount (guestfs_h *g, memset (&rv, 0, sizeof rv); - args.device = (char *) device; args.mountpoint = (char *) mountpoint; serial = dispatch (g, GUESTFS_PROC_MOUNT, @@ -197,7 +196,6 @@ int guestfs_touch (guestfs_h *g, memset (&rv, 0, sizeof rv); - args.path = (char *) path; serial = dispatch (g, GUESTFS_PROC_TOUCH, (xdrproc_t) xdr_guestfs_touch_args, (char *) &args);