Go to file
Jaegeuk Kim 5b9f641c06 scripts: add some scripts
1. dumpf2fs.sh
 : to see internal device with hexdump
2. spo_test.sh
 : to run SPOR
3. tracepoint.sh
 : to turn on tracepoints

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
2013-10-17 15:26:23 +09:00
fsck fsck: fix checking orphan inodes 2013-10-16 13:52:16 +09:00
include libf2fs: avoid warning of implicit declaration 2013-10-08 20:04:35 +09:00
lib f2fs-tools: discard is default but not set in config 2013-09-03 09:45:44 +09:00
m4 mkfs: Initial commit for patch v2 series 2012-11-26 19:45:59 +09:00
man build: make several base functions as a library 2013-04-04 09:19:07 +09:00
mkfs f2fs-tools: discard is default but not set in config 2013-09-03 09:45:44 +09:00
scripts scripts: add some scripts 2013-10-17 15:26:23 +09:00
.gitignore build: make several base functions as a library 2013-04-04 09:19:07 +09:00
AUTHORS mkfs: Initial commit for patch v2 series 2012-11-26 19:45:59 +09:00
ChangeLog f2fs-tools: add fsck.f2fs and dump.f2fs 2013-07-04 23:15:25 +09:00
configure.ac f2fs-tools: add fsck.f2fs and dump.f2fs 2013-07-04 23:15:25 +09:00
COPYING mkfs: Initial commit for patch v2 series 2012-11-26 19:45:59 +09:00
Makefile.am f2fs-tools: add fsck.f2fs and dump.f2fs 2013-07-04 23:15:25 +09:00
README README: add description how to cross-compile 2013-10-17 15:19:40 +09:00
VERSION Unify version and date management 2012-12-07 14:56:27 +09:00

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

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

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

Your should install the following packages.
 - libuuid-devel or uuid-dev
 - pkg-config
 - autoconf

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

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

 # autoreconf --install

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

 # ./configure
 # make

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.