Re: [PATCH] dd - support for reading of full blocks
From:
Kamil Dudka
Subject:
Re: [PATCH] dd - support for reading of full blocks
Date:
Wed, 23 Jul 2008 11:43:09 +0200
User-agent:
KMail/1.9.9
On Monday 21 July 2008 12:53:08 you wrote:
> Much better thanks. The following description might be improved though?
>
> "Read full blocks from input if possible. If 'read' call is terminated
> during read of input block, it will be called again for the remainder
> input. This flag can be used only for iflag option."
>
> How about:
>
> "Read full blocks from input if possible. read() may return early
> if a full block is not available, so retry until data is available
> or end of file is reached. This flag can be used only for the iflag
> option."
Ok, description improved. Also applied some Jim's recommendations
from another RFE - new patch in attachment...
> BTW, are we sure we're restricting this to iflag?
I hope so, similar behavior is default while writing - see iwrite() function
implementation.
> thanks,
> PƔdraig.
You're wellcome.
Kamil