bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7362: dd strangeness


From: Pádraig Brady
Subject: bug#7362: dd strangeness
Date: Tue, 01 Mar 2011 12:01:55 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

On 01/03/11 11:27, Pádraig Brady wrote:
> On 01/03/11 09:50, Paul Eggert wrote:
>>  * Since POSIX doesn't specify the direct or cio flags, we're free
>>    to have them silently enable iflag=fullblock.  But it doesn't sound
>>    right to do that.  Instead, we should set conversions_mask |= C_TWOBUFS,
>>    because the input and output blocksizes might differ.
>>
>>  * If we suggest ibs=whatever rather than iflag=fullblock, our
>>    suggestions will be portable to other POSIX implementations, which
>>    is a plus.
> 
> So the standard way to accumulate short reads to a full write,
> is to specify separate ibs and obs (we'd probably want to prompt about
> setting obs too for efficiency). However I think that would mess up
> with a specific count (1 for each partial read) or with conv=sync,noerror

Oh right, you're warning for short reads with a specific count
and discounting the conv=sync,noerror case.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]