Skip to content

Some directories do not delete #16

@jfseaman

Description

@jfseaman

Going to restate a little bite from previsus now to be closed issue #15.

I significantly altered the provided example to do stress testing. I made it run a loop from .begin to .end to find any leaks and determine robustness. Once an application level error was addressed. No leaks.

To the problem at hand...

I added code to delete all created files and directories. I found that some directories resist .rmdir. I tried several methods of exclusion to isolate the issue but have not found it.

Specifically, all files delete properly. some directories do not seem to respond to rmdir. These do not remove:
/this
/this/folder
/this/folder/does
/this/folder/does/really

My suspicion is a combination from PSRamFS_test.ino lines:
492: writeFile(PSRamFS, "/this/folder/does/not/exist/yet/goodbye.txt", "you say hello, I say goodbye"); // should succeed and create all subfolders
and
505: PSRamFS.rename("/this/folder/does/not", "/this/folder/does/really" );

I am writing a from scratch "sketch" to see if I can isolate the source in a smaller sketch or determine that it is application level with example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions