diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2009-05-15 14:01:28 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2009-05-15 14:52:34 +0100 |
commit | 5cd39c83e23eb300d1bdfa806902a31b409ff420 (patch) | |
tree | a47e2bf9afc16cb9404ae996f512a9d3f22e553b /src/guestfs-actions.h | |
parent | b8e5f51c79f539a740827506cc9da3ffcb6c87f8 (diff) | |
download | libguestfs-5cd39c83e23eb300d1bdfa806902a31b409ff420.tar.gz libguestfs-5cd39c83e23eb300d1bdfa806902a31b409ff420.tar.xz libguestfs-5cd39c83e23eb300d1bdfa806902a31b409ff420.zip |
Add: pvresize, sfdisk-N, sfdisk-l, sfdisk-kernel-geomtry, sfdisk-disk-geometry commands. Pass --no-reread flag to sfdisk.
Diffstat (limited to 'src/guestfs-actions.h')
-rw-r--r-- | src/guestfs-actions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/guestfs-actions.h b/src/guestfs-actions.h index 9a4e9232..b07e3dd5 100644 --- a/src/guestfs-actions.h +++ b/src/guestfs-actions.h @@ -140,3 +140,8 @@ extern char **guestfs_strings (guestfs_h *handle, const char *path); extern char **guestfs_strings_e (guestfs_h *handle, const char *encoding, const char *path); extern char *guestfs_hexdump (guestfs_h *handle, const char *path); extern int guestfs_zerofree (guestfs_h *handle, const char *device); +extern int guestfs_pvresize (guestfs_h *handle, const char *device); +extern int guestfs_sfdisk_N (guestfs_h *handle, const char *device, int n, int cyls, int heads, int sectors, const char *line); +extern char *guestfs_sfdisk_l (guestfs_h *handle, const char *device); +extern char *guestfs_sfdisk_kernel_geometry (guestfs_h *handle, const char *device); +extern char *guestfs_sfdisk_disk_geometry (guestfs_h *handle, const char *device); |