Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 请问在RT-Smart中,有没有对于LittleFs这种故障安全的文件系统支持: #10098

Open
WangShuoran opened this issue Mar 10, 2025 · 4 comments

Comments

@WangShuoran
Copy link

WangShuoran commented Mar 10, 2025

Describe problem solved by the proposed feature

https://www.rt-thread.org/document/api/group___d_f_s.html
在这里我看到只有FAT32的支持,而且我综合K230平台你们的RT-Smart验证,也是只有FAT32这个文件系统:
Image

Describe your preferred solution

希望能对LittleFs支持,谢谢!
PS:希望更新下当前RT-Smart的文档,与RT-Thread标准版的关系,谢谢!

@BernardXiong
Copy link
Member

littefs应该不行吧,这个文件系统支持不到mmap,page cache。需要支持这些,都需要对接到dfs v2.0

@WangShuoran
Copy link
Author

WangShuoran commented Mar 19, 2025

@BernardXiong
那有没有像ext2/3/4的这种支持呢?因为用咱们的系统的fat32话,再用sqlite这种文件系统,它的写放大很厉害。

Image

我有看到lwext4的项目,但是有信息得到在rt thread平台上移植,可能会失败。
请问一下,如果能移植ext 4的话,需要注意哪些事情呢?能给一些参考或者直接支持这种文件系统吗?

@BernardXiong
Copy link
Member

可以使用lwext4,有针对dfs v2.0的版本的。

@WangShuoran
Copy link
Author

能不能指路具体支持dfs v2.0的位置?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants