You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| fsck | 3 years ago | |
| include | 3 years ago | |
| lib | 3 years ago | |
| m4 | 3 years ago | |
| man | 3 years ago | |
| mkfs | 3 years ago | |
| scripts | 3 years ago | |
| tools | 3 years ago | |
| .gitignore | 3 years ago | |
| AUTHORS | 3 years ago | |
| Android.bp | 3 years ago | |
| COPYING | 3 years ago | |
| ChangeLog | 3 years ago | |
| CleanSpec.mk | 3 years ago | |
| METADATA | 3 years ago | |
| MODULE_LICENSE_LGPL | 3 years ago | |
| Makefile.am | 3 years ago | |
| NOTICE | 3 years ago | |
| OWNERS | 3 years ago | |
| README | 3 years ago | |
| VERSION | 3 years ago | |
| VERSIONING | 3 years ago | |
| autogen.sh | 3 years ago | |
| configure.ac | 3 years ago | |
README
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 - pkg-config - 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.