Skip to content

chaseyu/f2fs-tools

This branch is 7 commits ahead of, 2 commits behind jaegeuk/f2fs-tools:dev-test.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

91e7365 · Apr 12, 2024
Apr 22, 2022
Apr 10, 2024
Apr 8, 2024
Mar 6, 2024
Nov 26, 2012
Apr 12, 2024
Apr 8, 2024
Apr 19, 2016
Apr 12, 2024
Feb 7, 2023
Nov 26, 2012
Jun 12, 2014
Jul 4, 2013
Jan 14, 2014
Apr 22, 2022
Apr 11, 2023
Nov 21, 2018
Dec 11, 2015
Feb 8, 2024

Repository files navigation

F2FS format utility
---------------------

To use the f2fs filesystem, you should format the storage partition
with this utility. Otherwise, you cannot mount f2fs.

Before compilation
------------------

You should install the following packages.
 - libuuid-devel or uuid-dev
 - autoconf
 - libtool
 - libselinux1-dev

Initial compilation
-------------------

Before initial compilation, autoconf/automake tools should be run.

 # ./autogen.sh

How to compile
--------------

 # ./configure
 # make
 # make install

How to cross-compile (e.g., for ARM)
------------------------------------

 1. Add the below line into mkfs/Makefile.am:
 mkfs_f2fs_LDFLAGS = -all-static

 2. Add the below line into fsck/Makefile.am:
 fsck_f2fs_LDFLAGS = -all-static

 3. then, do:
 # LDFLAGS=--static ./configure \
	--host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi
 # make

How to run by default
---------------------

 $ mkfs.f2fs -l [LABEL] $DEV

For more mkfs options, see the man page.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 98.2%
  • Other 1.8%