Re: [PATCH] dd - support for reading of full blocks
From:
PƔdraig Brady
Subject:
Re: [PATCH] dd - support for reading of full blocks
Date:
Thu, 17 Jul 2008 14:43:31 +0100
User-agent:
Thunderbird 2.0.0.6 (X11/20071008)
PƔdraig Brady wrote:
> Kamil Dudka wrote:
>> Hello,
>>
>> as solution to rhbz #431997 and #449263 I propose patch for dd - support for
>> reading of full blocks. This support is activated with dd parameter
>> conv=fullblk. This patch has no effect if parameter conv=fullblk is omitted.
>
> This feature makes a lot of sense.
> I'm not sure I like the conv=fullblk syntax though.
> Here are alternatives in my order of preference:
>
> iflag=block
> conv=fill
> conv=fillblock
> conv=fullblock
or conv=wait, though I do have a strong preference
for iflag=block as it's the most accurate.
Also would there be any possibility of making this the default?
I suppose this could break scripts that depend on short reads
from non files. Without backwards compatibility issues I would
definitely have this as the default mode of operation.
PƔdraig.