1
0
Fork 0
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.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
fsck Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
include Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
lib Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
m4 Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
man Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
mkfs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
scripts Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
tools Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
.gitignore Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
AUTHORS Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Android.bp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
COPYING Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
ChangeLog Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
CleanSpec.mk Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
METADATA Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
MODULE_LICENSE_LGPL Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Makefile.am Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
NOTICE Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
OWNERS Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
VERSION Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
VERSIONING Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
autogen.sh Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
configure.ac Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years 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.