-
Notifications
You must be signed in to change notification settings - Fork 167
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
[Bug]: Cannot open realm files on vfat / exFAT filesystems on linux #2751
Comments
Hi @peppy, thanks for reporting this. So far I did not manage to reproduce it. |
Hi, I also can reproduce this on my machine, Ubuntu 18.04.
I'm reproducing with three separate realm files:
So this being specific to the realm looks unlikely. I don't normally have a FAT partition, I'm reproducing by copying and pasting the realm file(s) onto a random nearby USB stick with vfat on it. I'm not a huge filesystem person but I have a strong suspicion that this will be related to the Curiously this isn't an issue on NTFS partitions, although that I suspect will be because to the best of my knowledge NTFS on Linux is done via FUSE, so the userspace emulation layer may be what permits named files to be created there. If my suspicions above are correct then I'm not sure there's much left to be done here, if the |
I believe I've managed to produce the "smoking gun" (so to speak) that seems to confirm my suspicions via
If I
Which looks pretty conclusive to me. |
Yes, it is not possible to create a pipe on VFAT filesystem. You can assign the name of a directory in which it would be possible to create the pipe to |
Unfortunately this is not something we expose through our configuration, but probably should. |
I'd say it would be pretty nice if the For one instance, our project supports storage migration to another location, and we've already had to manually exclude the If we could set that path to something like somewhere in |
I definitely understand your concerns, we can work to expose that through the configuration of the realm. |
What happened?
realm-dotnet and realm studio will not open realm files when placed on an ExFAT or similar filesystem.
Reported here.
Note that I have tested the same scenario on macOS and it works as expected.
Repro steps
Realm.GetInstance
or Realm StudioVersion
.net 5.0
What SDK flavour are you using?
Local Database only
What type of application is this?
Other
Client OS and version
Linux (tested multiple variants)
Code snippets
No response
Stacktrace of the exception/crash you're getting
Relevant log output
No response
The text was updated successfully, but these errors were encountered: