Maybe I am still misunderstanding some things here. Ideally, this should work on current macOS versions, including 10.15, but I'd also be happy with a solution that only works on older macOS versions, starting at 10.6. I need to use the file system, and I also want to do this in a userspace app if possible because making a kext is both hard to debug and is getting deprecated now, too. But I need to read the data from a separate file, i.e. I've had a look at Amit Singh's Mac OS Internals, but that only goes about filerting existing blocks that get routed through the added driver. I believe I need to do this with IOKit, but the docs are quite sparse in that area, and provide no sample code for this as far as I can tell. I am looking for pointers on how to write a read-only block level userspace driver. I have a special disk image format (compressed and with extra information such as bad blocks) and would like to make that available as a block device (e.g.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |