Displaying 4 results from an estimated 4 matches for "20aeb05f".
2020 Apr 04
0
[PATCH nbdkit 1/2] tmpdisk: Generate the default command from a shell script fragment.
...k/tmpdisk.c | 22 +++---------
plugins/tmpdisk/default-command.sh.in | 51 +++++++++++++++++++++++++++
.gitignore | 1 +
4 files changed, 72 insertions(+), 19 deletions(-)
diff --git a/plugins/tmpdisk/Makefile.am b/plugins/tmpdisk/Makefile.am
index 34061771..20aeb05f 100644
--- a/plugins/tmpdisk/Makefile.am
+++ b/plugins/tmpdisk/Makefile.am
@@ -31,11 +31,26 @@
include $(top_srcdir)/common-rules.mk
-EXTRA_DIST = nbdkit-tmpdisk-plugin.pod
+EXTRA_DIST = \
+ default-command.sh.in \
+ nbdkit-tmpdisk-plugin.pod \
+ $(NULL)
+
+# The default command we use (if we...
2020 Apr 04
4
[PATCH nbdkit 0/2] Generalize the tmpdisk plugin.
Patch 1/2 is uncontroversial.
Patch 2/2 is an interesting idea I had to generalize this plugin. It
already uses a complete embedded shell script to do most of the work.
What if, instead of making special cases for "type" and "label"
params, we simply turn any other plugin parameters into script
variables? This part of it works fine. However there is another
problem which is
2020 Apr 09
0
[PATCH nbdkit v2 3/3] tmpdisk: Implement this plugin using fileops.
...ixing this would involve
generalising fileops a little.
---
plugins/tmpdisk/Makefile.am | 2 +
plugins/tmpdisk/tmpdisk.c | 247 +++++-------------------------------
2 files changed, 32 insertions(+), 217 deletions(-)
diff --git a/plugins/tmpdisk/Makefile.am b/plugins/tmpdisk/Makefile.am
index 20aeb05f..471a0f6a 100644
--- a/plugins/tmpdisk/Makefile.am
+++ b/plugins/tmpdisk/Makefile.am
@@ -57,6 +57,7 @@ nbdkit_tmpdisk_plugin_la_SOURCES = \
nbdkit_tmpdisk_plugin_la_CPPFLAGS = \
-I$(top_srcdir)/include \
+ -I$(top_srcdir)/common/fileops \
-I$(top_srcdir)/common/utils \
$(NULL)
nbdkit_tmpd...
2020 Apr 09
6
[PATCH nbdkit v2 0/3] Implement fileops.
Needs some work still, see in particular the commit message
for patch 3.
Rich.