On 10/20/2013 08:18 PM, Carlos E. R. wrote:
On Sunday, 2013-10-20 at 19:48 +0200, Bernhard Voelker wrote:
Otherwise, simply use the iflag=fullblock option [2]:
So, I should use it like this?
cer@Minas-Anor:~> dd if=/dev/random of=sample bs=100 count=1 iflag=fullblock ; l sample 1+0 records in 1+0 records out 100 bytes (100 B) copied, 10,9179 s, 0,0 kB/s - -rw-r--r-- 1 cer users 100 Oct 20 20:12 sample cer@Minas-Anor:~>
yes, that's correct. This option is also useful when dd(1) reads from pipes.
Why did dd work in 12.3 and doesn't in 13.1, has something changed?
Re-reading the NEWS and the git log, I don't see a change in that area. Furthermore, this issue has already been there before. It depends on the data source, i.e. in the case of /dev/random, how many bytes the kernel can deliver before it comes to a short read. Have a nice day, Berny -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org