F2FS: Difference between revisions

From Alpine Linux
m (Category:File Systems, some formatting)
m (fixed category name)
 
(2 intermediate revisions by 2 users not shown)
Line 35: Line 35:
== See also ==
== See also ==


* [https://en.wikipedia.org/wiki/F2FS Wikipedia Entry on F2F2]
* [https://en.wikipedia.org/wiki/F2FS Wikipedia Entry on F2FS]


[[Category:Storage]]
[[Category:Storage]]
[[Category:File Systems]]
[[Category:Filesystems]]

Latest revision as of 03:58, 13 September 2024

F2FS (Flash-Friendly File System) is a flash file system initially developed by Samsung Electronics for the Linux kernel.

The motive for F2FS was to build a file system that, from the start, takes into account the characteristics of NAND flash memory-based storage devices (such as solid-state disks, eMMC, and SD cards), which are widely used in computer systems ranging from mobile devices to servers.


Installation

Out of the box Alpine Linux doesnt support making F2FS partitions, that can be added with:

# apk add f2fs-tools


Formatting a partiton using F2FS

You can format a partition using F2FS with the following command:

Note: /dev/sda1 is used as a example

# mkfs.f2fs /dev/sda1


f2fs module

Warning: This section isn't tested (yet): USE AT YOUR OWN RISK


f2fs may need to be manually added to /etc/mkinitfs/mkinitfs.conf

or?

echo f2fs >> /etc/modules


See also