From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from iksaif.net ([88.191.73.63]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1M20ro-0004IY-Is for linux-mtd@lists.infradead.org; Thu, 07 May 2009 10:30:25 +0000 From: Corentin Chary To: linux-mtd@lists.infradead.org Subject: [PATCH 0/2] mkfs.ubifs and libubiio Date: Thu, 7 May 2009 12:21:47 +0200 Message-Id: <1241691709-17624-1-git-send-email-corentincj@iksaif.net> Cc: Corentin Chary , vapier.adi@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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