Dennis Clarke wrote:
> # dd if=/cdrom/test/debian_20220328/debian-11.0.0-sparc64-NETINST-1.iso
> of=/dev/rdsk/c0t1d0s0 bs=2048 count=189529
> dd: unexpected short write, wrote 1536 bytes, expected 2048
> 65725+0 records in
> 65725+0 records out
> So that is strange. Perhaps the iso image file is a sparse file with a
> hole in it.

Hardly. Some automat would have to have converted the file to a be
sparse one.

I would rather expect "short write" to be caused by the return value of
a write(2) call being less than the number of submitted bytes.
(It should not happen with a healthy disk device except at the very end
of its capacity.)

The disk address /dev/rdsk/c0t1d0s0 looks like Solaris. So it is no
wonder that i fail to find the dd message in Debian's coreutils.

Maybe it works better or fails with other diagnostic messages if you
use bs=512 and adjust or omit the count= argument.

Have a nice day :)


Reply via email to