|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| .github/workflows/ | | 22-Mar-2025 | - | 71 | 65 |
| fsck/ | | 22-Mar-2025 | - | 18,301 | 14,487 |
| include/ | | 22-Mar-2025 | - | 2,013 | 1,526 |
| lib/ | | 22-Mar-2025 | - | 7,919 | 6,860 |
| m4/ | | 22-Mar-2025 | - | 3 | 1 |
| man/ | | 22-Mar-2025 | - | 929 | 892 |
| mkfs/ | | 22-Mar-2025 | - | 2,589 | 2,073 |
| scripts/ | | 22-Mar-2025 | - | 343 | 278 |
| tools/ | | 22-Mar-2025 | - | 3,800 | 3,144 |
| .gitignore | D | 22-Mar-2025 | 489 | 57 | 52 |
| AUTHORS | D | 22-Mar-2025 | 81 | 2 | 1 |
| BUILD.gn | D | 22-Mar-2025 | 620 | 23 | 19 |
| COPYING | D | 22-Mar-2025 | 44.3 KiB | 865 | 717 |
| ChangeLog | D | 22-Mar-2025 | 157 | 5 | 4 |
| License | D | 22-Mar-2025 | 44.3 KiB | 865 | 717 |
| MODULE_LICENSE_GPL | D | 22-Mar-2025 | 0 | | |
| Makefile.am | D | 22-Mar-2025 | 75 | 6 | 2 |
| OAT.xml | D | 22-Mar-2025 | 5.7 KiB | 85 | 37 |
| README.OpenSource | D | 22-Mar-2025 | 509 | 12 | 11 |
| README.md | D | 22-Mar-2025 | 1,007 | 50 | 34 |
| VERSION | D | 22-Mar-2025 | 18 | 3 | 2 |
| VERSIONING | D | 22-Mar-2025 | 9.1 KiB | 224 | 169 |
| autogen.sh | D | 22-Mar-2025 | 85 | 8 | 5 |
| bundle.json | D | 22-Mar-2025 | 1.2 KiB | 48 | 48 |
| config.h | D | 22-Mar-2025 | 6.2 KiB | 222 | 59 |
| configure.ac | D | 22-Mar-2025 | 7 KiB | 312 | 271 |
README.OpenSource
README.md
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