No description
  • C 98.3%
  • Shell 0.6%
  • M4 0.4%
  • Makefile 0.4%
  • Roff 0.3%
Find a file
Luca Stefani bd0159ab5b Merge remote-tracking branch 'aosp/pie-gsi' into lineage-16.0-pie-gsi
* aosp/pie-gsi:

Change-Id: Idf84bf28490405935dd08bcdd0f4146f2c43faf8
2019-07-13 18:56:58 +02:00
fsck f2fs-tools: Rename utf conversion symbols 2019-04-05 01:21:33 +02:00
include f2fs-tools: Rename utf conversion symbols 2019-04-05 01:21:33 +02:00
lib f2fs-tools: Rename utf conversion symbols 2019-04-05 01:21:33 +02:00
m4 mkfs: Initial commit for patch v2 series 2012-11-26 19:45:59 +09:00
man libf2fs,mkfs.f2fs: add wanted_sector_size for wanted_total_sectors 2018-04-03 12:51:22 -07:00
mkfs f2fs-tools: Rename utf conversion symbols 2019-04-05 01:21:33 +02:00
scripts script: add simple test script 2016-04-18 21:11:26 -04:00
tools Merge remote-tracking branch 'aosp/upstream-master' into update 2018-07-10 21:08:53 -07:00
.gitignore f2fs-tools: release 1.9.0 2017-11-13 11:17:36 -08:00
Android.bp f2fs-tools: Add sload.f2fs support to libf2fs_fsck 2019-04-05 01:21:33 +02:00
Android.mk Android.mk: update strings to reflect v1.11.0 release 2018-09-12 16:15:38 +02:00
AUTHORS mkfs: Initial commit for patch v2 series 2012-11-26 19:45:59 +09:00
autogen.sh defrag.f2fs: introduce defragmentation tool 2015-12-11 15:58:50 -08:00
ChangeLog f2fs-tools: add fsck.f2fs and dump.f2fs 2013-07-04 23:15:25 +09:00
configure.ac f2fs-tools: release 1.11.0 2018-07-10 12:38:57 -07:00
COPYING License tweak: LGPL v2.1 vs LGPL v2 2014-06-12 17:42:39 -07:00
Makefile.am f2fs-tools: add f2fstat to print f2fs's status in sec 2014-01-14 17:48:35 +09:00
METADATA Merge remote-tracking branch 'aosp/upstream-master' into update 2018-07-10 21:08:53 -07:00
MODULE_LICENSE_LGPL Update the NOTICE + license files to match LGPL v2.1 in COPYING 2014-06-20 14:01:38 -07:00
NOTICE Update the NOTICE + license files to match LGPL v2.1 in COPYING 2014-06-20 14:01:38 -07:00
OWNERS Add OWNERS in external/f2fs-tools 2017-06-16 16:17:47 -07:00
README README: revisit README to fix typos and so on 2016-11-14 16:31:38 -08:00
VERSION f2fs-tools: release 1.11.0 2018-07-10 12:38:57 -07:00

F2FS format utilility
---------------------

To use f2fs filesystem, you should format the storage partition
with this utilility. 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 compilation initially, 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 man page.