• Home
Name Date Size #Lines LOC

..--

fsck/12-May-2024-16,65913,119

include/12-May-2024-1,7141,307

lib/12-May-2024-7,8676,823

m4/12-May-2024-31

man/12-May-2024-749717

mkfs/12-May-2024-2,4341,943

scripts/12-May-2024-343278

tools/12-May-2024-19,71715,737

.gitignoreD12-May-2024543 5954

AUTHORSD12-May-202481 21

BUILD.gnD12-May-2024620 2319

COPYINGD12-May-202444.3 KiB865717

ChangeLogD12-May-2024157 54

Makefile.amD12-May-202475 62

OAT.xmlD12-May-20245.7 KiB8537

README.OpenSourceD12-May-20241,023 2120

README.mdD12-May-20241,019 5135

VERSIOND12-May-202418 32

VERSIONINGD12-May-20249.1 KiB224169

autogen.shD12-May-202485 85

bundle.jsonD12-May-2024814 3434

config.hD12-May-20246.1 KiB21857

configure.acD12-May-20245.6 KiB231199

README.OpenSource

1[
2    {
3        "Name"                  : "f2fs-tools",
4        "License"               : "GNU GPL-2.0",
5        "License File"          : "COPYING",
6        "Version Number"        : "1.14.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.14.0",
9        "Description"           : "The f2fs-tools package contains the utilities for handling the f2fs file system."
10    },
11    {
12        "Name"                  : "f2fs-tools",
13        "License"               : "GNU LGPL-2.1+",
14        "License File"          : "COPYING",
15        "Version Number"        : "1.14.0",
16        "Owner"                 : "Jaegeuk Kim <jaegeuk@kernel.org>",
17        "Upstream URL"          : "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/tag/?h=v1.14.0",
18        "Description"           : "The f2fs-tools package contains the utilities for handling the f2fs file system."
19    }
20]
21

README.md

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