MacOS user-level custom FAT16 USB volume

There's a slightly tweaked FAT16 implementation used on some Akai samplers. I've created an emulator of one of those samplers. It supports r/w USB volumes with a custom FAT16 implementation. All of this works, but currently goes via the deprecated AuthorizationExecuteWithPrivileges for achieving raw USB volume access. Yesterday I looked into migrating to SMJobBless, but it also turns out to be deprecated. It's an incredible amount of work, and this SMJobBless example gave the same error as the "Hello job bless" I tried adding directly to my project, which is "Error Domain=CFErrorDomainLaunchd Code=4". Then I looked into using FUSE, but from what I understand, opening a raw USB volume still requires the user-level process to be elevated. Is this correct? I also considered writing a USB driver, but I'm currently not sure if my problem can be solved this way. Any guidance would be appreciated, thanks!
SMJobBless
Shows how to install a privileged helper tool and associate it with an application.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server