Re: [PATCH v2 1/1] t0003: Call dd with portable blocksize

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

 



tboegi@xxxxxx writes:

> From: Torsten Bögershausen <tboegi@xxxxxx>
>
> The command `dd bs=101M count=1` is not portable,
> e.g. dd shipped with MacOs does not understand the 'M'.

Very good piece of information to have here.

> Use `bs=1048576 count=101`, which achives the same, instead.

I'd locally tweak (read: no need to resend) it to

    Use `dd bs=1048576 count=101`, which ...

and downcase "Call" on the title line.

A tangent.  I wonder how portable 

    dd bs=1024x1024 count=101
    dd bs=1kx1k count=101

are in practice.  "Two or more positive decimal numbers (with or
without 'k' or 'b') separated by 'x', specifying the product of the
indicated values" is from POSIX, but I haven't used it myself (I
know GNU dd groks it).

In any case, thanks for the update.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux