change persistent filesystem type from ext4 to f2fs #6

Closed
opened 2023-01-24 05:57:26 +01:00 by PeterSurda · 2 comments
Owner

The default image uses a squashfs with an attached ext4 fs. I want to use squashfs + f2fs instead. May need adding the f2fs kmod into package list.

The default image uses a squashfs with an attached ext4 fs. I want to use squashfs + f2fs instead. May need adding the f2fs kmod into package list.
lee.miller was assigned by PeterSurda 2023-01-24 07:25:00 +01:00
Collaborator

Here the hidden f2fs is mentioned. In this post overlay FS is also appears to be f2fs. According to the doc, if I got it right, it should be JFFS2.

I expected something like Image/mkfs/f2fs and other related steps in the include/image.mk.

[Here](https://openwrt.org/docs/guide-user/installation/installation_methods/sd_card?dataofs=50#squashfs-sdcardimggz) the hidden f2fs is mentioned. In [this](https://forum.openwrt.org/t/understanding-image-size-microsd-f2fs-rootfs-size/76491) post overlay FS is also appears to be f2fs. According to the doc, if I got it right, it should be JFFS2. I expected something like `Image/mkfs/f2fs` and other related steps in the [include/image.mk](https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=include/image.mk;h=b801ef993c310c1acafb4b635211e585dddeb588;hb=HEAD#l257).
Author
Owner

Yes it looks like if I use the squashfs images, then it uses f2fs automatically. Based on the documentation to sysupgrade it should work for upgrades too, I just haven't tested it thoroughly yet.

Yes it looks like if I use the squashfs images, then it uses f2fs automatically. Based on the documentation to `sysupgrade` it should work for upgrades too, I just haven't tested it thoroughly yet.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Sysdeploy/openwrt#6
No description provided.