summaryrefslogtreecommitdiff
path: root/mkfs.ubifs/crc32.h
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>2008-08-25 21:09:51 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-08-26 10:52:18 +0300
commitb6a0dcf2591e809e929ba60aec72288c7b301356 (patch)
treedfc5e59693c2c872363cdbcf1de8a59dd50af783 /mkfs.ubifs/crc32.h
parentf49af470bccb6097088e6542931530b7f305ac0b (diff)
ubi-utils: allow 'ubiformat' to read from stdin
This patch allows to read the image from stdin and adds an '--image-size' option to specify its size. 'upiupdatevol' has this feature already and it is useful for 'ubiformat' too. It adds a read_all() function which reads a block of data. Plain 'read(2)' can fail on nc -l -p 1234 | ubiformat -f - -S 25427968 else. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'mkfs.ubifs/crc32.h')
0 files changed, 0 insertions, 0 deletions