GNU bug report logs - #38186
dd doesn't copy whole file when specifying units with bs

Previous Next

Package: guix;

Reported by: Jack Hill <jackhill <at> jackhill.us>

Date: Tue, 12 Nov 2019 20:48:01 UTC

Severity: normal

Done: Jack Hill <jackhill <at> jackhill.us>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 38186 <at> debbugs.gnu.org (full text, mbox):

From: clement <at> lassieur.org (Clément Lassieur)
To: Jack Hill <jackhill <at> jackhill.us>
Cc: 38186 <at> debbugs.gnu.org
Subject: Re: bug#38186: dd doesn't copy whole file when specifying units with
 bs
Date: Tue, 12 Nov 2019 22:45:18 +0100
Hi Jack,

> It seems that my version of dd from coreutils-8.31 does not seem to work
> correctly when using units with the bs option (e.g. bs=1M). In the terminal
> session below, I first use bs=1M. The output looks okay: dd appears to have
> copied the whole 2.3GiB file, but it has done so impossibly quickly. It turns
> out that went so quickly because the whole file has not been copied. If
> instead of using the units modifier, I specify the same number of bytes
> directly, everything seems to work as expected (notice the slower speed).

Does this[1] help?

[1]: https://superuser.com/questions/730801/dd-immidiately-completes-but-actually-needs-sync




This bug report was last modified 5 years and 249 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.