-
Notifications
You must be signed in to change notification settings - Fork 89
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
Cannot save from TextEdit or Preview on OSX #93
Comments
Hey, @daniel-centore! |
any update in here @daniel-centore |
@onrcandan no, I never figured this out. If anyone does figure it out, I would probably revive an old side project of mine... |
This is due to the extended attribute support for Mac OS X. You either have to implement the full xattr FUSE functions or disable the xattr support with: |
I had tried to do this but for some reason still couldn't get it to work. Having a simple, working example of how to do this in |
@daniel-centore this is outside the simple example and the project's idea. It really goes down to what are the actual OS kernel requirements to properly implement a user-space file system. Another option you can give a try is The following options together worked fine for our propitiatory FS:
But this means your implementation of the APIs need to be correct as well. |
这个很简单就可以解决,只需要改一下statfs方法,让macos系统认为磁盘有空间即可正常保存 |
Whenever I try to edit files on the MemoryFS using TextEdit or Preview, I get this error when I try to save:
"The document “Sample file.txt” could not be saved."
And this one when I try to close the file:
"The document “Sample file.txt” is on a volume that does not support permanent version storage."
The console log suggests that it's trying to access files with weird suffixes like ".sb-c840fa8f-BaE37t".
Any idea how to resolve this so the MemoryFS can behave like a normal APFS volume?
The text was updated successfully, but these errors were encountered: