Displaying 1 result from an estimated 1 matches for "d5918e28".
2020 Aug 17
3
[nbdkit PATCH] sh: Prefer dd bs=1 over iflag=count_bytes
...in(1)>:
nbdkit eval get_size='echo 1M' \
- pread='dd if=/dev/zero count=$3 iflag=count_bytes'
+ pread='dd bs=1 if=/dev/zero count=$3'
=back
diff --git a/plugins/eval/nbdkit-eval-plugin.pod b/plugins/eval/nbdkit-eval-plugin.pod
index 7126c6de..d5918e28 100644
--- a/plugins/eval/nbdkit-eval-plugin.pod
+++ b/plugins/eval/nbdkit-eval-plugin.pod
@@ -51,7 +51,7 @@ all other methods are identical).
Create a 64M read-only disk of zeroes:
nbdkit eval get_size=' echo 64M ' \
- pread=' dd if=/dev/zero count=$3 iflag=count_byt...