search for: mount_loc

Displaying 20 results from an estimated 53 matches for "mount_loc".

Did you mean: mount_local
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-gener...
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 +++--...
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 umount_local() function, the program hangs in the foreground and no log is displayed after that. At the same time, _check_not_closed() did not throw an exception. I'm looking forward for your reply. Thanks,...
2012 Apr 26
1
[PATCH] gobject: Move headers into a subdirectory
...truct-isoinfo.h \ - guestfs-gobject-struct-mdstat.h \ - guestfs-gobject-struct-btrfssubvolume.h \ - guestfs-gobject-optargs-test0.h \ - guestfs-gobject-optargs-add_drive_opts.h \ - guestfs-gobject-optargs-add_domain.h \ - guestfs-gobject-optargs-inspect_get_icon.h \ - guestfs-gobject-optargs-mount_local.h \ - guestfs-gobject-optargs-umount_local.h \ - guestfs-gobject-optargs-mkfs_opts.h \ - guestfs-gobject-optargs-mount_9p.h \ - guestfs-gobject-optargs-ntfsresize_opts.h \ - guestfs-gobject-optargs-btrfs_filesystem_resize.h \ - guestfs-gobject-optargs-compress_out.h \ - guestfs-gobject-opt...
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
...fuse support is limited. Only the '-o' FUSE options can be passed and "only some of them are a good idea". So how would one use guestfs with a filesystem "made" with Fuse? For example - using Jones module 'https://github.com/libguestfs/libguestfs/blob/master/examples/mount_local.c' could I combine it with the Fuse defined filesystem detailed in the BBFS tutorial (http://www.cs.nmsu.edu/~pfeiffer/fuse-tutorial/)? Or would that be a futile effort?
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 > tests/c-api/test-command.c > tests/c-api/test-config.c > tests/c-api/test-create-handle.c > tests/c-api/test-debug-to-file.c > tests/c-api/test-just-header.c > te...
2012 Jul 23
1
[PATCH V3 1/2] umount: add force umount and lazy umount
...ays, TestOutputFalse ( diff --git a/gobject/Makefile.inc b/gobject/Makefile.inc index c73e5df..230d114 100644 --- a/gobject/Makefile.inc +++ b/gobject/Makefile.inc @@ -45,6 +45,7 @@ guestfs_gobject_headers= \ include/guestfs-gobject/optargs-inspect_get_icon.h \ include/guestfs-gobject/optargs-mount_local.h \ include/guestfs-gobject/optargs-umount_local.h \ + include/guestfs-gobject/optargs-umount.h \ include/guestfs-gobject/optargs-mkfs.h \ include/guestfs-gobject/optargs-mount_9p.h \ include/guestfs-gobject/optargs-ntfsresize.h \ @@ -90,6 +91,7 @@ guestfs_gobject_sources= \ src/o...
2012 Jul 21
5
[PATCH 1/5] mount: add a macro to resolve path or device
...args-btrfs_fsck.c gobject/src/optargs-compress_device_out.c @@ -150,12 +153,15 @@ gobject/src/optargs-internal_test.c gobject/src/optargs-md_create.c gobject/src/optargs-mkfs.c gobject/src/optargs-mkfs_btrfs.c +gobject/src/optargs-mkfs_opts.c gobject/src/optargs-mount_9p.c gobject/src/optargs-mount_local.c gobject/src/optargs-ntfsclone_out.c gobject/src/optargs-ntfsfix.c gobject/src/optargs-ntfsresize.c +gobject/src/optargs-ntfsresize_opts.c gobject/src/optargs-set_e2attrs.c +gobject/src/optargs-test0.c gobject/src/optargs-tune2fs.c gobject/src/optargs-umount_local.c gobject/src/session.c...
2012 Jul 24
3
[PATCH V4 1/3] umount: add force umount and lazy umount
...ays, TestOutputFalse ( diff --git a/gobject/Makefile.inc b/gobject/Makefile.inc index c73e5df..230d114 100644 --- a/gobject/Makefile.inc +++ b/gobject/Makefile.inc @@ -45,6 +45,7 @@ guestfs_gobject_headers= \ include/guestfs-gobject/optargs-inspect_get_icon.h \ include/guestfs-gobject/optargs-mount_local.h \ include/guestfs-gobject/optargs-umount_local.h \ + include/guestfs-gobject/optargs-umount.h \ include/guestfs-gobject/optargs-mkfs.h \ include/guestfs-gobject/optargs-mount_9p.h \ include/guestfs-gobject/optargs-ntfsresize.h \ @@ -90,6 +91,7 @@ guestfs_gobject_sources= \ src/o...
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
...uld do is enable debugging: https://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs That will produce a lot of output which can help us to narrow down the problem. Note that sometimes hivex will throw a real error because of some real problem with the Windows guest. > 2. After I call umount_local() through python, the thread hangs to > the foreground, unable to proceed, and there is no log, but > mount_local() works on my program. Need a bit more information here as well. Is there a small reproducer of this problem? Rich. -- Richard Jones, Virtualization Group, Red Hat http://p...
2012 Mar 30
0
gobject header files
.../usr/include/guestfs-gobject-optargs-e2fsck.h /usr/include/guestfs-gobject-optargs-inspect_get_icon.h /usr/include/guestfs-gobject-optargs-md_create.h /usr/include/guestfs-gobject-optargs-mkfs_opts.h /usr/include/guestfs-gobject-optargs-mount_9p.h /usr/include/guestfs-gobject-optargs-mount_local.h /usr/include/guestfs-gobject-optargs-ntfsclone_out.h /usr/include/guestfs-gobject-optargs-ntfsfix.h /usr/include/guestfs-gobject-optargs-ntfsresize_opts.h /usr/include/guestfs-gobject-optargs-test0.h /usr/include/guestfs-gobject-optargs-tune2fs.h /usr/include/guestfs-gobject-o...
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
...t/guestfs-gobject-optargs-e2fsck.c +gobject/guestfs-gobject-optargs-inspect_get_icon.c +gobject/guestfs-gobject-optargs-md_create.c +gobject/guestfs-gobject-optargs-mkfs_btrfs.c +gobject/guestfs-gobject-optargs-mkfs_opts.c +gobject/guestfs-gobject-optargs-mount_9p.c +gobject/guestfs-gobject-optargs-mount_local.c +gobject/guestfs-gobject-optargs-ntfsclone_out.c +gobject/guestfs-gobject-optargs-ntfsfix.c +gobject/guestfs-gobject-optargs-ntfsresize_opts.c +gobject/guestfs-gobject-optargs-test0.c +gobject/guestfs-gobject-optargs-tune2fs.c +gobject/guestfs-gobject-optargs-umount_local.c +gobject/guestfs-gob...
2018 Nov 22
0
Re: Integration with muCommander
...k feature availability before using it. Moreover a lot of functionality of libguestfs very depends on a host kernel and available modules. My experience with libguestfs forces me to build it myself. I also build my custom guestfs appliance to not depend on a host kernel etc. You can consider using mount_local but that is another story... -- Mykola Ivanets
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
...ir)/create-disk.c:@CREATE_DISK@ \ - --verbatim $(srcdir)/debug-logging.c:@DEBUG_LOGGING@ \ - --verbatim $(srcdir)/display-icon.c:@DISPLAY_ICON@ \ - --verbatim $(srcdir)/inspect-vm.c:@INSPECT_VM@ \ - --verbatim $(srcdir)/libvirt-auth.c:@LIBVIRT_AUTH@ \ - --verbatim $(srcdir)/mount-local.c:@MOUNT_LOCAL@ \ - --verbatim $(srcdir)/virt-dhcp-address.c:@VIRT_DHCP_ADDRESS@ \ + --verbatim $(srcdir)/copy-over.c:$(COPY_OVER) \ + --verbatim $(srcdir)/create-disk.c:$(CREATE_DISK) \ + --verbatim $(srcdir)/debug-logging.c:$(DEBUG_LOGGING) \ + --verbatim $(srcdir)/display-icon.c:$(DISPLAY_ICON) \ +...