You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
4 months ago
..
fsck v811_spc009_project 4 months ago
include v811_spc009_project 4 months ago
lib v811_spc009_project 4 months ago
man v811_spc009_project 4 months ago
mkfs v811_spc009_project 4 months ago
scripts v811_spc009_project 4 months ago
tools v811_spc009_project 4 months ago
AUTHORS v811_spc009_project 4 months ago
Android.bp v811_spc009_project 4 months ago
COPYING v811_spc009_project 4 months ago
ChangeLog v811_spc009_project 4 months ago
CleanSpec.mk v811_spc009_project 4 months ago
METADATA v811_spc009_project 4 months ago
MODULE_LICENSE_LGPL v811_spc009_project 4 months ago
Makefile.am v811_spc009_project 4 months ago
NOTICE v811_spc009_project 4 months ago
OWNERS v811_spc009_project 4 months ago
README v811_spc009_project 4 months ago
VERSION v811_spc009_project 4 months ago
VERSIONING v811_spc009_project 4 months ago
autogen.sh v811_spc009_project 4 months ago
configure.ac v811_spc009_project 4 months ago

README

F2FS format utility
---------------------

To use the f2fs filesystem, you should format the storage partition
with this utility. Otherwise, you cannot mount f2fs.

Before compilation
------------------

You should install the following packages.
 - libuuid-devel or uuid-dev
 - pkg-config
 - autoconf
 - libtool
 - libselinux1-dev

Initial compilation
-------------------

Before initial compilation, autoconf/automake tools should be run.

 # ./autogen.sh

How to compile
--------------

 # ./configure
 # make
 # make install

How to cross-compile (e.g., for ARM)
------------------------------------

 1. Add the below line into mkfs/Makefile.am:
 mkfs_f2fs_LDFLAGS = -all-static

 2. Add the below line into fsck/Makefile.am:
 fsck_f2fs_LDFLAGS = -all-static

 3. then, do:
 # LDFLAGS=--static ./configure \
	--host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi
 # make

How to run by default
---------------------

 $ mkfs.f2fs -l [LABEL] $DEV

For more mkfs options, see the man page.