Displaying 20 results from an estimated 4000 matches similar to: "Re: libguestfs: error: umount_local: unknown option 1069642336"
2015 Nov 10
1
Re: Hierarchical local mount
On 11/06/2015 05:08 PM, Richard W.M. Jones wrote:
> On Fri, Nov 06, 2015 at 04:16:21PM +0300, Maxim Perevedentsev wrote:
>> 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
2015 Nov 24
2
Re: guestunmount issues
On 11/23/2015 07:59 PM, Pino Toscano wrote:
> Hi,
>
> On Monday 23 November 2015 18:29:50 Maxim Perevedentsev wrote:
>> 1) guestunmount never returns 3 (not mounted) - i guess it's a bug at
>> guestunmount.c:223
> Indeed, thanks for the notice -- just send a patch for it.
>
>> 2) I don't know whether it's a bug in guestunmount or fusermount, but on
2015 Nov 24
0
Re: guestunmount issues
On Tuesday 24 November 2015 12:57:17 Maxim Perevedentsev wrote:
> On 11/23/2015 07:59 PM, Pino Toscano wrote:
> > Hi,
> >
> > On Monday 23 November 2015 18:29:50 Maxim Perevedentsev wrote:
> >> 1) guestunmount never returns 3 (not mounted) - i guess it's a bug at
> >> guestunmount.c:223
> > Indeed, thanks for the notice -- just send a patch for it.
2015 Nov 23
2
guestunmount issues
Hello everyone!
I'm playing with guestunmount and got the following issues:
1) guestunmount never returns 3 (not mounted) - i guess it's a bug at
guestunmount.c:223
2) I don't know whether it's a bug in guestunmount or fusermount, but on
my machine while executing
> guestmount
> guestunmount
> guestunmount
on second "guestunmount" I get
2015 Nov 23
0
Re: guestunmount issues
Hi,
On Monday 23 November 2015 18:29:50 Maxim Perevedentsev wrote:
> 1) guestunmount never returns 3 (not mounted) - i guess it's a bug at
> guestunmount.c:223
Indeed, thanks for the notice -- just send a patch for it.
> 2) I don't know whether it's a bug in guestunmount or fusermount, but on
> my machine while executing
> > guestmount
> > guestunmount
2013 Oct 17
4
Notes on getting libguestfs to work on Mac OS X
Supplied by Pene on IRC who got libguestfs to compile and run on
Mac OS X 10.9 with qemu 1.6.0. My notes in [] below.
Rich.
libguestfs on Mac OS X, recipe so far:
--------------------------------------
- libtool-kill-dependency_libs.sh: replace chmod --reference="$output.tmp" "$output" -> chmod `stat -f "%p" "$output.tmp"` "$output"
-
2015 Feb 09
0
[PATCH 5/5] macosx/bsd: Alternatives for linux-specific commands
* Workaround for linux-specific fuser -v
* Workaround for linux-specific fusermount
---
fuse/guestunmount.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/fuse/guestunmount.c b/fuse/guestunmount.c
index 3df481b..2190ba0 100644
--- a/fuse/guestunmount.c
+++ b/fuse/guestunmount.c
@@ -257,7 +257,12 @@ do_fusermount (const char *mountpoint, char **error_rtn)
/* We have to
2015 Feb 13
1
[PATCH] fuse: Alternatives for Linux-specific commands
* fusermount is Linux-only; on BSD and OS X umount should be used
* fuser has no -v flag on BSD/OSX, and -c is the
POSIX-compatible equivalent of -m
* Does not solve the lack of pretty output of fuser -v, but does make it
work on Mac OS X.
---
fuse/guestunmount.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/fuse/guestunmount.c b/fuse/guestunmount.c
index 3df481b..94c3ec7
2013 Oct 17
2
Re: Notes on getting libguestfs to work on Mac OS X
More complete documentation below.
Rich.
----------------------------------------------------------------------
libguestfs on Mac OS X (tested with libguestfs-1.23.33):
--------------------------------------------------------
prerequisites:
--------------
- install osxfuse, download from: http://osxfuse.github.io
- install some dependencies using macports: sudo port install qemu cdrtools pcre
2015 Feb 06
0
Re: Patchable build problems on OS X 10.10
On Thu, Feb 05, 2015 at 10:53:06PM +0000, Margaret Lewicka wrote:
> Hello,
>
> I'm attempting to create a Homebrew formula to get libguestfs to
> compile on Mac OS X. I've managed to achieve success with several
> monkey patches, but since Homebrew's policy is to contact maintainers
> about proper fixes in upstream, I would like to ask if there are any
> plans to
2015 Feb 09
5
Re: Patchable build problems on OS X 10.10
On Friday 06 February 2015 10:03:37 Richard W.M. Jones wrote:
> On Thu, Feb 05, 2015 at 10:53:06PM +0000, Margaret Lewicka wrote:
> > Hello,
> >
> > I'm attempting to create a Homebrew formula to get libguestfs to
> > compile on Mac OS X. I've managed to achieve success with several
> > monkey patches, but since Homebrew's policy is to contact
2015 Nov 23
1
[PATCH] fuse: fix return value of guestunmount for unmounted paths
Exit with 3 as return value when fusermount fails, because the specified
mount point is not considered mounted for the user. This is in line
with what the guestunmount documentation says.
Adapt the test-guestunmount-fd test to the updated return value.
Thanks to: Maxim Perevedentsev.
---
fuse/guestunmount.c | 2 +-
fuse/test-guestunmount-fd.c | 8 ++++----
2 files changed, 5
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,
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
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 +
2015 Feb 05
4
Patchable build problems on OS X 10.10
Hello,
I'm attempting to create a Homebrew formula to get libguestfs to
compile on Mac OS X. I've managed to achieve success with several
monkey patches, but since Homebrew's policy is to contact maintainers
about proper fixes in upstream, I would like to ask if there are any
plans to fix these issues. I'm afraid I don't know C well enough to
propose decent solutions myself.
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
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 --------------
An HTML attachment was scrubbed...
URL:
2013 Mar 04
1
[PATCH] fuse: Add guestmount-cleanup program to handle unmounting (RHBZ#916780).
* PATCH FOR DISCUSSION ONLY - NOT TO BE APPLIED *
Colin suggested something which seems eminently sensible:
https://bugzilla.redhat.com/show_bug.cgi?id=916780
I've been through a couple of rounds of trying to implement this.
I started with adding the option as suggested to the guestmount
program, but it tended to make the guestmount program more complex.
More importantly, adding the option
2013 Mar 05
1
[PATCH v2] fuse: Add guestunmount program to handle unmounting (RHBZ#916780)
Since the first patch:
- The program is now called 'guestunmount'.
- I tested the --fd option and it appears to work.
- You can now control retries / quiet.
- Revised man pages.
- Includes tests.
I'm just running through the automated tests now.
Rich.