diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-05-09 13:59:24 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-07-01 09:15:24 +0300 |
commit | ab8c6fb93ce9db0f09401c4b819b0b277dc00340 (patch) | |
tree | 52605fdb78f42db89e5d6a96f7e42c27cc071e6c /tests/ubi-tests/mkvol_bad.c | |
parent | 2bd7447e96e1c6cf8637713f9cbcec51b05e5aa1 (diff) |
ubiupdatevol: add a --skip option
This already has a --size option for controlling how many bytes to read
from the input. Add a --skip option to control the offset into the input
too. This way people don't have to do `dd | ubiupdatevol`.
While we're here, I've fixed the types used with args.size and the read
loop so that they can hold the right sizes (like setting a 32bit+ size).
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'tests/ubi-tests/mkvol_bad.c')
0 files changed, 0 insertions, 0 deletions