Re: [Toybox] dd tests for transaction size?

2017-07-11 Thread Rob Landley
On 07/11/2017 06:37 AM, Samuel Holland wrote: > On 07/09/17 18:25, Rob Landley wrote: >> On 07/09/2017 05:39 PM, Samuel Holland wrote: >>> On 07/09/17 17:07, Rob Landley wrote: Has anybody actually used the conv=sync option in the past 20 years? It doesn't do what you think (that's

Re: [Toybox] dd tests for transaction size?

2017-07-11 Thread enh
On Tue, Jul 11, 2017 at 12:10 PM, Rob Landley wrote: > On 07/10/2017 02:00 PM, enh wrote: >> On Mon, Jul 10, 2017 at 10:57 AM, enh wrote: Would the above bs= behavior tie sound like it would work for the users you found? >>> >>> for what the comments

Re: [Toybox] dd tests for transaction size?

2017-07-11 Thread Rob Landley
On 07/10/2017 02:00 PM, enh wrote: > On Mon, Jul 10, 2017 at 10:57 AM, enh wrote: >>> Would the above bs= behavior tie sound like it would work for the users >>> you found? >> >> for what the comments claim, yes, but i'll track one of the clueful >> users down and check with

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 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 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

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-09 Thread enh
On Sun, Jul 9, 2017 at 4:23 PM, Rob Landley wrote: > > On 07/09/2017 05:18 PM, enh wrote: >> > On 07/09/2017 02:41 AM, Rob Landley wrote: >> > > does anybody have a decent strategy for testing the ibs >> > > and obs options? >> > >> > Has anybody actually used

Re: [Toybox] dd tests for transaction size?

2017-07-09 Thread Rob Landley
On 07/09/2017 02:41 AM, Rob Landley wrote: > does anybody have a decent strategy for testing the ibs > and obs options? Has anybody actually used the conv=sync option in the past 20 years? It doesn't do what you think (that's conv=fsync), instead it pads short reads with zeroes so the input block