Displaying 2 results from an estimated 2 matches for "c22cbba".
Did you mean:
072cbba
2014 Jan 24
2
[PATCH] fuse: In mount-local-run, test if root filesystem has been mounted (RHBZ#1057504).
...ed by calling guestfs_exists (g, "/") which has
the side effect of running the NEED_ROOT macro in the daemon. (There
is no simple equivalent of NEED_ROOT on the library side.)
---
src/fuse.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/fuse.c b/src/fuse.c
index dd4f139..c22cbba 100644
--- a/src/fuse.c
+++ b/src/fuse.c
@@ -1028,6 +1028,12 @@ guestfs__mount_local_run (guestfs_h *g)
return -1;
}
+ /* Test if root is mounted. We do this by using a side-effect of
+ * guestfs_exists (which is that it calls NEED_ROOT).
+ */
+ if (guestfs_exists (g, "/"...
2014 Jan 24
0
Re: [PATCH] fuse: In mount-local-run, test if root filesystem has been mounted (RHBZ#1057504).
...") which has
> the side effect of running the NEED_ROOT macro in the daemon. (There
> is no simple equivalent of NEED_ROOT on the library side.)
> ---
> src/fuse.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/src/fuse.c b/src/fuse.c
> index dd4f139..c22cbba 100644
> --- a/src/fuse.c
> +++ b/src/fuse.c
> @@ -1028,6 +1028,12 @@ guestfs__mount_local_run (guestfs_h *g)
> return -1;
> }
>
> + /* Test if root is mounted. We do this by using a side-effect of
> + * guestfs_exists (which is that it calls NEED_ROOT).
> +...