• Home
Name Date Size #Lines LOC

..--

.github/workflows/04-Jul-2025-7165

fsck/04-Jul-2025-20,72816,553

include/04-Jul-2025-2,3061,709

lib/04-Jul-2025-8,1086,997

m4/04-Jul-2025-31

man/04-Jul-2025-1,2631,222

mkfs/04-Jul-2025-2,6842,129

scripts/04-Jul-2025-343278

tools/04-Jul-2025-4,6053,848

.gitignoreD04-Jul-2025489 5752

AUTHORSD04-Jul-202581 21

Android.bpD04-Jul-20259.1 KiB446419

COPYINGD04-Jul-202544.3 KiB865717

ChangeLogD04-Jul-2025157 54

METADATAD04-Jul-2025669 2119

MODULE_LICENSE_LGPLD04-Jul-20250

Makefile.amD04-Jul-202575 62

NOTICED04-Jul-202544.3 KiB865717

OWNERSD04-Jul-202591 32

READMED04-Jul-2025987 5034

VERSIOND04-Jul-202518 32

VERSIONINGD04-Jul-20259.1 KiB224169

autogen.shD04-Jul-202585 85

configure.acD04-Jul-20257 KiB316275

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