summaryrefslogtreecommitdiffstats
path: root/guestfs-actions.pod
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-06-29 20:24:47 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-06-29 20:25:20 +0100
commitda8ddb2745c3d53c36e3ad7f09836a4c27a4d3e6 (patch)
tree5555f9addd140af8cf2b40c9526d1b1837abdd7f /guestfs-actions.pod
parent662617ae725c5e41c24128a037060419fbe4b026 (diff)
downloadlibguestfs-da8ddb2745c3d53c36e3ad7f09836a4c27a4d3e6.tar.gz
libguestfs-da8ddb2745c3d53c36e3ad7f09836a4c27a4d3e6.tar.xz
libguestfs-da8ddb2745c3d53c36e3ad7f09836a4c27a4d3e6.zip
Generated code for the 'mkswap*' commands.
Diffstat (limited to 'guestfs-actions.pod')
-rw-r--r--guestfs-actions.pod29
1 files changed, 29 insertions, 0 deletions
diff --git a/guestfs-actions.pod b/guestfs-actions.pod
index 56949faa..aade37b9 100644
--- a/guestfs-actions.pod
+++ b/guestfs-actions.pod
@@ -1331,6 +1331,35 @@ example C<ext3>.
This function returns 0 on success or -1 on error.
+=head2 guestfs_mkswap
+
+ int guestfs_mkswap (guestfs_h *handle,
+ const char *device);
+
+Create a swap partition on C<device>.
+
+This function returns 0 on success or -1 on error.
+
+=head2 guestfs_mkswap_L
+
+ int guestfs_mkswap_L (guestfs_h *handle,
+ const char *label,
+ const char *device);
+
+Create a swap partition on C<device> with label C<label>.
+
+This function returns 0 on success or -1 on error.
+
+=head2 guestfs_mkswap_U
+
+ int guestfs_mkswap_U (guestfs_h *handle,
+ const char *uuid,
+ const char *device);
+
+Create a swap partition on C<device> with UUID C<uuid>.
+
+This function returns 0 on success or -1 on error.
+
=head2 guestfs_mount
int guestfs_mount (guestfs_h *handle,