Re: Creating iDisk kind of application.
Re: Creating iDisk kind of application.
- Subject: Re: Creating iDisk kind of application.
- From: Andrew Farmer <email@hidden>
- Date: Tue, 24 Apr 2007 23:36:13 -0700
On 24 Apr 07, at 23:12, php2cocoa wrote:
I am trying to create an Mac OS X application which basically mounts a
volume on to users machines. I get a list of files and folders from
our
server and this needs to be displayed in the mounted drive. The
problem is I
cant use the usual SMB or AFP to mount my server directly. The server
exposes its files n folders thru a set of our own custom APIs.
I have checked a sample application to create an empty volume and
mount it
at
http://developer.apple.com/samplecode/EmptyFS/EmptyFS.html
But this sample uses .dmg file and I think it will be difficult to
add and
remove files/folders into .dmg files so that we sync our mounted
volume to
the contents in our server.
Can anyone please tell me which is the best way to implement a
application
something like iDisk ?
EmptyFS looks like the right example. I don't quite follow the
explanation in the README, but it is creating a file system
programmatically - as far as I understand, the .dmg is just used to
set up a few things, not to actually store content.
I'll warn right now that VFS development may not be for you. It's
kernel programming - hence, it's extremely unforgiving. Programming
errors will usually result in kernel panics or system hangs, which
will be difficult to debug.
If this method isn't working out for you, a simpler solution may be
MacFUSE[1]. It *will* run slower, but it also means you get to
develop outside the kernel. I've actually written a FUSE plugin in
Python - it's really quite easy to work with.
[1]: http://code.google.com/p/macfuse/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden