Displaying 20 results from an estimated 10000 matches similar to: "access function in fuse_operations (concerns libguestfs)"
2012 Nov 05
1
using fuse with libguestfs
Upon seeing RWM Jones article "Using mount-local API from C" I became
curious because I thought there WAS a way to combine aspects of FUSE
with the tools provided by libguestfs. So if I wanted to create my own
filesystem using callbacks placed in the 'fuse_operations' struct
(parameter to 'fuse_main()'), I could do so using guestfs.
But after reading the article and
2019 Oct 12
3
[PATCH libnbd] nbdfuse: New tool to present a network block device in a FUSE filesystem.
This program allows you to turn a network block device source into a
FUSE filesystem containing a virtual file:
$ nbdkit memory 128M
$ mkdir mp
$ nbdfuse mp/ramdisk nbd://localhost &
$ ls -l mp
total 0
-rw-rw-rw-. 1 rjones rjones 134217728 Oct 12 15:09 ramdisk
$ dd if=/dev/urandom bs=1M count=128 of=mp/ramdisk conv=notrunc,nocreat
128+0 records in
128+0 records out
2009 Nov 09
1
[PATCH libguestfs] avoid "syntax-check" failure
syntax-check failed with this:
fuse/guestmount.c:364: free ((char *) r);
maint.mk: don't cast free argument
make: *** [sc_cast_of_argument_to_free] Error 1
>From ed007e673b00ec545fcff2a708a57d98075c6460 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Mon, 9 Nov 2009 15:06:36 +0100
Subject: [PATCH libguestfs] avoid "syntax-check"
2009 Nov 09
1
[PATCH libguestfs] fix doc typo
barely worth mentioning...
>From 459fa00dd144aef2c7287eb99354c9b39eaa62c3 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Mon, 9 Nov 2009 15:09:35 +0100
Subject: [PATCH libguestfs] fix doc typo
* fuse/guestmount.pod: Avoid "the the".
---
fuse/guestmount.pod | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fuse/guestmount.pod
2019 Oct 14
0
Re: [PATCH libnbd] nbdfuse: New tool to present a network block device in a FUSE filesystem.
On 10/12/19 9:21 AM, Richard W.M. Jones wrote:
> This program allows you to turn a network block device source into a
> FUSE filesystem containing a virtual file:
>
> $ nbdkit memory 128M
> $ mkdir mp
> $ nbdfuse mp/ramdisk nbd://localhost &
> $ ls -l mp
> total 0
> -rw-rw-rw-. 1 rjones rjones 134217728 Oct 12 15:09 ramdisk
> $ dd
2010 Apr 20
1
libguestfs mounting solaris 10 ZFS guest
Not sure if this possible, but I have a KVM guest running Solaris 10
with the OS on ZFS and I am trying to use
libguestfs/guestfish/guestmount to get to the VM. I am running Red Hat
EL 5.4 with EPEL rpms as required.
The VM is on a LV and it boots fine, but I can't seem to get the syntax
correct to get libguestfs to deal with it. Guestmount seemed like the
best option because it supports FUSE
2011 Apr 13
1
[PATCH libguestfs] include string.h and libintl.h, as needed
This appears to fix the last of the missing includes:
>From 4e8c86d43a330ac79624a78d7ef40aa17f8fb4db Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Wed, 13 Apr 2011 14:34:38 +0200
Subject: [PATCH libguestfs] include string.h and libintl.h, as needed
* df/df.c: As above.
* df/main.c: As above.
* df/output.c: As above.
* fuse/guestmount.c: As above.
*
2009 Nov 09
1
[PATCH libguestfs] indent with spaces, not TABs
One more after this, and "make syntax-check" will pass once more.
>From 5c360133c0d4e09531d432abca0629798b87ff39 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Mon, 9 Nov 2009 15:14:53 +0100
Subject: [PATCH libguestfs] indent with spaces, not TABs
* HACKING: Expand indentation TABs.
* configure.ac: Likewise.
* daemon/daemon.h: Likewise.
*
2014 Feb 03
0
Re: libguestfs and zfs-fuse
On Mon, Feb 03, 2014 at 03:12:28PM -0500, Andre Goree wrote:
> I'm wondering whether or not anyone has tried to use guestmount on
> an image with a ZFS partition (MBR partition table). I can't seem
> to find much on the internet regarding it, but I do see hints that
> may lead me to a solution. I'm under the impression that libguestfs
> can use what ever is available
2009 Nov 02
4
[PATCH 0/3 VERSION 3 FOR DISCUSSION ONLY] FUSE support for libguestfs
This is the third version of the FUSE bindings for libguestfs. Still,
read and write calls don't work, but you can now navigate through the
filesystem hierarchy efficiently.
Rich.
.gitignore | 3 +
HACKING | 3 +
Makefile.am | 5 +
README | 2 +
TODO | 37 +--
bindtests | 13 +
bootstrap | 2 +
2013 Dec 12
3
[PATCH] fuse: provide a stub "flush" implementation (RHBZ#660687).
It seems that FUSE can invoke flush to make sure the pending changes
(e.g. to the attributes) of a file are set. Since a missing flush
implementation is handled as if it were returning ENOSYS, this can cause
issues later.
To overcome this, just provide a stub implementation which does nothing,
since we have nothing to do and don't want to have FUSE error out.
Furthermore, uncomment the
2014 Feb 03
2
Re: libguestfs and zfs-fuse
On 02/03/2014 3:16 pm, Richard W.M. Jones wrote:
> On Mon, Feb 03, 2014 at 03:12:28PM -0500, Andre Goree wrote:
>> I'm wondering whether or not anyone has tried to use guestmount on
>> an image with a ZFS partition (MBR partition table). I can't seem
>> to find much on the internet regarding it, but I do see hints that
>> may lead me to a solution. I'm
2014 Feb 03
2
libguestfs and zfs-fuse
I'm wondering whether or not anyone has tried to use guestmount on an
image with a ZFS partition (MBR partition table). I can't seem to find
much on the internet regarding it, but I do see hints that may lead me
to a solution. I'm under the impression that libguestfs can use what
ever is available to the kernel on the host -- in my case I have zfs-use
installed and running. I
2016 Feb 22
0
Re: Reply:Re: how to compile my own libguestfs with the ntfs support ?
On Mon, Feb 22, 2016 at 11:00:53PM +0800, 罗思标 wrote:
> Hi rjones,
>
> Good catch, thanks a lot. Does it only disable from official
> rhel/centos RPM with
> `XXXX-RHEL-7-Reject-use-of-libguestfs-winsupport-features-.patch' in
> libguestfs while it still work in upstream source code (
> e.g. rhel-7.2 branch in https://github.com/libguestfs/libguestfs ) ,
Yes, this patch to
2016 May 19
0
[PATCH 2/3] tests: remove remaining relative paths to binaries
Tests are run via the ./run binary, so all the binaries in the build
directory are available via $PATH already.
Followup of commit e85a976c5a474d751c6e8352370047a3177a7c45.
---
cat/Makefile.am | 2 +-
df/Makefile.am | 2 +-
fuse/test-fuse-umount-race.sh | 4 ++--
fuse/test-guestmount-fd.c | 4 ++--
fuse/test-guestunmount-fd.c
2010 Apr 14
1
[PATCH] Fix build error in fuse/guestmount.c
guestmount.c: In function 'main':
guestmount.c:899: error: implicit declaration of function 'setlocale'
[-Wimplicit-function-declaration]
guestmount.c wasn't including locale.h.
---
fuse/guestmount.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fuse/guestmount.c b/fuse/guestmount.c
index b4a917f..27a4cef 100644
--- a/fuse/guestmount.c
+++
2016 Jun 13
0
Re: libguestfs-tools and NTFS compression attribute
[Please follow up on libguestfs@redhat.com, there is no need to subscribe]
On Mon, Jun 13, 2016 at 04:03:20PM +0200, Vlastimil Burián wrote:
> Hello Richard,
>
> I need a little help with libguestfs-tools
>
> I used it as follows:
>
> |sudo guestmount -a thevirtualdisk.vhdx -i /mnt/anydirectory |
>
>
> But so far I have no clue as to if it is possible and if
2012 Apr 04
1
[PATCH] fuse: Add missing #include to guestmount.c
Fix compilation failure on F17
---
fuse/guestmount.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fuse/guestmount.c b/fuse/guestmount.c
index 7c5e0af..379346f 100644
--- a/fuse/guestmount.c
+++ b/fuse/guestmount.c
@@ -28,6 +28,7 @@
#include <unistd.h>
#include <getopt.h>
#include <signal.h>
+#include <locale.h>
/* We're still using some of FUSE to
2011 Apr 12
0
[ANNOUNCE] libguestfs 1.10.0 - tools for accessing and modifying VM disk images
I'm happy to announce that after 5 months of development, the new
stable version of libguestfs is available. libguestfs is a set of
tools and a library for accessing, creating and modifying the contents
of virtual machines and disk images.
Home page: http://libguestfs.org/
Binary packages for:
Fedora: http://koji.fedoraproject.org/koji/packageinfo?packageID=8391
2012 Jan 30
1
[PATCH] guestmount: use O_ACCMODE instead of hard coding
Change hard code 3 to O_ACCMODE.
it'll be more sensible.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
fuse/guestmount.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fuse/guestmount.c b/fuse/guestmount.c
index bd7ba50..a9bf4e3 100644
--- a/fuse/guestmount.c
+++ b/fuse/guestmount.c
@@ -583,7 +583,7 @@ fg_open (const char *path, struct