• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

fsck/22-Nov-2023-13,39910,487

include/22-Nov-2023-1,4331,083

lib/22-Nov-2023-1,7991,459

m4/22-Nov-2023-31

man/22-Nov-2023-485455

mkfs/22-Nov-2023-1,9261,522

scripts/22-Nov-2023-343278

tools/22-Nov-2023-18,59614,823

.gitD01-Jan-19700

.gitignoreD22-Nov-2023481 5752

AUTHORSD22-Nov-202381 21

Android.bpD22-Nov-20233.9 KiB190179

Android.mkD22-Nov-20232.2 KiB8462

COPYINGD22-Nov-202344.3 KiB865717

ChangeLogD22-Nov-2023157 54

MODULE_LICENSE_LGPLD22-Nov-20230

Makefile.amD22-Nov-202375 62

NOTICED22-Nov-202344.3 KiB865717

OWNERSD22-Nov-202355 43

READMED22-Nov-2023999 5135

VERSIOND22-Nov-202318 32

autogen.shD22-Nov-202385 85

configure.acD22-Nov-20235.1 KiB214186

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
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 compilation initially, 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 man page.
51