F2FS : New file system from Samsung for Android

Posted by

F2FS is a new Linux file system from Samsung that is faster than existing ones when running on flash storage devices,according to Linux enthusiasts this new file system will be great for Android-based systems.

The file stystem is targeted at NAND flash memory based devices,hopefully this will mark the return of external SD cards on phones, a real, free, and open alternative to FAT is needed and this looks like it will fit the bill.

NAND flash memory-based storage devices, such as SSD, eMMC, and SD cards, have been widely being used for ranging from mobile to server systems. Since they are known to have different characteristics from the conventional rotational disks,a file system, an upper layer to the storage device, should adapt to the changes from the sketch.

What is F2FS?

F2FS is a new file system carefully designed for the NAND flash memory-based storage devices. Samsung selected a log structure file system approach, but they tried to adapt it to the new form of storage. Also the company fixed some known issues of the very old log structured file system, such as snowball effect of wandering tree and high cleaning overhead.

Because a NAND-based storage device shows different characteristics according to its internal geometry or flash memory management scheme aka FTL,Samsung added various parameters not only for configuring on-disk layout, but also for selecting allocation and cleaning algorithms.

The file system formatting tool, "mkfs.f2fs", is available from the following download page: http://sourceforge.net/projects/f2fs-tools/

What this File System mean for Android?

The new file system can be used as alternate to FAT ( no more paying MS any royalties) and ext4.Also F2FS brings some definite speed advantages.Already a xda developer started porting new F2FS file system on to android, this is just the recovery and ram disk needs to be patched.