[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dd/sparse test failure on Solaris (zfs-backed?) NFS
From: |
Bernhard Voelker |
Subject: |
Re: dd/sparse test failure on Solaris (zfs-backed?) NFS |
Date: |
Fri, 23 Mar 2012 11:20:12 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120215 Thunderbird/10.0.2 |
On 03/23/2012 10:56 AM, Jim Meyering wrote:
> +# Setup for block size tests: create a 3MiB file with a 1MiB
> +# stretch of NUL bytes in the middle.
> +rm -f file.in
> +dd if=/dev/urandom of=file.in iflag=fullblock bs=1M count=3 || fail=1
> +dd if=/dev/zero of=file.in conv=notrunc bs=1M count=1 || fail=1
The NUL bytes are not in the middle:
$ hexdump file.in | head -n 4
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
0100000 f105 7956 e6ce e161 b166 0e84 208a 40ee
0100010 1531 ac0d 1c49 78a9 7aed 7f56 9161 4f25
Did you mean seek=1M?
Have a nice day,
Berny