I've done development in python before, but I am by no means a 'L33T' developer. I normlly just make things that I need for work or as a hobby.
Essentially, I would like to create something (maybe a system daemon) that would start at boot and ensure that no device (other than the boot volume) is mounted at startup. Any device that is required should be mounted manually. Is this possible and any advice?
Any help would be awesome!
This is a surprisingly complex question. There’s two directions you can explore:
fstab lets you prevent specific volumes being mounted; this is not an API but something that’s expected to be set up by an administrator
the DiskArbitration lets you insert your own code into the volume mounting process
I should caution you that DiskArb is not for the faint of heart.
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"