AW: ubiupdatevol read input from stdin or similar

Martin Hollingsworth Martin.Hollingsworth at itk-engineering.de
Mon Nov 6 09:51:54 PST 2017


> 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


More information about the linux-mtd mailing list