search for: guestfs_copy_device_to_fil

Displaying 8 results from an estimated 8 matches for "guestfs_copy_device_to_fil".

2017 Feb 09
3
Extract VHD using guestfs
Hi, I have tried to extract *.vhd* file using guestfs library. I am able to list all files inside my archive using *guestfs_ls* also * guestfs_list_filesystems()* retruns right File system information. I am trying to extract files from inside archive using *guestfs_copy_device_to_file() * but it returns following error (error: copy_device_to_file: unknown option 689330304 (this can happen if a program is compiled against a newer version of libguestfs, then dynamically linked to an older version)). Please see attached main.c for my sample code. Regards MUHAMMAD MOSHIN
2017 Feb 09
0
Re: Extract VHD using guestfs
...e code. I don't know about the above error, but the way you've used copy-device-to-file is clearly wrong: > guestfs_mount (g, "/dev/sda1", "/"); > > //guestfs_mount_local (g, "/home/mohsin/VHD/"); > guestfs_ls(g, "/"); > guestfs_copy_device_to_file(g, "/dev/sda1/file-to extract.exe", "/abc.exe"); It's actually not clear to me what you're trying to achieve here. Download the file to the local host? If so use guestfs_download: guestfs_download (g, "/file-to-extract.exe", "local-file.exe");...
2017 Feb 13
2
Re: Extract VHD using guestfs
...but the way you've used > copy-device-to-file is clearly wrong: > > > guestfs_mount (g, "/dev/sda1", "/"); > > > > //guestfs_mount_local (g, "/home/mohsin/VHD/"); > > guestfs_ls(g, "/"); > > guestfs_copy_device_to_file(g, "/dev/sda1/file-to extract.exe", > "/abc.exe"); > > It's actually not clear to me what you're trying to achieve here. > Download the file to the local host? If so use guestfs_download: > > guestfs_download (g, "/file-to-extract.exe", &q...
2011 Oct 06
2
Plan for libguestfs 1.14
[Since Hilko asked me about this on IRC ...] The current plan is to rebase libguestfs in RHEL 6.3: https://bugzilla.redhat.com/show_bug.cgi?id=719879 I would like to get as many features from upstream libguestfs into this as possible, but also make sure they have been well-tested by Fedora users. Also there are some new tools arriving in libguestfs upstream in the current development branch
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of local disk. Rich.
2015 Jul 21
0
ANNOUNCE: libguestfs 1.30 released
...ro for creating a read-only Btrfs snapshot qgroupid for adding the snapshot to a qgroup guestfs_btrfs_subvolume_create can also take the optional qgroupid parameter (Hu Tao). guestfs_set_uuid can set UUID of swap partitions, Btrfs (Hu Tao, Chen Hanxiao). guestfs_copy_device_to_file and guestfs_copy_file_to_file have a new optional append parameter, allowing you to append to the output file instead of truncating it. guestfs_mkfs has a new optional label parameter to set the initial label of the new filesystem (Pino Toscano). guestfs_set_label and guestfs...
2012 Mar 27
16
[PATCH 01/16] generator: Fix unescaped '<' and '>' in api descriptions
--- generator/generator_actions.ml | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index 68a7bf6..fcf363f 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -4664,7 +4664,7 @@ This creates an ext2/3/4 filesystem on C<device> with an external journal on
2017 Feb 18
8
[PATCH 0/6] generator: Split up generator/actions.ml
Split up the huge generator/actions.ml into several smaller files. Rich.