F2FS: Difference between revisions

From Alpine Linux
No edit summary
Line 25: Line 25:
<br>
<br>


= Adding the f2fs module to initramfs =
= f2fs module =


{{Expand}}
{{Expand|This section isnt tested (yet), USE AT YOUR OWN RISK}}


'''f2fs''' may need to be manually added to '''/etc/mkinitfs/mkinitfs.conf'''
'''f2fs''' may need to be manually added to '''/etc/mkinitfs/mkinitfs.conf'''
or?
{{Cmd|echo btrfs >> /etc/modules}}




[[Category:Storage]]
[[Category:Storage]]

Revision as of 15:58, 4 January 2022

From Wikipedia:

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.

Install

Out of the box AlpineLinux doesnt support making F2FS partitions, that cant 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

This material needs expanding ...

This section isnt tested (yet), USE AT YOUR OWN RISK

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

or?

echo btrfs >> /etc/modules