by lxgr · 3y ago · 0 comments
This sounds interesting!
I really wish there was a native FUSE alternative on macOS; just recently I found myself in a pickle due to not being able to mount an ext4 boot volume on an SD card on my Mac at all. (Passing through to a VM works only via USB.)
Instead we get widgets on the desktop like it’s 2005 again.
Isn’t that what DriverKit can be used for?
https://support.apple.com/en-gb/guide/security/secd0a47c14c:
“DriverKit is the framework that allows developers to create device drivers that the user installs on their Mac. Drivers built with DriverKit run in user space, rather than as kernel extensions, for improved system security and stability. This makes for easier installation and increases the stability and security of macOS“
There needs to be some OS-side FUSE-like kernel interface for userspace drivers like this to be able to actually mount them in the VFS.
They're more geared towards Dropbox-like synchronizing use cases. Some developers have made it work for SSHFS too, but even that's already a bit of a stretch; for more custom solutions it definitely falls short: https://developer.apple.com/forums/thread/681325
The only option currently seems to be to implement a network file server such as SMB (which is what Google Drive used to do before File Providers existed!) or NFS, for which there even is a FUSE bridge available: https://github.com/macos-fuse-t/fuse-t
I can't even begin to imagine. If I'm deleting 200 files on my M1 MBA, that's still going to take 30-45 seconds.
It's doing something. What is it doing? Does it have something to do with Time Machine or file versioning or secure erase or what?
Everything else is blazingly fast as it should be.
Ultimately, it's what makes software updates as hard as they are there: Just being able to do an "apt-get update" with applications open without anything exploding was a true revelation the first time I used a Unix.
I'm not really willing to install a third-party kernel extension just for a custom file system I need once every few months anymore, especially given that Apple's native exFAT drivers now apparently run in the userspace.
They should just make that capability available to the actual-userspace!
You mean turning off system integrity protection? No. I have both ext4 and NTFS from Paragon, and didn't have to do that.
https://developer.apple.com/documentation/apple-silicon/inst...