F2FS Tool is are of tools for managing "Flash Friendly File System" aka F2FS. File system made its first appearance in linux-3.8 and its dedicated for flash based storage like media cards, SSDs etc.
sources can be found at http://git.kernel.org/?p=linux/kernel/git/jaegeuk/f2fs-tools.git;a=summary
Okay guys, I was in the middle of writing an ebuild when I thought, I bet someone else has done this. I'll maintain it.
I saw some ebuilds around on overlays, but this package is so raw that upstream's build system is still very unstable. Since the sourceforge page isn't pushing out tarballs, I'm building tarballs using `make distcheck` and distributing them through my devspace: http://dev.gentoo.org/~blueness/f2fs-tools/ Here's the patch against v1.1.0 to make it cleanly build: diff --git a/Makefile.am b/Makefile.am index 88f9f6a..5a64ee3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,3 +3,5 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = man mkfs + +EXTRA_DIST = version.h diff --git a/configure.ac b/configure.ac index dfcfc98..bb77e75 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.68]) -AC_INIT([F2FS tools], [1.0.0], [http://sourceforge.net/projects/f2fs-tools/]) +AC_INIT([F2FS tools], [1.1.0], [http://sourceforge.net/projects/f2fs-tools/]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([mkfs/f2fs_format.c]) AC_CHECK_HEADERS_ONCE(m4_flatten([ diff --git a/mkfs/Makefile.am b/mkfs/Makefile.am index b5a6cd2..b47c4a4 100644 --- a/mkfs/Makefile.am +++ b/mkfs/Makefile.am @@ -1,6 +1,7 @@ ## Makefile.am +AM_CPPFLAGS = -I$(top_srcdir) AM_CFLAGS = -Wall LDADD = -luuid -bin_PROGRAMS = mkfs.f2fs +sbin_PROGRAMS = mkfs.f2fs mkfs_f2fs_SOURCES = f2fs_format.c f2fs_format.h diff --git a/mkfs/f2fs_format.c b/mkfs/f2fs_format.c index 22c8380..5b51309 100644 --- a/mkfs/f2fs_format.c +++ b/mkfs/f2fs_format.c @@ -28,7 +28,7 @@ #include <uuid/uuid.h> #include "f2fs_format.h" -#include "../version.h" +#include "version.h" struct f2fs_global_parameters f2fs_params; struct f2fs_super_block super_block;