Yes, the test reproducibly passes for me.   But the filesystem I am
using is ZFS:

$ yes "" | sed -e '765 q'> /tmp/small-text-file.txt ; \
  dd if=/dev/urandom bs=765 of=/tmp/random-data.bin  count=1 ; \
  cp /tmp/random-data.bin /tmp/small-text-file.txt . ; \
  find  \
    /tmp/random-data.bin random-data.bin /tmp/small-text-file.txt
small-text-file.txt  \
    -printf '%%k=%k %%b=%b %s %p\n' ; \
  sha1sum /tmp/random-data.bin random-data.bin
/tmp/small-text-file.txt small-text-file.txt
1+0 records in
1+0 records out
765 bytes copied, 3.9558e-05 s, 19.3 MB/s
%k=4 %b=8 765 /tmp/random-data.bin
%k=5 %b=9 765 random-data.bin
%k=4 %b=8 765 /tmp/small-text-file.txt
%k=1 %b=1 765 small-text-file.txt
0156e7e4ea8f26c91c5de2f4337d8e1d44e7c556  /tmp/random-data.bin
0156e7e4ea8f26c91c5de2f4337d8e1d44e7c556  random-data.bin
38957bd663f7efc364ac7c8ed3589fa69520b9e4  /tmp/small-text-file.txt
38957bd663f7efc364ac7c8ed3589fa69520b9e4  small-text-file.txt
$ stat /tmp/random-data.bin random-data.bin /tmp/small-text-file.txt
small-text-file.txt
  File: /tmp/random-data.bin
  Size: 765        Blocks: 8          IO Block: 4096   regular file
Device: 253,2 Inode: 19          Links: 1
Access: (0664/-rw-rw-r--)  Uid: ( 1027/   james)   Gid: ( 1027/   james)
Access: 2026-07-23 20:21:50.226425401 +0100
Modify: 2026-07-23 20:21:50.222425458 +0100
Change: 2026-07-23 20:21:50.222425458 +0100
 Birth: 2026-07-23 20:17:57.985621969 +0100
  File: random-data.bin
  Size: 765        Blocks: 9          IO Block: 1024   regular file
Device: 0,41 Inode: 5342459     Links: 1
Access: (0664/-rw-rw-r--)  Uid: ( 1027/   james)   Gid: ( 1027/   james)
Access: 2026-07-23 20:21:50.230425347 +0100
Modify: 2026-07-23 20:21:50.226425401 +0100
Change: 2026-07-23 20:21:50.226425401 +0100
 Birth: 2026-07-23 20:17:57.985621969 +0100
  File: /tmp/small-text-file.txt
  Size: 765        Blocks: 8          IO Block: 4096   regular file
Device: 253,2 Inode: 16          Links: 1
Access: (0664/-rw-rw-r--)  Uid: ( 1027/   james)   Gid: ( 1027/   james)
Access: 2026-07-23 20:21:50.226425401 +0100
Modify: 2026-07-23 20:21:50.218425513 +0100
Change: 2026-07-23 20:21:50.218425513 +0100
 Birth: 2026-07-23 20:17:57.981622024 +0100
  File: small-text-file.txt
  Size: 765        Blocks: 1          IO Block: 1024   regular file
Device: 0,41 Inode: 5342460     Links: 1
Access: (0664/-rw-rw-r--)  Uid: ( 1027/   james)   Gid: ( 1027/   james)
Access: 2026-07-23 20:21:50.230425347 +0100
Modify: 2026-07-23 20:21:50.226425401 +0100
Change: 2026-07-23 20:21:50.226425401 +0100
 Birth: 2026-07-23 20:17:57.985621969 +0100

Reply via email to