• Home
Name Date Size #Lines LOC

..--

fsck/03-May-2024-3,4992,805

include/03-May-2024-870618

lib/03-May-2024-606471

m4/03-May-2024-31

man/03-May-2024-9688

mkfs/03-May-2024-1,151904

scripts/03-May-2024-205165

tools/03-May-2024-482403

.gitignoreD03-May-2024361 4844

AUTHORSD03-May-202481 21

Android.mkD03-May-20243.4 KiB11882

COPYINGD03-May-202444.3 KiB865717

ChangeLogD03-May-2024157 54

MODULE_LICENSE_LGPLD03-May-20240

Makefile.amD03-May-202475 62

NOTICED03-May-202444.3 KiB865717

READMED03-May-2024975 4933

VERSIOND03-May-202417 32

configure.acD03-May-20242.2 KiB9075

README

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 - libtool
15
16Initial compilation
17-------------------
18
19Before compilation initially, autoconf/automake tools should be run.
20
21 # autoreconf --install
22
23How to compile
24--------------
25
26 # ./configure
27 # make
28
29How to cross-compile (e.g., for ARM)
30------------------------------------
31
32 1. Add the below line into mkfs/Makefile.am:
33 mkfs_f2fs_LDFLAGS = -all-static
34
35 2. Add the below line into fsck/Makefile.am:
36 fsck_f2fs_LDFLAGS = -all-static
37
38 3. then, do:
39 # LDFLAGS=--static ./configure \
40	--host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi
41 # make
42
43How to run by default
44---------------------
45
46 $ ./mkfs.f2fs -l [LABEL] $DEV
47
48For more mkfs options, see man page.
49