Skip to content

FAT Filesystem : dir_rewind / dir_seek not working #5440

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

Closed
deepikabhavnani opened this issue Nov 6, 2017 · 1 comment · Fixed by #5503
Closed

FAT Filesystem : dir_rewind / dir_seek not working #5440

deepikabhavnani opened this issue Nov 6, 2017 · 1 comment · Fixed by #5503

Comments

@deepikabhavnani
Copy link

Rewind and Seek functionality is not working as expected. I am using below code to verify the rewind functionality for FAT filesystem

https://gist.github.com/deepikabhavnani/d6ffc1d8078a01569bbb46c502616676

In https://github.com/ARMmbed/mbed-os/blob/master/features/filesystem/fat/FATFileSystem.cpp#L677
only the index is updated, instead it should update the structures as well with help of dir_sdi(dp, 0) function.

ChanFS does not provide seek/rewind functionality for directory

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 7, 2017

cc @geky

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

Successfully merging a pull request may close this issue.

2 participants