Displaying 8 results from an estimated 8 matches similar to: "Proposed new libguestfs file APIS"
2010 Aug 26
1
[PATCH] New APIs: hopen-device hopen-file hread hwrite hseek hclose hclose-all
These APIs provide handle-based read/write streaming and random access to files
and block devices.
---
daemon/.gitignore | 1 +
daemon/Makefile.am | 1 +
daemon/hfile.c | 196 +++++++++++++++++++++++++++++++++++++++++++++
daemon/m4/gnulib-cache.m4 | 3 +-
po/POTFILES.in | 2 +
regressions/Makefile.am | 1 +
regressions/test-hfile.pl | 102
2010 Aug 27
0
[PATCH] Update pwrite to write a full buffer
This patch changes pwrite such that it will never return a short write. This
is a backwards compatible API change, as checking for short writes remains
correct, but redundant.
---
daemon/file.c | 20 +++++++++++++-------
src/generator.ml | 6 ------
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/daemon/file.c b/daemon/file.c
index da899b6..9ce0783 100644
---
2001 Nov 27
0
lme on large data frames
Recently there was a question on using lme with large data sets. As an
experiment I fit a linear mixed-effects model to a data set with about
350,000 observations on 6 predictors, a numerical response, and a
single grouping factor.
The timings shown below were on a 1.2 GHz Athlon with 1 GB of PC133
memory and 2 GB of swap. The operating system is Debian 3.0
GNU/Linux. The kernel is 2.4.14.
2016 Oct 03
0
[PATCH v2 1/2] New tool: virt-tail.
This follows (tails) a log file within a guest, rather like
the regular 'tail -f' command. For example:
virt-tail -d guest /var/log/messages
---
.gitignore | 3 +
bash/Makefile.am | 4 +-
bash/virt-alignment-scan | 6 +
cat/Makefile.am | 47 ++++-
cat/tail.c | 498 +++++++++++++++++++++++++++++++++++++++++++++++
cat/test-docs.sh
2016 Oct 03
0
[PATCH v3 1/2] New tool: virt-tail.
This follows (tails) a log file within a guest, rather like
the regular 'tail -f' command. For example:
virt-tail -d guest /var/log/messages
---
.gitignore | 3 +
bash/Makefile.am | 4 +-
bash/virt-alignment-scan | 6 +
cat/Makefile.am | 47 ++++-
cat/tail.c | 502 +++++++++++++++++++++++++++++++++++++++++++++++
cat/test-docs.sh
2016 Oct 03
1
Re: [PATCH v2 1/2] New tool: virt-tail.
On Monday, 3 October 2016 13:27:13 CEST Richard W.M. Jones wrote:
> This follows (tails) a log file within a guest, rather like
> the regular 'tail -f' command. For example:
>
> virt-tail -d guest /var/log/messages
> ---
> .gitignore | 3 +
> bash/Makefile.am | 4 +-
> bash/virt-alignment-scan | 6 +
> cat/Makefile.am |
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
Previously we had lots of types like String, Device, StringList,
DeviceList, etc. where Device was just a String with magical
properties (but only inside the daemon), and DeviceList was just a
list of Device strings.
Replace these with some simple top-level types:
String
StringList
and move the magic into a subtype.
The change is mechanical, for example:
old
2015 Jun 14
2
[PATCH] pod: Use F<> for filenames instead of C<>.
Done using a sequence of regular expressions like this:
perl -pi.bak -e 's{C</}{F</}g' `git ls-files \*.pod` generator/actions.ml
perl -pi.bak -e 's{C<C:\\}{F<C:\\}g' `git ls-files \*.pod` generator/actions.ml
[etc]
and then tediously checking every change by hand.
---
align/virt-alignment-scan.pod | 8 +-