Displaying 2 results from an estimated 2 matches for "b21c2212".
2020 Aug 18
0
Re: [nbdkit PATCH] sh: Prefer dd bs=1 over iflag=count_bytes
...s such as BSD. Sticking to just POSIX features makes
> things more portable.
I'm not very convinced by this. Maybe we should persuade
the BSD folk to implement this useful feature instead?
As one example:
> diff --git a/docs/nbdkit-loop.pod b/docs/nbdkit-loop.pod
> index 055b5750..b21c2212 100644
> --- a/docs/nbdkit-loop.pod
> +++ b/docs/nbdkit-loop.pod
> @@ -120,7 +120,7 @@ creates a disk which contains a bad sector:
> echo EIO Bad block >&2
> exit 1
> else
> - dd if=/dev/zero count=$3 iflag=count_bytes
&g...
2020 Aug 17
3
[nbdkit PATCH] sh: Prefer dd bs=1 over iflag=count_bytes
...est-retry.sh | 3 +--
tests/test-shell.sh | 5 ++---
tests/test-single-sh.sh | 3 +--
tests/test-tls-fallback.sh | 2 +-
19 files changed, 28 insertions(+), 40 deletions(-)
diff --git a/docs/nbdkit-loop.pod b/docs/nbdkit-loop.pod
index 055b5750..b21c2212 100644
--- a/docs/nbdkit-loop.pod
+++ b/docs/nbdkit-loop.pod
@@ -120,7 +120,7 @@ creates a disk which contains a bad sector:
echo EIO Bad block >&2
exit 1
else
- dd if=/dev/zero count=$3 iflag=count_bytes
+ dd bs=1 if=/dev/zero co...