We have moved to a new Sailfish OS Forum. Please start new discussions there.
32

Support F2FS for microSD card

asked 2014-01-16 02:26:23 +0200

R. gravatar image

updated 2014-01-16 02:37:26 +0200

The fairly new FS designed for flash card. But it will probably mean upgrading the kernel to 3.8 or later...

edit retag flag offensive close delete

Comments

1

That would be a useful feature.

Richard

richardski ( 2014-01-16 02:31:42 +0200 )edit

Really good idea.

Igorion ( 2014-03-04 15:09:42 +0200 )edit

Extremely good idea. It's clearly a very suitable file system for exactly this purpose.

GuSec ( 2014-03-04 18:11:01 +0200 )edit
3

In general it would be nice if we got a newer kernel in one of the next updates, the newer kernels have some major battery and memory management updates that may benefit us too and of course f2fs

Keeper-of-the-Keys ( 2014-03-21 09:39:39 +0200 )edit
1

This would solve a lot of the present file type issues with SD cards and really does need to be implemented.

Richard

richardski ( 2014-04-12 11:42:30 +0200 )edit

3 Answers

Sort by » oldest newest most voted
10

answered 2015-07-04 10:00:14 +0200

V10lator gravatar image

updated 2015-07-04 12:49:36 +0200

There you go:

https://openrepos.net/content/v10lator/f2fs

https://openrepos.net/content/v10lator/f2fs-utils

:)

//EDIT: A bit of information to Jolla Oy: I used your kernel sources, then applied the patches from https://github.com/nowcomputing/f2fs-backports/tree/master/f2fs-base - then the patches from https://github.com/nowcomputing/f2fs-backports/tree/master/f2fs-for-3.5 and finally I cherry-picked these patches:

https://github.com/nowcomputing/f2fs-backports/blob/master/f2fs-for-3.2/0001-f2fs-backport-QSTR_INIT-in-namei.patch

https://github.com/nowcomputing/f2fs-backports/blob/master/f2fs-for-3.2/0006-f2fs-remove-calls-to-i_-u-g-id_-read-write-helpers.patch

//EDIT²: Removed some unneeded patches from the list.

edit flag offensive delete publish link more
3

answered 2015-01-29 00:46:40 +0200

axaq gravatar image

The mentioned wikipedia page has a new link to the very good 40 min talk about flash and Linux filesystems from the linux.conf.au Jan/2015 in Auckland.

And I can also recommend reading this older LWN article.

The Jolla supported btrfs filesystem seems to be not bad for SD cards. But F2FS seems to be more optimised, like supporting the special handling of the FAT table area inside SD card controller firmware as mentioned in the talk.

edit flag offensive delete publish link more
2

answered 2016-07-20 21:11:06 +0200

MoritzJT gravatar image

updated 2016-07-20 23:34:01 +0200

Is there f2fs support for Jolla C yet? I installed it from warehouse along with the bleeding edge sd-utils. The card won't mount. Am I doing sth. wrong?

uname -r shows:

3.10.49+0.0.52.2

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
9 followers

Stats

Asked: 2014-01-16 02:26:23 +0200

Seen: 2,303 times

Last updated: Jul 20 '16