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