You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Change-Id: If3e3c4e01b19443714d880ae669aaa8b39edfff7 |
4 years ago | |
|---|---|---|
| .. | ||
| fsck | 4 years ago | |
| include | 4 years ago | |
| lib | 4 years ago | |
| man | 4 years ago | |
| mkfs | 4 years ago | |
| scripts | 4 years ago | |
| tools | 4 years ago | |
| AUTHORS | 4 years ago | |
| Android.bp | 4 years ago | |
| COPYING | 4 years ago | |
| ChangeLog | 4 years ago | |
| CleanSpec.mk | 4 years ago | |
| METADATA | 4 years ago | |
| MODULE_LICENSE_LGPL | 4 years ago | |
| Makefile.am | 4 years ago | |
| NOTICE | 4 years ago | |
| OWNERS | 4 years ago | |
| README | 4 years ago | |
| VERSION | 4 years ago | |
| VERSIONING | 4 years ago | |
| autogen.sh | 4 years ago | |
| configure.ac | 4 years ago | |
README
F2FS format utilility --------------------- To use f2fs filesystem, you should format the storage partition with this utilility. Otherwise, you cannot mount f2fs. Before compilation ------------------ You should install the following packages. - libuuid-devel or uuid-dev - pkg-config - autoconf - libtool - libselinux1-dev Initial compilation ------------------- Before compilation initially, 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 man page.