Displaying 12 results from an estimated 12 matches for "guestfs_l".
Did you mean:
guestfs_h
2015 Jun 01
2
Dynamic monitoring of virtual machine disk by libguestfs
Hi all ,
By using function : guestfs_ls() , I have realized ls -l commond
with libguesfs . I am wondering how to inspect the virtual disk
dynamically, such as monitor mkdir commond inside the virtual machines,
I mean if I create a directory in virtual machine , how can I detect it
?
-------------- next part --------------
A...
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...
2015 Jun 01
0
Re: Dynamic monitoring of virtual machine disk by libguestfs
On Mon, Jun 01, 2015 at 04:38:18PM +0800, fu lirong wrote:
> Hi all ,
> By using function : guestfs_ls() , I have realized ls -l commond
> with libguesfs . I am wondering how to inspect the virtual disk
> dynamically, such as monitor mkdir commond inside the virtual machines,
> I mean if I create a directory in virtual machine , how can I detect it
This question comes up ofte...
2015 Jun 27
1
The usage if libguestfs
...s on other project.
if I just run a test C programm It works well
just run : cc prog.c -o prog -lguestfs -I
/usr/libguestfs/libguestfs-1.28.10/src/
I write a C programm in my project , after that I run make , it happend:
/usr/nitro/libvmi-master/libvmi/.libs/libvmi.so: undefined reference to
`guestfs_launch'
/usr/nitro/libvmi-master/libvmi/.libs/libvmi.so: undefined reference to
`guestfs_close'
/usr/nitro/libvmi-master/libvmi/.libs/libvmi.so: undefined reference to
`guestfs_inspect_os'
/usr/nitro/libvmi-master/libvmi/.libs/libvmi.so: undefined reference to
`guestfs_ls'
/usr/nitro/...
2017 Feb 09
0
Re: Extract VHD using guestfs
...t; Please see attached main.c for my sample 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, "...
2013 May 09
1
PATCH: Allow specifying the filesystem driver for guestmount
Currently guestfish has mount-vfs, and the libguestfs API has
guestfs_mount_vfs(), but guestmount doesn't allow the user to specify
a filesystem. This patch extends the --mount argument, so you can
force an ext2 partition to mount as ext4:
guestmount -a mydisk.img -m /dev/vda:/:defaults:ext4 mountpoint
You could also use it to choose between ntfs and ntfs-3g, or between
hfsplus and the
2017 Feb 13
2
Re: Extract VHD using guestfs
...t;
> 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:
>...
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.
2012 Dec 13
0
ANNOUNCE: libguestfs 1.20 - tools for accessing and modifying virtual machine disk images
...eading or editing the Windows Registry much more
efficient.
Several libguestfs APIs were reimplemented so they no longer have any
limits on output. The reimplemented APIs are: guestfs_cat,
guestfs_find, guestfs_read_file, guestfs_read_lines, guestfs_write,
guestfs_write_append, guestfs_lstatlist, guestfs_lxattrlist,
guestfs_readlinklist, guestfs_ls.
virt tools
guestfish touch 'win:c:\new_file' now works as expected.
guestfish has a new --network option, which enables the user network in
libguestfs.
You can set GUESTFISH_PS1 to use fancy prompts in...
2014 Sep 22
2
[PATCH] New APIs: Implement stat calls that return nanosecond timestamps (RHBZ#1144891).
The existing APIs guestfs_stat, guestfs_lstat and guestfs_lstatlist
return a stat structure that contains atime, mtime and ctime fields
that store only the timestamp in seconds.
Modern filesystems can store timestamps down to nanosecond
granularity, and the ordinary glibc stat(2) wrapper will return these
in "hidden" stat fields...
2009 Aug 12
23
[PATCH 0/23] factor and const-correctness
This started as a simple warning-elimination change.
I'll get back to that series shortly ;-)
It turned into a factorization and constification exercise
during which I got a taste of ocaml. Thanks to Rich Jones
for help with a few snippets in generator.ml.
The overall result is that many previously-manually-maintained
bits from daemon/*.c functions are now hoisted into the automatically-
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.