|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| fsck/ | | 03-May-2024 | - | 17,461 | 13,766 |
| include/ | | 03-May-2024 | - | 1,819 | 1,388 |
| lib/ | | 03-May-2024 | - | 7,831 | 6,785 |
| m4/ | | 03-May-2024 | - | 3 | 1 |
| man/ | | 03-May-2024 | - | 875 | 838 |
| mkfs/ | | 03-May-2024 | - | 2,460 | 1,967 |
| scripts/ | | 03-May-2024 | - | 343 | 278 |
| tools/ | | 03-May-2024 | - | 20,156 | 16,114 |
| .gitignore | D | 03-May-2024 | 543 | 59 | 54 |
| AUTHORS | D | 03-May-2024 | 81 | 2 | 1 |
| Android.bp | D | 03-May-2024 | 7.3 KiB | 331 | 312 |
| COPYING | D | 03-May-2024 | 44.3 KiB | 865 | 717 |
| ChangeLog | D | 03-May-2024 | 157 | 5 | 4 |
| CleanSpec.mk | D | 03-May-2024 | 2.1 KiB | 48 | 1 |
| METADATA | D | 03-May-2024 | 374 | 19 | 18 |
| MODULE_LICENSE_LGPL | D | 03-May-2024 | 0 | | |
| Makefile.am | D | 03-May-2024 | 75 | 6 | 2 |
| NOTICE | D | 03-May-2024 | 44.3 KiB | 865 | 717 |
| OWNERS | D | 03-May-2024 | 19 | 2 | 1 |
| README | D | 03-May-2024 | 1,001 | 51 | 35 |
| VERSION | D | 03-May-2024 | 18 | 3 | 2 |
| VERSIONING | D | 03-May-2024 | 9.1 KiB | 224 | 169 |
| autogen.sh | D | 03-May-2024 | 85 | 8 | 5 |
| configure.ac | D | 03-May-2024 | 5.9 KiB | 244 | 210 |
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