Displaying 20 results from an estimated 400 matches similar to: "[PATCH v2] copy-out: new optional arguments"
2017 Feb 14
0
[PATCH 06/10] copy-out: new 'excludes' optional argument
Add a new 'excludes' optional argument to copy-out, passing it straight
to tar-out: this way it is possible to exclude files when extracting a
directory from the guest.
---
generator/actions.ml | 16 ++++++++++++++--
gobject/Makefile.inc | 2 ++
lib/copy-in-out.c | 13 ++++++++++---
3 files changed, 26 insertions(+), 5 deletions(-)
diff --git a/generator/actions.ml
2017 Feb 14
14
[PATCH 00/10] dib/API: improvements and fixes
Hi,
this patch series does changes mostly in virt-dib, few bug fixes and
a couple of new features (mostly implemented upstream already).
In addition, one new API is added, and a new optional argument for an
existing API is added (the latter is not needed, but could be useful
anyway).
Thanks,
Pino Toscano (10):
dib: fix listing envvars in fake-sudo
dib: source dib "die" script in
2015 Feb 02
1
Re: [PATCH 5/6] New APIs: copy-in and copy-out
On Mon, Jan 26, 2015 at 05:04:10PM +0100, Pino Toscano wrote:
> Currently implemented as guestfish commands, provide them instead as
> single source -> destination functions for the library, so they can be
> used also in other places.
>
> These functions are not added to guestfish, since guestfish has its own
> implementation (which will soon switch to call copy-in and
2017 Feb 14
1
Re: [PATCH 06/10] copy-out: new 'excludes' optional argument
On Tue, Feb 14, 2017 at 09:12:07AM +0100, Pino Toscano wrote:
> Add a new 'excludes' optional argument to copy-out, passing it straight
> to tar-out: this way it is possible to exclude files when extracting a
> directory from the guest.
> ---
> generator/actions.ml | 16 ++++++++++++++--
> gobject/Makefile.inc | 2 ++
> lib/copy-in-out.c | 13 ++++++++++---
> 3
2015 Jan 26
0
[PATCH 5/6] New APIs: copy-in and copy-out
Currently implemented as guestfish commands, provide them instead as
single source -> destination functions for the library, so they can be
used also in other places.
These functions are not added to guestfish, since guestfish has its own
implementation (which will soon switch to call copy-in and copy-out for
multiple paths).
---
generator/actions.ml | 28 ++++++
po/POTFILES | 1 +
2015 Jan 26
6
[PATCH 1/6] cmd: add a way to run (and wait) asynchronously commands
---
src/command.c | 64 +++++++++++++++++++++++++++++++++++++++++++-------
src/guestfs-internal.h | 3 +++
2 files changed, 58 insertions(+), 9 deletions(-)
diff --git a/src/command.c b/src/command.c
index 4bb469b..e26573d 100644
--- a/src/command.c
+++ b/src/command.c
@@ -360,7 +360,7 @@ debug_command (struct command *cmd)
}
static int
-run_command (struct command *cmd)
2015 Feb 02
8
[PATCH 0/7 v2] Make copy_in & copy_out APIs, and use copy_in in customize
Hi,
attached there is the second version of the patch series adding
copy_in and copy_out in the library, mostly moving them from guestfish.
It also adds the copy_in usage in virt-customize, as aid in a new image
building.
Thanks,
Pino Toscano (7):
cmd: add a way to run (and wait) asynchronously commands
cmd: add a child-setup callback
cmd: add the possibility to get a fd to the process
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:
2007 Sep 03
1
Snow on Windows Cluster
Hello,
the package snow is not working on a windows cluster with MPICH2 and
Rmpi. There is an error in makeCluster:
launch failed: CreateProcess(/usr/bin/env
"RPROG="C:\Programme\R\R-2.5.1\bin\R" "OUT=/dev/null" "R_LIBS="
C:/Programme/R/R-2.5.1/library/snow/RMPInode.sh) on 'cl1' failed, error
3 - Das System kann den angegbenen Pfad nicht finden.
I
2019 Oct 17
2
[PATCH nbdkit] server: Allow file descriptors to be passed to nbdkit_read_password.
Allow password parameters such as ‘password=-FD’ where FD is a file
descriptor number inherited by nbdkit from the parent process. This
is another way to allow programs to hand passwords to nbdkit in a very
secure way, for example over a pipe so they never touch the
filesystem.
Previously nbdkit allowed you to use literal passwords on the command
line if they began with a ‘-’ (but were not just
2016 Mar 07
2
[PATCH v2] Use less stack.
GCC has two warnings related to large stack frames. We were already
using the -Wframe-larger-than warning, but this reduces the threshold
from 10000 to 5000 bytes.
However that warning only covers the static part of frames (not
alloca). So this change also enables -Wstack-usage=10000 which covers
both the static and dynamic usage (alloca and variable length arrays).
Multiple changes are made
2012 Aug 14
7
[PATCH 0/7] Add tar compress, numericowner, excludes flags.
https://bugzilla.redhat.com/show_bug.cgi?id=847880
https://bugzilla.redhat.com/show_bug.cgi?id=847881
This patch series adds various optional arguments to the tar-in and
tar-out commands.
Firstly (1/7) an optional "compress" flag is added to select
compression. This makes the calls tgz-in/tgz-out/txz-in/txz-out
deprecated, and expands the range of compression types available.
2015 Jul 15
1
[PATCH 1/2] actions: tar_out: add xattrs and selinux optargs
Add additional arguments for tar, so extended attributes and/or SELinux
contexts can be saved in output tars.
---
daemon/tar.c | 18 +++++++++++++-----
generator/actions.ml | 10 +++++++++-
2 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/daemon/tar.c b/daemon/tar.c
index d6f8f2f..68af749 100644
--- a/daemon/tar.c
+++ b/daemon/tar.c
@@ -311,7 +311,7 @@
2016 Mar 06
8
[PATCH 0/5] Use less stack.
Various changes/fixes to use smaller stack frames.
Rich.
2006 Feb 03
0
rquotad (NFS) quota plugin
The attached patch is an updated version of my quota-rquotad patch for the
quota plugin. Like quota-fs, it only does quota reporting, not enforcing or
changing. It also only works on FreeBSD, and possibly other *BSD's. It lacks
any and all configure-time tests to see if RPC is even supported, and
hardcodes the (Free)BSD way of getting at the NFS server of an NFS mount.
I'm mostly mailing
2011 Jun 21
1
meaning of rsync statistics figures
Hi,
I don?t know if this is the palace top put my inquire, if is not, I
apologize and ask if someone can redirect me to the right place.
I?m using rsync as a backup system from my PC (windows) network using a
command like
rsync ?av remotePath localPath
at the end of the process, rsync prints some summary statistics that I don?t
know what exactly means.
Sent 2742043 bytes
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of
local disk.
Rich.
2019 Oct 17
0
Re: [PATCH nbdkit] server: Allow file descriptors to be passed to nbdkit_read_password.
On 10/17/19 4:38 PM, Richard W.M. Jones wrote:
> Allow password parameters such as ‘password=-FD’ where FD is a file
> descriptor number inherited by nbdkit from the parent process. This
> is another way to allow programs to hand passwords to nbdkit in a very
> secure way, for example over a pipe so they never touch the
> filesystem.
>
> Previously nbdkit allowed you to use
2015 Sep 29
2
[PATCH 1/2] copy-in: print tar stderr when it fails
Get also the fd for the tar subprocess, and drain and print its content
if the tar invocation fails.
---
src/copy-in-out.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 61 insertions(+), 4 deletions(-)
diff --git a/src/copy-in-out.c b/src/copy-in-out.c
index dc9e7b7..0dd8cd3 100644
--- a/src/copy-in-out.c
+++ b/src/copy-in-out.c
@@ -34,17 +34,19 @@
#include
2017 Dec 24
3
virt-copy-in - how do I get the selinux relabeling done for the file?
I'm copying a file into a VM using virt-copy-in - which is great, but the
file is wrongly labeled.
How can I fix that?
TIA,
Y.