Home | History | Annotate | only in /external/f2fs-tools
Up to higher level directory
NameDateSize
.gitignore05-Oct-2017361
Android.mk05-Oct-20173.5K
AUTHORS05-Oct-201781
ChangeLog05-Oct-2017157
configure.ac05-Oct-20172.3K
COPYING05-Oct-201744.3K
fsck/05-Oct-2017
include/05-Oct-2017
lib/05-Oct-2017
m4/05-Oct-2017
Makefile.am05-Oct-201775
man/05-Oct-2017
mkfs/05-Oct-2017
MODULE_LICENSE_LGPL05-Oct-20170
NOTICE05-Oct-201744.3K
README05-Oct-2017975
scripts/05-Oct-2017
tools/05-Oct-2017
VERSION05-Oct-201717

README

      1 F2FS format utilility
      2 ---------------------
      3 
      4 To use f2fs filesystem, you should format the storage partition
      5 with this utilility. Otherwise, you cannot mount f2fs.
      6 
      7 Before compilation
      8 ------------------
      9 
     10 Your should install the following packages.
     11  - libuuid-devel or uuid-dev
     12  - pkg-config
     13  - autoconf
     14  - libtool
     15 
     16 Initial compilation
     17 -------------------
     18 
     19 Before compilation initially, autoconf/automake tools should be run.
     20 
     21  # autoreconf --install
     22 
     23 How to compile
     24 --------------
     25 
     26  # ./configure
     27  # make
     28 
     29 How to cross-compile (e.g., for ARM)
     30 ------------------------------------
     31 
     32  1. Add the below line into mkfs/Makefile.am:
     33  mkfs_f2fs_LDFLAGS = -all-static
     34 
     35  2. Add the below line into fsck/Makefile.am:
     36  fsck_f2fs_LDFLAGS = -all-static
     37 
     38  3. then, do:
     39  # LDFLAGS=--static ./configure \
     40 	--host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi
     41  # make
     42 
     43 How to run by default
     44 ---------------------
     45 
     46  $ ./mkfs.f2fs -l [LABEL] $DEV
     47 
     48 For more mkfs options, see man page.
     49