You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System verison: Kubuntu 22.04
Midnight commander version: 4.8.27
littlefs version: v2.5
littlefs disk version: v2.0
FUSE library version: 2.9.9
fusermount3 version: 3.10.5
using FUSE kernel interface version 7.19
Description:
I mount filesystem ($l is loop device]: lfs --block_size=4096 --block_count=32 --block_cycles=500 --read_size=1 --prog_size=256 --cache_size=256 --lookahead_size=16 $l mount
If I use ls -l, I can see files/directories in mounted directory. If I use midnight commander, mount directory seems to be empty.
I debugged your code and found out that lfs_fuse_readdir is called twice when content of directory in midnight commander is loaded. Second call to this function does not find any file/directory.
I worked around this by calling:
lfs_dir_rewind(&lfs, dir);
before while loop.
The text was updated successfully, but these errors were encountered:
System verison: Kubuntu 22.04
Midnight commander version: 4.8.27
littlefs version: v2.5
littlefs disk version: v2.0
FUSE library version: 2.9.9
fusermount3 version: 3.10.5
using FUSE kernel interface version 7.19
Description:
I mount filesystem ($l is loop device]:
lfs --block_size=4096 --block_count=32 --block_cycles=500 --read_size=1 --prog_size=256 --cache_size=256 --lookahead_size=16 $l mount
If I use ls -l, I can see files/directories in mounted directory. If I use midnight commander, mount directory seems to be empty.
I debugged your code and found out that
lfs_fuse_readdir
is called twice when content of directory in midnight commander is loaded. Second call to this function does not find any file/directory.I worked around this by calling:
lfs_dir_rewind(&lfs, dir);
before while loop.
The text was updated successfully, but these errors were encountered: