Displaying 20 results from an estimated 1000 matches similar to: "[PATCH] fuse: fix return value of guestunmount for unmounted paths"
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
Because of previous automated commits, such as changing 'guestfs___'
-> 'guestfs_int_', several function calls no longer lined up with
their parameters, and some lines were too long.
The bulk of this commit was done using emacs batch mode and the
technique described here:
http://www.cslab.pepperdine.edu/warford/BatchIndentationEmacs.html
The changes suggested by emacs were
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 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
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 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste.
---
align/scan.c | 35 ++++++++++---------
cat/cat.c | 39 +++++++++++----------
cat/filesystems.c | 69 +++++++++++++++++++-------------------
cat/log.c | 35 ++++++++++---------
cat/ls.c | 61 +++++++++++++++++----------------
df/main.c | 43 ++++++++++++------------
diff/diff.c | 67
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
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
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
1
Re: [PATCH 5/5] bash completion: Add missing bash completion scripts (RHBZ#1367738).
On Thursday, 25 August 2016 13:15:29 CEST Richard W.M. Jones wrote:
> Add new scripts for:
>
> - guestunmount
> - virt-copy-in
> - virt-copy-out
> - virt-customize
> - virt-dib
> - virt-diff
> - virt-get-kernel
> - virt-p2v-make-disk
> - virt-p2v-make-kickstart
> - virt-p2v-make-kiwi
> - virt-tar-in
> - virt-tar-out
>
> Also combine the separate
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 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
2016 Jul 18
1
[PATCH] fish, fuse: Remove bogus '?' from short options.
I don't believe this has any use or meaning. Currently the tools
don't process -?, eg:
$ guestfish -\?
Try `guestfish --help' for more information.
Therefore I believe this is erroneous.
---
fish/fish.c | 2 +-
fuse/guestmount.c | 2 +-
fuse/guestunmount.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fish/fish.c b/fish/fish.c
index
2016 Mar 18
9
[PATCH 0/7] Small portability changes
Assorted collection of small improvements in making libguestfs build on
non-Linux OSes; most of the changes impact tests though.
Thanks,
Pino Toscano (7):
build: check the path of fuser, and use it in FUSE code
tests: move guestfs-md5.sh to test-data
v2v: tests: isolate SHA1 calculation in an own shared function
v2v: tests: use guestfs-hashsums.sh for MD5
php: pass $(MAKE) to
2015 Feb 14
2
[PATCH 0/2] Change guestfs__*
libguestfs has used double and triple underscores in identifiers.
These aren't valid for global names in C++.
(http://stackoverflow.com/a/228797)
These large but completely mechanical patches change the illegal
identifiers to legal ones.
Rich.
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
2019 Dec 18
1
[PATCH] docs: exclude dummy.c sources
They are empty sources used to build OCaml-only targets using automake,
so there is no documentation to extract.
---
Makefile.am | 1 +
docs/C_SOURCE_FILES | 13 -------------
2 files changed, 1 insertion(+), 13 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index d3cf64cc1..ec342225a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -320,6 +320,7 @@ docs/C_SOURCE_FILES: configure.ac
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 Sep 29
8
[PATCH 0/7] copy-in/copy-out: Capture errors from tar subprocess (RHBZ#1267032).
Commits 3c27f3d91e1566854747bbe844186783fc84f3a8 and
1b6f0daa9ae7fcc94e389232d0c397816cda973d added an internal API for
running commands asynchronously. It is only used by the copy-in and
copy-out APIs.
Unfortunately this made the command code very complex: it was almost
impossible to redirect stderr to a file, and there were a lot of
long-range dependencies through the file. It was also buggy:
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.
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