[PATCH 0/2] mkfs.ubifs and libubiio

Corentin Chary corentincj at iksaif.net
Thu May 7 06:21:47 EDT 2009


These patchs will allow mkfs.ubifs to write the image directly
on an UBI volume.
libubiio adds a lot of code, but as it provide the same API the kernel
does we may export it latter as a shared library.
Some code from libubiio_int.h comes from common.h in ubi-utils and we
may refactor that.

Corentin Chary (2):
  mkfs.ubifs: UBI I/O Library
  mkfs.ubifs: format directly ubi volume using libubiio

 include/mtd/ubi-user.h    |   72 ++--
 include/ubi.h             |  192 +++++++++
 mkfs.ubifs/Makefile       |    6 +-
 mkfs.ubifs/libubiio.c     |  936 +++++++++++++++++++++++++++++++++++++++++++++
 mkfs.ubifs/libubiio.h     |   47 +++
 mkfs.ubifs/libubiio_int.h |  187 +++++++++
 mkfs.ubifs/lpt.c          |   10 +-
 mkfs.ubifs/mkfs.ubifs.c   |  223 +++++++++--
 mkfs.ubifs/mkfs.ubifs.h   |    3 +-
 mkfs.ubifs/ubifs.h        |    4 +
 10 files changed, 1602 insertions(+), 78 deletions(-)
 create mode 100644 include/ubi.h
 create mode 100644 mkfs.ubifs/libubiio.c
 create mode 100644 mkfs.ubifs/libubiio.h
 create mode 100644 mkfs.ubifs/libubiio_int.h




More information about the linux-mtd mailing list