F2FS (Flash-Friendly File System) is a file system intended for NAND-based flash memory. It is supported from kernel 3.8 onwards.
Creating a F2FS partition
Create the partition:
# mkfs.f2fs -l mylabel /dev/sdxY
/dev/sdxY is the target volume to format in F2FS.
Mounting a F2FS partition
The partition can then be mounted manually or via other mechanisms:
# mount /dev/sdxY /mnt/foo
Install Arch Linux on F2FS partition
With the latest installation media it is possible to install Arch linux with root located on a F2FS filesystem:
- Create the root partition as F2FS as described in section #Creating a F2FS partition.
- If your bootloader does not support F2FS, create a separate
/bootpartition using a filesystem that it does.
- Continue with the installation procedure as per Installation guide#Mount the partitions until chrooted.
- Install on the newly installed system as well.
- Regenerate the initramfs while chrooted.
Be sure to also check out the Installing Arch Linux on a USB key page if you're installing Arch on a USB flash drive. (In particular the part about editing
/etc/mkinitcpio.conf is important, otherwise your system won't boot.)