From bd366b555aa83a548bbac2e9ce02b713ff71afd6 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" <rjones@redhat.com> Date: Sun, 18 Nov 2018 10:38:27 +0000 Subject: [PATCH] Require nbdkit 1.8.1. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Allows us to drop the âopenâ callback from the minimal plugin. --- 2019-fosdem/6400-plugins-shell-2.html | 5 ++++- 2019-fosdem/9000-final.html | 2 +- 2019-fosdem/badblocks.sh | 1 - 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/2019-fosdem/6400-plugins-shell-2.html b/2019-fosdem/6400-plugins-shell-2.html index 5c2e981..416fa45 100644 --- a/2019-fosdem/6400-plugins-shell-2.html +++ b/2019-fosdem/6400-plugins-shell-2.html @@ -16,8 +16,11 @@ We only need to write a few callbacks ... <li> <code>get_size</code> <li> <code>pread</code> <li> <code>pwrite</code> +<li> <code>trim</code> +<li> <code>zero</code> </ul> <p> -Almost all callbacks are optional. +Only <code>get_size</code> and <code>pread</code> are +mandatory for shell script plugins. </p> diff --git a/2019-fosdem/9000-final.html b/2019-fosdem/9000-final.html index 23c4c5d..785a61c 100644 --- a/2019-fosdem/9000-final.html +++ b/2019-fosdem/9000-final.html @@ -16,7 +16,7 @@ the free world. <h2>Get it</h2> <ul> -<li> nbdkit 1.8 now available in all major Linux distros. +<li> nbdkit ≥ 1.8.1 now available in all major Linux distros. <li> nbd client ≥ 3.18 and kernel ≥ 4.18 recommended. <li> <a href="https://github.com/libguestfs/nbdkit">https://github.com/libguestfs/nbdkit</a> <li> This talk: <a href="http://git.annexia.org/?p=libguestfs-talks.git">http://git.annexia.org/?p=libguestfs-talks.git</a> diff --git a/2019-fosdem/badblocks.sh b/2019-fosdem/badblocks.sh index 863c6b5..bf05d11 100755 --- a/2019-fosdem/badblocks.sh +++ b/2019-fosdem/badblocks.sh @@ -1,7 +1,6 @@ #!/bin/bash case "$1" in - open) ;; get_size) echo 64M ;; pread) if [ $4 -le 100000 ] && [ $(( $4+$3 )) -gt 100000 ]; then -- 1.8.3.1