From: Junio C Hamano <gitster@pobox.com>
To: tboegi@web.de
Cc: git@vger.kernel.org
Subject: Re: [PATCH v2 1/1] t0003: Call dd with portable blocksize
Date: Sun, 22 Jan 2023 08:21:45 -0800 [thread overview]
Message-ID: <xmqqtu0isfom.fsf@gitster.g> (raw)
In-Reply-To: <20230122062839.14542-1-tboegi@web.de> (tboegi@web.de's message of "Sun, 22 Jan 2023 07:28:39 +0100")
tboegi@web.de writes:
> From: Torsten Bögershausen <tboegi@web.de>
>
> 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.
next prev parent reply other threads:[~2023-01-22 16:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-21 11:05 [PATCH v1 1/1] t0003: Call dd with portable blocksize tboegi
2023-01-22 0:08 ` Junio C Hamano
2023-01-22 6:28 ` [PATCH v2 " tboegi
2023-01-22 16:21 ` Junio C Hamano [this message]
2023-01-22 18:00 ` Torsten Bögershausen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqtu0isfom.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=tboegi@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).