Displaying 15 results from an estimated 15 matches for "do_fusermount".
2015 Feb 09
0
[PATCH 5/5] macosx/bsd: Alternatives for linux-specific commands
...ecific 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 parse error messages from fusermount, so ... */
setenv ("LC_ALL", "C", 1);
+#ifdef __linux__
execlp ("fusermount", "fusermount", "-u", mountpoint, NULL);
+#else
+ /* use um...
2015 Feb 13
1
[PATCH] fuse: Alternatives for Linux-specific commands
...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 100644
--- a/fuse/guestunmount.c
+++ b/fuse/guestunmount.c
@@ -257,7 +257,12 @@ do_fusermount (const char *mountpoint, char **error_rtn)
/* We have to parse error messages from fusermount, so ... */
setenv ("LC_ALL", "C", 1);
+#ifdef __linux__
execlp ("fusermount", "fusermount", "-u", mountpoint, NULL);
+#else
+ /* use um...
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
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.
2015 Feb 09
11
[PATCH 1/5] macosx: Add required third parameter for xdrproc_t callbacks
>From Apple's xdr.h:
"If your code invokes an xdrproc_t callback, it must be modified to pass
a third parameter, which may simply be zero."
---
src/proto.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/proto.c b/src/proto.c
index 92ae84d..57f4882 100644
--- a/src/proto.c
+++ b/src/proto.c
@@ -252,7 +252,12 @@ guestfs___send (guestfs_h *g, int proc_nr,
*
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.
2015 Feb 06
0
Re: Patchable build problems on OS X 10.10
...us if the patch is split into separate reviewable
commits, and then sent to the mailing list using 'git send-email'.
> diff --git fuse/guestunmount.c fuse/guestunmount.c
> index c36c336..1ab7ff5 100644
> --- fuse/guestunmount.c
> +++ fuse/guestunmount.c
> @@ -257,7 +257,7 @@ do_fusermount (const char *mountpoint, char **error_rtn)
> /* We have to parse error messages from fusermount, so ... */
> setenv ("LC_ALL", "C", 1);
>
> - execlp ("fusermount", "fusermount", "-u", mountpoint, NULL);
> + execlp (&...
2015 Feb 09
5
Re: Patchable build problems on OS X 10.10
...ate reviewable
> commits, and then sent to the mailing list using 'git send-email'.
>
> > diff --git fuse/guestunmount.c fuse/guestunmount.c
> > index c36c336..1ab7ff5 100644
> > --- fuse/guestunmount.c
> > +++ fuse/guestunmount.c
> > @@ -257,7 +257,7 @@ do_fusermount (const char *mountpoint, char **error_rtn)
> > /* We have to parse error messages from fusermount, so ... */
> > setenv ("LC_ALL", "C", 1);
> >
> > - execlp ("fusermount", "fusermount", "-u", mountpoint, NULL);...
2012 Oct 18
10
[PATCH 0/10] Add a mini-library for running external commands.
Inspired by libvirt's virCommand* internal mini-library, this adds
some internal APIs for running commands.
The first patch contains the new APIs. The subsequent patches change
various parts of the library over to use it.
Rich.
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
...errno, "poll");
}
else {
if ((pollfd.revents & POLLHUP) != 0)
@@ -189,15 +188,15 @@ main (int argc, char *argv[])
if (i > 0)
sleep (1 << (i-1));
- free (error);
- error = NULL;
+ free (error_str);
+ error_str = NULL;
- if (do_fusermount (mountpoint, &error) == 0)
+ if (do_fusermount (mountpoint, &error_str) == 0)
goto done;
/* Did fusermount fail because the mountpoint is not mounted? */
- if (error &&
- strstr (error, "fusermount: entry for") != NULL) {
+ if (error_str &...
2012 Mar 28
2
[PATCH v2] New APIs: mount-local and umount-local using FUSE
This version doesn't crash or cause hung processes or stuck
mountpoints, so that's an improvement.
Rich.
2012 Mar 27
3
[PATCH 0/3] Enable FUSE support in the API via 'mount-local' call.
This patch is just for review.
It enables FUSE support in the API via two new calls,
'guestfs_mount_local' and 'guestfs_umount_local'.
FUSE turns out to be very easy to deadlock (necessitating that the
machine be rebooted). Running the test from the third patch is
usually an effective way to demonstrate this. However I have not yet
managed to produce a simple reproducer that
2012 Mar 29
3
[PATCH v3] New APIs: mount-local, mount-local-run and umount-local using FUSE
This changes the proposed API slightly.
Previously 'mount-local' generating a 'mounted' event when the
filesystem was ready, and from the 'mounted' event you had to
effectively do a fork.
Now, 'mount-local' just initializes the mountpoint and you have to
call 'mount-local-run' to enter the FUSE main loop. Between these
calls you can do a fork or whatever
2016 Sep 08
4
[PATCH 0/3] Use gnulib's getprogname
Hi,
this series update libguestfs to a recent gnulib version, so that we
can use its new getprogname module, and solve altogether one of the
porting issues (the need for 'program_name' by the error module of
gnulib), and have a single way to get the name of the current program.
A number of changes in tools mostly, although mechanical.
Thanks,
Pino Toscano (3):
Update gnulib to latest
2016 Aug 25
7
[PATCH 0/5] bash completion: Add missing bash completion scripts (RHBZ#1367738).
This implements most of RHBZ#1367738. I didn't bother
with virt-v2v-copy-to-local and virt-win-reg, but all the
other tools now have full bash completion.
Rich.