From: Martin Hollingsworth <Martin.Hollingsworth@itk-engineering.de>
To: Richard Weinberger <richard.weinberger@gmail.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: AW: ubiupdatevol read input from stdin or similar
Date: Mon, 6 Nov 2017 17:51:54 +0000 [thread overview]
Message-ID: <2ffa5c3a2d514727a5a800b720530d8c@itk-engineering.de> (raw)
In-Reply-To: <CAFLxGvz=3DP7BtB0=LWjGW2opMd1YuDn4A-ouQjbF9DDnMhMBw@mail.gmail.com>
> Did you try using "-" as filename?
That does the trick!
Example:
dd if=/dev/urandom | ubiupdatevol /dev/ubi11_2 - --size=65673216
Where size equals the exact size of the data you expect to come over the pipe (hence the size of the real source that dd or any other tool would read in this case).
Thanks to you Richard and regards,
Martin Hollingsworth
prev parent reply other threads:[~2017-11-06 17:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-02 17:09 ubiupdatevol read input from stdin or similar Martin Hollingsworth
2017-11-02 17:54 ` Richard Weinberger
2017-11-06 17:51 ` Martin Hollingsworth [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2ffa5c3a2d514727a5a800b720530d8c@itk-engineering.de \
--to=martin.hollingsworth@itk-engineering.de \
--cc=linux-mtd@lists.infradead.org \
--cc=richard.weinberger@gmail.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox