F2fs
From ArchWiki
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
In order to create a F2FS partition, you need to install package f2fs-tools from the official repositories.
Create the partition:
# mkfs.f2fs /dev/sdxY
where /dev/sdxY is the volume that you wish to format in F2FS.
Mounting a F2FS partition
You may need to load the F2FS kernel module before mounting. Issue as root:
# modprobe f2fs
Then you can mount the partition:
# mount -t f2fs /dev/sdxY /mnt
Install Arch Linux on F2FS partition
With the latest installation media (2013.04.01) it is possible to install system on F2FS partition:
- Install f2fs-tools from official repositories while running arch from installation media.
- Load
f2fskernel module as described. - Create root partition as F2FS as described.
- Create
/bootpartition as ext4 (or any other supported filesystem). - Mount, install and chroot system as per official installation guide.
- On installed system add
f2fsto modules section in/etc/mkinitcpio.confand removefsckfrom hooks section since F2FS does not have fsck implementation yet. - Don't forget to regenerate the initramfs image after that:
# mkinitcpio -p linux