-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Mount point directory is not hidden when a filesystem is mounted on it #9954
Comments
Though the extra listing is confusing, it does not seem to affect actual functionality. |
This problem should be solved, because of the recent PR from @tannewt (#10122). Now we have a saves-partition which is internally mounted on
But every change within Basically it just does not work to mount the same storage from two computers without causing problems. That is why we have network and cluster filesystems, that take care of keeping the truth. The clean solution would probably be to expose the second partition as a read-only partition to the host and let the host do the mounting. A workaround would be to change all the filesystem-related APIs, i.e. not only read the FAT, but also filter all entries that are hidden by mounted filesystems. This won't change the user-view, but the view from within CP will at least be correct. |
I didn't check but I suspect the duplicate directory listing in
since we've decided mount points should exist as directories in CIRCUITPY, we might just want to remove that block as a CIRCUITPY-CHANGE. |
@bablokb This PR is about how the filesystem shows up in CircuitPython using functions like |
I'll look into this. I'm looking at SD card automounting again. |
Noted as a result of https://forums.adafruit.com/viewtopic.php?t=215933
The text was updated successfully, but these errors were encountered: