Can FSClient.mountSingleVolume be used for block devices?

Can the new FSClient.mountSingleVolume along with the com.apple.developer.fskit.mount entitlement be used to mount a block device resource from a sandboxed GUI app?

I ask since FSBlockDeviceResource doesn’t seem to have a public initializer other than init(coder:) and using Disk Arbitration (e.g. DADiskMount or DADiskMountWithArguments) has been finicky with the App Sandbox (FB16728800). I'm interested in making an easy workaround e.g. for users who have an internal partition supported by my file system extension that isn't automounting (FB21729650).

Please send Feedback and include the number here. We will need to consider all of the security consequences.

@Systems Engineer made FB23036790, thanks!

Thank you

Can FSClient.mountSingleVolume be used for block devices?
 
 
Q