• Home
Name Date Size #Lines LOC

..--

.github/workflows/22-Mar-2025-7165

fsck/22-Mar-2025-18,30114,487

include/22-Mar-2025-2,0131,526

lib/22-Mar-2025-7,9196,860

m4/22-Mar-2025-31

man/22-Mar-2025-929892

mkfs/22-Mar-2025-2,5892,073

scripts/22-Mar-2025-343278

tools/22-Mar-2025-3,8003,144

.gitignoreD22-Mar-2025489 5752

AUTHORSD22-Mar-202581 21

BUILD.gnD22-Mar-2025620 2319

COPYINGD22-Mar-202544.3 KiB865717

ChangeLogD22-Mar-2025157 54

LicenseD22-Mar-202544.3 KiB865717

MODULE_LICENSE_GPLD22-Mar-20250

Makefile.amD22-Mar-202575 62

OAT.xmlD22-Mar-20255.7 KiB8537

README.OpenSourceD22-Mar-2025509 1211

README.mdD22-Mar-20251,007 5034

VERSIOND22-Mar-202518 32

VERSIONINGD22-Mar-20259.1 KiB224169

autogen.shD22-Mar-202585 85

bundle.jsonD22-Mar-20251.2 KiB4848

config.hD22-Mar-20256.2 KiB22259

configure.acD22-Mar-20257 KiB312271

README.OpenSource

1[
2    {
3        "Name"                  : "f2fs-tools",
4        "License"               : "GPL-2.0",
5        "License File"          : "COPYING",
6        "Version Number"        : "v1.16.0",
7        "Owner"                 : "Jaegeuk Kim <jaegeuk@kernel.org>",
8        "Upstream URL"          : "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/tag/?h=v1.16.0",
9        "Description"           : "The f2fs-tools package contains the utilities for handling the f2fs file system."
10    }
11]
12

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