Displaying 20 results from an estimated 53 matches for "mount_location".
Did you mean:
acount_location
2018 May 02
1
[RFC] fuse: mount_local: Fix crash when called from Java binding
"localmountpoint" parameter is allocated in JNI before calling
mount_local and freed afterward. But guestfs handle keeps reference
to passed "localmountpoint" argument and will try to use and free it
in umount_local which leads to a crash because an attempt to access
already freed memory region.
It is not easy to fix on JNI side because the code is auto-generated.
And I
2018 May 02
0
[PATCH v2] fuse: mount_local: Fix crash when called from Java binding.
"localmountpoint" parameter is allocated in JNI before calling
mount_local and freed afterward. But guestfs handle keeps reference
to passed "localmountpoint" parameter and will try to access it in
umount_local and free after mount_local_run caller thread ends
which leads to a crash (an attempt to access to already freed memory).
---
lib/fuse.c | 5 +++--
lib/handle.c | 1 +
2020 Oct 19
4
question about libguestfs
2020 Oct 20
1
Re: question about libguestfs
Hi, Mr. Rich.
I am sorry that I left too little information in the last email because I
edited with my mobile phone.
I wrote about my first question in the following link.
https://rwmj.wordpress.com/2010/11/15/libguestfs-inspection-now-lists-windows-apps/
2nd. Question
After I call the mount_local() function in guestfs.py to operate on a disk,
I hope to umount it. After calling the
2012 Apr 26
1
[PATCH] gobject: Move headers into a subdirectory
The gobject bindings generate a large number of header files, which pollute
/usr/include when installed. This patch moves them all into a guestfs-gobject/
subdirectory. guestfs-gobject.h remains in the same place.
This change also moves generated source files into src/, because it makes the
gobject directory a bit tidier.
---
generator/Makefile.am | 3 +
2017 Oct 11
2
Using GPO to mount shares on Linux
On Wed, 11 Oct 2017 10:13:35 +0200
"L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:
> If you mean, Linux <=> Linux , use automounting, of dedicated mounts.
> Cifs/nfs, depending on you setup and what you need.
>
>
The problem is, they don't seem to work any more. They all seem to rely
on mount.cifs and you need to be root to run this. When
2012 Nov 05
1
using fuse with libguestfs
Upon seeing RWM Jones article "Using mount-local API from C" I became
curious because I thought there WAS a way to combine aspects of FUSE
with the tools provided by libguestfs. So if I wanted to create my own
filesystem using callbacks placed in the 'fuse_operations' struct
(parameter to 'fuse_main()'), I could do so using guestfs.
But after reading the article and
2012 Sep 16
3
Remaining syntax-check errors in libguestfs
... and why they are (probably) not errors.
> bindtextdomain
> daemon/guestfsd.c
> erlang/erl-guestfs-proto.c
> examples/copy_over.c
> examples/create_disk.c
> examples/display_icon.c
> examples/inspect_vm.c
> examples/mount_local.c
> examples/virt-dhcp-address.c
> tests/c-api/test-add-drive-opts.c
> tests/c-api/test-add-libvirt-dom.c
>
2012 Jul 23
1
[PATCH V3 1/2] umount: add force umount and lazy umount
Add the option force and lazy for force and lazy umount.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
daemon/mount.c | 25 +++++++++++++++++++++++--
generator/generator_actions.ml | 23 ++++++++++++-----------
gobject/Makefile.inc | 2 ++
po/POTFILES | 1 +
4 files changed, 38 insertions(+), 13 deletions(-)
diff --git
2012 Jul 21
5
[PATCH 1/5] mount: add a macro to resolve path or device
Add a macro DUP_RESOLVE_DEVICE_OR_PATH to resolve path or device.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
daemon/daemon.h | 18 ++++++++++++++++++
daemon/mount.c | 13 ++-----------
po/POTFILES | 8 ++++++++
3 files changed, 28 insertions(+), 11 deletions(-)
diff --git a/daemon/daemon.h b/daemon/daemon.h
index 85eec45..39cc3f3 100644
--- a/daemon/daemon.h
+++
2012 Jul 24
3
[PATCH V4 1/3] umount: add force umount and lazy umount
Add the option force and lazy for force and lazy umount.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
daemon/mount.c | 25 +++++++++++++++++++++++--
generator/generator_actions.ml | 23 ++++++++++++-----------
gobject/Makefile.inc | 2 ++
po/POTFILES | 1 +
4 files changed, 38 insertions(+), 13 deletions(-)
diff --git
2012 Jul 23
3
[PATCH V2 1/4] mount: add a macro to resolve path or device
Add a macro STRDUP_RESOLVE_DEVICE_OR_PATH to resolve path or device.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
daemon/daemon.h | 16 ++++++++++++++++
daemon/mount.c | 13 ++-----------
2 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/daemon/daemon.h b/daemon/daemon.h
index 85eec45..f7d0c75 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -336,6
2020 Oct 20
0
Re: question about libguestfs
On Tue, Oct 20, 2020 at 12:52:52AM +0800, ssacpklnm wrote:
> 1. When I call inspect_os on a vmdk file containing windows system,
> guestfish throws a Hivex.Error, I have installed hivex.
There's not really enough information here to help. What you
should do is enable debugging:
https://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
That will produce a lot of output which can
2012 Mar 30
0
gobject header files
Matt, I don't know if it worries you or not, but the new scheme does
create rather a lot of header files directly in /usr/include:
/usr/include/guestfs-gobject-optargs-add_domain.h
/usr/include/guestfs-gobject-optargs-add_drive_opts.h
/usr/include/guestfs-gobject-optargs-btrfs_filesystem_resize.h
/usr/include/guestfs-gobject-optargs-compress_device_out.h
2014 Jul 15
2
Re: working with mount-local
2014-07-15 20:59 GMT+04:00 Richard W.M. Jones <rjones@redhat.com>:
> Not sure I understand the question, but the guestfish mount-local-run
> command will block guestfish until another process runs
> 'fusermount -u /mntpoint' (or better, 'guestunmount /mntpoint').
I understand that guestfish process will be locked. But in case of go
that uses lightweight goroutines,
2012 May 15
1
[PATCH] po: update POTFILES
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
po/POTFILES | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/po/POTFILES b/po/POTFILES
index 2b4b586..789279a 100644
--- a/po/POTFILES
+++ b/po/POTFILES
@@ -131,6 +131,45 @@ fish/time.c
fish/virt.c
format/format.c
fuse/guestmount.c
+gobject/guestfs-gobject-optargs-add_domain.c
2018 Nov 22
0
Re: Integration with muCommander
Let me share my thoughts.
> However, as one can see in the video, it takes a pretty long time to inspect the disk (in order to find the operating system) and to mount the file systems.
Do you really need to inspect disk image BEFORE mounting file
system(s)? You can do inspection on demand if you want/need to provide
some metadata about installed OS etc. And definitely inspection might
take
2018 Nov 21
2
Integration with muCommander
Hi All,
In the last few days, I've been working on leveraging a pluggable mechanism
that is going to be introduced for muCommander [1] to provide a front-end
for libguestfs.
I published a video [2] that demonstrates this integration: enabling to
browse/upload-to/download-from virtual disks via a file manager with a
dual-pane interface.
I've followed the guidelines for inspecting the
2012 Jul 03
8
[PATCH 0/7 v2] Fix and workaround for qcow2 issues in qemu causing data corruption.
https://bugzilla.redhat.com/show_bug.cgi?id=836710
https://bugzilla.redhat.com/show_bug.cgi?id=836913
There are at least two related bugs going on:
(1) Linux sync(2) system call doesn't send a write barrier to the
disk, so in effect it doesn't force the hard disk to flush its cache.
libguestfs used sync(2) to force changes to disk. We didn't expect
that qemu was caching anything
2014 Sep 23
0
[PATCH 03/13] syntax-check: fix makefile_at_at_check
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
align/Makefile.am | 2 +-
builder/Makefile.am | 2 +-
builder/website/Makefile.am | 2 +-
cat/Makefile.am | 4 ++--
common-rules.mk | 8 ++++----
customize/Makefile.am | 2 +-
df/Makefile.am | 4 ++--
diff/Makefile.am | 2 +-