RPi-Distro / pi-gen

Tool used to create the official Raspberry Pi OS images
BSD 3-Clause "New" or "Revised" License
2.62k stars 1.64k forks source link

Feature request: Support F2FS filesystem for root partition #471

Open jimis opened 3 years ago

jimis commented 3 years ago

I guess this is more appropriate project to report this feature request. Copying verbatim from https://github.com/raspberrypi/noobs/issues/596 :

F2FS has been designed on the basis of log-structured filesystems, with the goal of performing optimally on managed flash media like SD cards, minimizing writes and extending their lifetime. It has seen some usage on Android phones, and it's constantly being improved with features that Raspberry Pi would very much like to have, like online compression.

Currently Raspberry Pi OS root partition can be converted to F2FS using a time-consuming process:

This is a dangerous and write-intensive process. In order to avoid it, it would be nice if installation could be done directly on a F2FS root partition.

XECDesign commented 3 years ago

Just waiting for some evidence that F2FS fixes more issues than it causes. At the very least, right now runs fsck on every single boot and I'm not sure that it can recover if it finds an issue, since it's running on a mounted partition. I suspect it will need initramfs to work properly.

https://www.raspberrypi.org/forums/viewtopic.php?t=273490

rekcodocker commented 3 years ago

If you want evidence, it would be nice to create an image which runs on F2FS. Call it 'experimental' and collect evidence. Right now there are 3 options if someone wants to use F2FS:

It'd be nice to add a smoother more accessable option. No need to throw out EXT4; just to gather evidence.

XECDesign commented 3 years ago

There'a already a link to an experimental image.

rekcodocker commented 3 years ago

Indeed there is! Apologies for my thankless attitude, however, that particular image is over a year and a half old now.

trosenkranz commented 2 years ago

Hello everybody,

Is there any update on this issue?

Thanks Tobias

TipsyTheCat commented 5 months ago

It's been 4 years, F2FS has had many improvements and i think it's time this gets more attention