]> www.infradead.org Git - mtd-utils.git/commit
ubi-utils: Add ubiblock tool
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Fri, 14 Mar 2014 14:25:24 +0000 (11:25 -0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 25 Mar 2014 07:54:48 +0000 (09:54 +0200)
commit6a9db93c239ff61412ba6629919b4411d836ae23
tree5aa80cf857d2429f1687b6f275fee626005958b7
parentdcea43eba91642939c82739387147da26d572758
ubi-utils: Add ubiblock tool

With the addition of block device access to UBI volumes, we now
add a simple userspace tool to access the new ioctls.

Usage of this tool is as simple as it gets:

  $ ubiblock --create /dev/ubi0_0

will create a new block device /dev/ubiblock0_0, and

  $ ubiblock --remove /dev/ubi0_0

will remove the device.

Artem: slightly changed the header comment.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Makefile
include/mtd/ubi-user.h
ubi-utils/.gitignore
ubi-utils/include/libubi.h
ubi-utils/libubi.c
ubi-utils/ubiblock.c [new file with mode: 0644]