Mount an FSKit volume

Hello,

I'm playing around with the FSKit API and I'm looking for programmatic ways to mount a file system backed by an FSKit extension. Currently, I could only find the new -F option in the mount command but I would prefer if I could avoid executing comman line tools. I checked the DiskArbitration framework but couldn't find anything specific for FSKit there.

Thanks

Answered by DTS Engineer in 854830022

I checked the DiskArbitration framework but couldn't find anything specific for FSKit there.

There have been a few different bugs that have prevented DiskArb from mounting FSKit volumes (see here and here). However, once everything is working properly, DiskArb should fully support FSKit volumes. In the long term, this is the API I would recommend.

Until then (and possibly for testing purposes as well), I would recommend using the "mount" command-line tool*.

*DiskArb largely goes through the command-line tools, so this isn't as problematic as it might seem.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Accepted Answer

I checked the DiskArbitration framework but couldn't find anything specific for FSKit there.

There have been a few different bugs that have prevented DiskArb from mounting FSKit volumes (see here and here). However, once everything is working properly, DiskArb should fully support FSKit volumes. In the long term, this is the API I would recommend.

Until then (and possibly for testing purposes as well), I would recommend using the "mount" command-line tool*.

*DiskArb largely goes through the command-line tools, so this isn't as problematic as it might seem.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Mount an FSKit volume
 
 
Q