• Home
Name Date Size #Lines LOC

..--

fsck/03-May-2024-17,46113,766

include/03-May-2024-1,8191,388

lib/03-May-2024-7,8316,785

m4/03-May-2024-31

man/03-May-2024-875838

mkfs/03-May-2024-2,4601,967

scripts/03-May-2024-343278

tools/03-May-2024-20,15616,114

.gitignoreD03-May-2024543 5954

AUTHORSD03-May-202481 21

Android.bpD03-May-20247.3 KiB331312

COPYINGD03-May-202444.3 KiB865717

ChangeLogD03-May-2024157 54

CleanSpec.mkD03-May-20242.1 KiB481

METADATAD03-May-2024374 1918

MODULE_LICENSE_LGPLD03-May-20240

Makefile.amD03-May-202475 62

NOTICED03-May-202444.3 KiB865717

OWNERSD03-May-202419 21

READMED03-May-20241,001 5135

VERSIOND03-May-202418 32

VERSIONINGD03-May-20249.1 KiB224169

autogen.shD03-May-202485 85

configure.acD03-May-20245.9 KiB244210

README

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