pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git  about / heads / tags
Userland tools for the f2fs filesystem
$ git log --pretty=format:'%h %s (%cs)%d'
c1a9786 dump.f2fs: Fix xattr dumping (2024-05-23)
	(HEAD -> master, dev-test, dev)
d5a053e dump.f2fs: Add ability to dump folders (2024-05-23)
5cfe197 mkfs.f2fs: align each device to zone size (2024-05-09)
acaa173 mkfs.f2fs: add description for ro feature in manual (2024-04-16)
91e7365 f2fs_io: support unset subcommand for pinfile (2024-04-12)
cc40084 f2fs-tools: print extension list properly (2024-04-10)
5da4e52 f2fs-tools: give 6 sections for overprovision buffer (2024-04-08)
f611eac f2fs-tools: reset only current zones (2024-03-11)
151fdb1 f2fs_io: support get_advise command (2024-03-08)
dc03566 mkfs.f2fs: should give section-aligned reserved segments (2024-03-08)
...

$ git cat-file blob HEAD: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
 - 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.

# heads (aka `branches'):
$ git for-each-ref --sort=-creatordate refs/heads \
	--format='%(HEAD) %(refname:short) %(subject) (%(creatordate:short))'
  dev          dump.f2fs: Fix xattr dumping (2024-05-23)
  dev-test     dump.f2fs: Fix xattr dumping (2024-05-23)
* master       dump.f2fs: Fix xattr dumping (2024-05-23)
  experimental f2fs-tools: support quotas (2017-04-21)

# tags:
$ git for-each-ref --sort=-creatordate refs/tags \
	--format='%(refname:short) %(subject) (%(creatordate:short))'
v1.16.0      Release 1.16.0 (2023-04-11) tar.gz
v1.15.0      f2fs-tools: upgrade version 1.15.0 (2022-05-13) tar.gz
v1.14.0      f2fs-tools: release 1.14.0 (2020-08-24) tar.gz
android-mainline-10.0.0_r10 Android mainline 10.0.0 release 10 (2020-03-13) tar.gz
android-10.0.0_r32 Android 10.0.0 Release 32 (QQ2A.200305.004.A1) (2020-03-06) tar.gz
android-10.0.0_r31 Android 10.0.0 release 31 (2020-03-02) tar.gz
android-10.0.0_r30 Android 10.0.0 release 30 (2020-03-02) tar.gz
android-vts-9.0_r12 Android VTS 9.0 Release 12 (6203387) (2020-02-20) tar.gz
android-cts-9.0_r11 Android CTS 9.0 Release 11 (6219509) (2020-02-20) tar.gz
android-cts-8.0_r22 Android CTS 8.0 Release 22 (6199430) (2020-02-20) tar.gz
...

# associated public inboxes:
# (number on the left is used for dev purposes)
       1474 linux-f2fs-devel
        148 lkml
         40 linux-fsdevel
          7 u-boot
          7 buildroot
          6 qemu-devel
          6 linux-arm-kernel
          6 git
          5 linux-devicetree
          5 linux-iommu
          5 netdev
          5 linux-ext4
          5 amd-gfx
          4 linux-wireless
          4 linux-mediatek
          4 linux-media
          4 alsa-devel
          4 linux-rdma
          4 linux-doc
          4 linux-omap
          4 linux-can
          3 linux-xfs
          3 bpf
          3 linux-crypto
          3 linux-mm
          3 xen-devel
          3 stable
          3 driverdev-devel
          3 linux-usb
          3 linux-kselftest
          3 dpdk-dev
          3 kvm
          3 linux-trace-devel
          3 dri-devel
          3 intel-gfx
          3 linux-i2c
          3 linux-sparse
          3 virtualization
          3 linux-kbuild
          3 linux-rockchip
          3 linux-sh
          3 yocto
          3 qemu-riscv
          3 reiserfs-devel
          2 linux-samsung-soc
          2 linux-mtd
          2 linux-riscv
          2 linux-nvme
          2 linux-nfs
          2 linux-efi
          2 linux-acpi
          2 netfilter-devel
          2 linux-cifs
          2 linux-arm-msm
          2 linux-amlogic
          2 linux-erofs
          2 linux-mips
          2 fstests
          2 linux-pm
          2 linux-rtc
          2 linux-input
          2 linux-scsi
          2 linux-btrfs
          2 kvmarm
          2 selinux
          2 kernel-hardening
          2 linux-clk
          2 linux-iio
          2 linux-gpio
          2 linux-security-module
          2 linux-pci
          2 linuxppc-dev
          2 linux-modules
          2 linux-rt-users
          2 linux-bluetooth
          2 linux-ide
          2 linux-serial
          2 linux-watchdog
          2 util-linux
          2 backports
          2 linux-man
          2 linux-mmc
          2 linux-api
          2 cip-dev
          2 linux-spi
          2 linux-tegra
          2 lttng-dev
          2 linux-arch
          2 containers
          2 linux-raid
          2 openbmc
          2 linux-fbdev
          2 linux-cxl
          2 linux-perf-users
          2 nouveau
          2 linux-s390
          2 sparclinux
          2 linux-coco
          2 iwd
          2 ltp
          2 yocto-meta-freescale
          2 openembedded-core
          2 yocto-toaster
          2 yocto-meta-arm
          2 openembedded-devel
          2 bitbake-devel
          2 yocto-meta-virtualization
          2 yocto-meta-ti
          2 yocto-meta-arago
          2 outreachy
          2 xenomai
          2 openrisc
          2 intel-wired-lan
          2 kexec
          2 intel-xe
          2 linux-um
          2 virtio-comment
          2 poky
          2 cluster-devel
          2 grub-devel
          2 kvm-ppc
          2 linux-hexagon
          2 lvm-devel
          2 virtio-fs
          2 ../../../../../../../fuego
          2 ../../../../../../../igt-dev
          1 linux-fscrypt
          1 cocci
          1 linux-block
          1 live-patching
          1 linux-integrity
          1 linux-edac
          1 linux-nvdimm
          1 linux-snps-arc
          1 linux-hwmon
          1 linux-renesas-soc
          1 dmaengine
          1 linux-next
          1 linux-parisc
          1 linux-leds
          1 kernelnewbies
          1 linux-sgx
          1 linux-hyperv
          1 workflows
          1 rcu
          1 selinux-refpolicy
          1 linux-m68k
          1 linux-i3c
          1 linux-spdx
          1 linux-wpan
          1 ksummit-discuss
          1 wireguard
          1 io-uring
          1 linux-kernel-mentees
          1 linux-csky
          1 tpmdd-devel
          1 linux-unionfs
          1 linux-firmware
          1 linux-audit
          1 linux-remoteproc
          1 linux-dash
          1 linux-bcache
          1 mm-commits
          1 linux-pwm
          1 linux-fpga
          1 ceph-devel
          1 xdp-newbies
          1 platform-driver-x86
          1 phone-devel
          1 linux-hardening
          1 dash
          1 dm-devel
          1 keyrings
          1 linux-sctp
          1 target-devel
          1 lustre-devel
          1 soc
          1 ocfs2-devel
          1 rust-for-linux
          1 ath10k
          1 ath11k
          1 linux-phy
          1 kernel-janitors
          1 linux-staging
          1 linux-sunxi
          1 mptcp
          1 regressions
          1 ksummit
          1 b43-dev
          1 nvdimm
          1 linux-nfc
          1 linux-bcachefs
          1 ath9k-devel
          1 ntfs3
          1 llvm
          1 fio
          1 ell
          1 ofono
          1 yocto-docs
          1 linux-patches
          1 chrome-platform
          1 ntb
          1 damon
          1 asahi
          1 loongarch
          1 imx
          1 ath12k
          1 b4-sent
          1 linux-trace-kernel
          1 oe-linux-nfc
          1 oe-kbuild-all
          1 oe-chipsec
          1 batman
          1 virtio-dev
          1 v9fs
          1 ecryptfs
          1 linux-ia64
          1 kbd
          1 autofs
          1 cpufreq
          1 dccp
          1 cgroups
          1 devicetree-spec
          1 devicetree-compiler
          1 initramfs
          1 hail-devel
          1 kvm-ia64
          1 linux-8086
          1 kernel-testers
          1 linux-alpha
          1 linux-btrace
          1 linux-embedded
          1 linux-hams
          1 linux-hotplug
          1 linux-laptop
          1 linux-sound
          1 trinity
          1 linux-metag
          1 linux-x25
          1 linux-nilfs
          1 lvs-devel
          1 netfilter
          1 linux-oxnas
          1 u-boot-amlogic
          1 lm-sensors
          1 acpica-devel
          1 perfbook
          1 smatch
          1 ../../../../../../../accel-config
          1 ../../../../../../../wireless-regdb
          1 ../../../../../../../powertop

git clone https://yhbt.net/lore/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git