[PATCH] [MTD-UTILS] nandwrite: read from stdin support

Tommi Airikka tommi.airikka at ericsson.com
Tue Sep 2 05:04:04 EDT 2008


Here is a patch that adds read from stdin support for nandwrite.
I have tried it with 'cat filename.jffs2 | nandwrite -i filesize -p
/dev/mtdX -'
and it did work.

Regards,
Tommi Airikka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-nandwrite-support-reading-from-stdin.patch
Type: application/octet-stream
Size: 3287 bytes
Desc: 0001-nandwrite-support-reading-from-stdin.patch
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20080902/067a5548/attachment.obj 


More information about the linux-mtd mailing list