Re: [Toybox] dd tests for transaction size?

2017-07-10 Thread enh
On Mon, Jul 10, 2017 at 10:57 AM, enh wrote: > On Mon, Jul 10, 2017 at 10:46 AM, Rob Landley wrote: >> On 07/10/2017 12:15 AM, enh wrote: >>> On Sun, Jul 9, 2017 at 4:23 PM, Rob Landley wrote: > It's used in various boot disk generation

Re: [Toybox] dd tests for transaction size?

2017-07-10 Thread Robert Thompson
It's pretty heavily used in combination with noerror. I can personally attest to its usefulness when working with both damaged optical media and spinning rust (with the correct blocksize in each case). Each block read either contains blocksize data bytes or blocksize null bytes, so that the

Re: [Toybox] dd tests for transaction size?

2017-07-10 Thread Rob Landley
On 07/10/2017 12:15 AM, enh wrote: > On Sun, Jul 9, 2017 at 4:23 PM, Rob Landley wrote: >>> It's used in various boot disk generation scripts in the Android tree. >>> (Whether it's needed is a question I can't answer as easily!) >> >> Hang on, do you use sync= or fsync=? > >

Re: [Toybox] dd tests for transaction size?

2017-07-10 Thread enh
On Mon, Jul 10, 2017 at 10:46 AM, Rob Landley wrote: > On 07/10/2017 12:15 AM, enh wrote: >> On Sun, Jul 9, 2017 at 4:23 PM, Rob Landley wrote: It's used in various boot disk generation scripts in the Android tree. (Whether it's needed is a question