search for: umount_local

Displaying 20 results from an estimated 40 matches for "umount_local".

Did you mean: mount_local
2013 Jun 16
0
Re: libguestfs: error: umount_local: unknown option 1069642336
| 08:49 < oberonc> hi | 08:49 < oberonc> I have a problem with libguesfs 1.20.6 | 08:50 < oberonc> on fedora 18 | 08:50 < oberonc> with fuse 2.9.2 | 08:50 < oberonc> when I call guestfs_umount_local() I get the following | error: | 08:50 < oberonc> libguestfs: error: umount_local: unknown option | 1069642336 (this can happen if a program is compiled | against a newer version of libguestfs, then | dynamically linked to an...
2020 Oct 19
4
question about libguestfs
2020 Oct 20
1
Re: question about libguestfs
...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, yuxing. Richard W.M. Jones <rjones@redhat.com> 于2020年10月20日周二 下午10:06写道: > On Tue, Oct 20...
2012 Apr 26
1
[PATCH] gobject: Move headers into a subdirectory
...-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-optargs-compress_device_out.h \ - guestfs-gobjec...
2012 Jul 23
1
[PATCH V3 1/2] umount: add force umount and lazy umount
...e.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/optargs-inspect_get_icon.c \ src/optargs-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-generated. And I don't think it should be fixed there. However I doubt this patch is correct because this might lead to memory leak for other language bin...
2015 Nov 10
1
Re: Hierarchical local mount
...am. > > Rich. > Thank you very much! I've rewritten this script in C, and it works just as expected. The only problem is that for unmount, we cannot reuse the same handle, and have to call guestunmount. There's a dim place: what is the difference between guestunmount and guestfs_umount_local? As I understood, guestunmount does need guestfs handle, launch etc. Does umount_local need it? If yes, how should this command be used (assumed that the handle is already used in mount_local_run)? These questions confuse me a little :-s -- Your sincerely, Maxim Perevedentsev
2012 Jul 24
3
[PATCH V4 1/3] umount: add force umount and lazy umount
...e.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/optargs-inspect_get_icon.c \ src/optargs-mount_local...
2012 Jul 21
5
[PATCH 1/5] mount: add a macro to resolve path or device
...nt_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 @@ -180,6 +186,7 @@ inspector/virt-inspector.c java/com_redhat_et_libguestfs_GuestFS.c ocaml/guestfs-c-actions.c ocaml/guestfs-c.c +ocaml/guestfs_c_actions.c perl/Guestfs.c perl/bindtests.pl perl/lib/Sys/Guestfs.pm @@ -197,6 +204,7 @@ src/bindtests.c src/dbdump.c sr...
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
2017 Mar 12
0
[PATCH v4 3/7] New API: yara_load
...(* End of list. If adding a new entry, add it at the end of the list diff --git a/gobject/Makefile.inc b/gobject/Makefile.inc index 8fa8599d3..b0ebf15d9 100644 --- a/gobject/Makefile.inc +++ b/gobject/Makefile.inc @@ -111,7 +111,8 @@ guestfs_gobject_headers= \ include/guestfs-gobject/optargs-umount_local.h \ include/guestfs-gobject/optargs-xfs_admin.h \ include/guestfs-gobject/optargs-xfs_growfs.h \ - include/guestfs-gobject/optargs-xfs_repair.h + include/guestfs-gobject/optargs-xfs_repair.h \ + include/guestfs-gobject/optargs-yara_load.h guestfs_gobject_sources= \ src/session.c \ @@...
2012 Aug 20
1
[PATCH] xfs: add new api xfs_admin
.../bugzilla.redhat.com/show_bug.cgi?id=788642> New APIs diff --git a/po/POTFILES b/po/POTFILES index 60887dc..d961ac1 100644 --- a/po/POTFILES +++ b/po/POTFILES @@ -167,6 +167,7 @@ gobject/src/optargs-tar_out.c gobject/src/optargs-tune2fs.c gobject/src/optargs-umount.c gobject/src/optargs-umount_local.c +gobject/src/optargs-xfs_admin.c gobject/src/optargs-xfs_growfs.c gobject/src/session.c gobject/src/struct-application.c diff --git a/src/MAX_PROC_NR b/src/MAX_PROC_NR index 71627d7..aef2e27 100644 --- a/src/MAX_PROC_NR +++ b/src/MAX_PROC_NR @@ -1 +1 @@ -348 +349 -- 1.7.12
2017 Apr 04
0
[PATCH v5 3/7] New API: yara_load
...(* End of list. If adding a new entry, add it at the end of the list diff --git a/gobject/Makefile.inc b/gobject/Makefile.inc index 8fa8599d3..b0ebf15d9 100644 --- a/gobject/Makefile.inc +++ b/gobject/Makefile.inc @@ -111,7 +111,8 @@ guestfs_gobject_headers= \ include/guestfs-gobject/optargs-umount_local.h \ include/guestfs-gobject/optargs-xfs_admin.h \ include/guestfs-gobject/optargs-xfs_growfs.h \ - include/guestfs-gobject/optargs-xfs_repair.h + include/guestfs-gobject/optargs-xfs_repair.h \ + include/guestfs-gobject/optargs-yara_load.h guestfs_gobject_sources= \ src/session.c \ @@...
2012 Aug 21
1
[PATCH] xfs: add a new api xfs_repair
...sync_in.c \ src/optargs-rsync_out.c \ - src/optargs-xfs_admin.c + src/optargs-xfs_admin.c \ + src/optargs-xfs_repair.c diff --git a/po/POTFILES b/po/POTFILES index d961ac1..727438b 100644 --- a/po/POTFILES +++ b/po/POTFILES @@ -169,6 +169,7 @@ gobject/src/optargs-umount.c gobject/src/optargs-umount_local.c gobject/src/optargs-xfs_admin.c gobject/src/optargs-xfs_growfs.c +gobject/src/optargs-xfs_repair.c gobject/src/session.c gobject/src/struct-application.c gobject/src/struct-btrfssubvolume.c diff --git a/src/MAX_PROC_NR b/src/MAX_PROC_NR index aef2e27..0fecf65 100644 --- a/src/MAX_PROC_NR +++...
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 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/fuse.c b/lib/fuse.c index 9731db962..82bddec00 100644 --- a/li...
2020 Oct 20
0
Re: question about libguestfs
...ould 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://peo...
2012 Mar 30
0
gobject header files
.../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-optargs-umount_local.h /usr/include/guestfs-gobject-session.h /usr/include/guestfs-gobject-struct-application.h /usr/include/guestfs-gobject-struct-dirent.h /usr/include/guestfs-gobject-struct-inotify_event.h /usr/include/guestfs-gobject-struct-int_bool.h /usr/include/guestfs-gobject-struct-isoinfo.h...
2012 May 15
1
[PATCH] po: update POTFILES
...t/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-gobject-session.c +gobject/guestfs-gobject-struct-application.c +gobject/guestfs-gobject-struct-dirent.c +gobject/guestfs-gobject-struct-inotify_event.c +gobject/guestfs-gobject-struct-int_bool.c +gobject/guestfs-gobject-struct-isoinfo.c +gobject/guestfs-gobject-struct-lvm_lv.c +...
2017 Mar 12
8
[PATCH v4 0/7] Feature: Yara file scanning
Rebase patches on top of 1.37.1. No changes since last series. Matteo Cafasso (7): daemon: expose file upload logic appliance: add yara dependency New API: yara_load New API: yara_destroy New API: internal_yara_scan New API: yara_scan yara_scan: added API tests appliance/packagelist.in | 4 + configure.ac | 1 + daemon/Makefile.am
2015 Nov 06
2
Hierarchical local mount
Hello everyone! I have to implement the functionality of mounting all VM disks/partitions. E.g. if a VM has 2 disks of 2 partitions each (I get it from virt-filesystems), I want to get the following structure on host node after mount: mnt/ ------hdd0/ -------------volume1/ -------------volume2/ ------hdd1/ -------------volume1/ -------------volume2/ I'd like to use guestmount due to