Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TeeJayEm

macrumors regular
Original poster
Mar 28, 2008
104
0
Is there a way to create a virtual drive in leopard and handle the system events (i.e. copy, paste, delete, write, etc)? If so, could you please point me in the right direction?

Thanks,


EDIT:

I did a bit more searching and read that linking against the IOKit.framework should provide me with what i'm looking for.

Here's a few links for future viewers:

http://developer.apple.com/DOCUMENT...itFundamentals/Introduction/Introduction.html
http://developer.apple.com/DOCUMENT...MassStorage/01_Introduction/Introduction.html
 
I would use MacFUSE instead of IO Kit. With IO Kit you are going to be writing a kernel level device driver which is much more difficult than a user mode filesystem.

Here is an example of how easy it is to implement a user mode file system using macfuse:

http://code.google.com/p/macfuse/wiki/HELLOWORLDFS

And of course their main page is:

http://code.google.com/p/macfuse

Thanks alot. I looked at some objective-c examples there and they look very promising. I could always start out with this and if i need to make something more proprietary i could.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.