FS: File system directory size #107865
Unanswered
moonlight83340
asked this question in
Q&A
Replies: 1 comment
|
Line 623 in b70c045 zephyr/subsys/fs/littlefs_fs.c Line 498 in b70c045 if (lfs_tag_type3(tag) == LFS_TYPE_CTZSTRUCT) {
info->size = ctz.size;
} else if (lfs_tag_type3(tag) == LFS_TYPE_INLINESTRUCT) {
info->size = lfs_tag_size(tag);
}Would you test on your littlefs to see what you get? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I have a question on directories size using file system.
https://docs.zephyrproject.org/latest/doxygen/html/structfs__dirent.html
For
fs_direntit said in the documentation that the Size of file is 0 if directory but does it something set in zephyr or does it depend on file system ?I didn't found that it was set on zephyr part but looking at littlefs spec I found that directory size wasn't know so it wouldn't be 0 for sure.
https://github.com/littlefs-project/littlefs/blob/master/SPEC.md
Does anyone know something about that ?
All reactions