re:Core Data File Sharing via an AFP Alias
re:Core Data File Sharing via an AFP Alias
- Subject: re:Core Data File Sharing via an AFP Alias
- From: Ben Trumbull <email@hidden>
- Date: Mon, 18 Jun 2007 13:35:54 -0700
> Both computers must access the file through AFP, on 10.4.9 or later.
> Have the first computer access the local file through an AFP mount
> instead of directly.
Great idea. But I can't seem to mount my local volume, located at
Hrm. I can't access an AFP mount locally either. You should file a
report with bugreport.apple.com
Unfortunately, there's no way around the restriction that all
multi-process access to an SQLite database must go through the same
file system. You can learn more about SQLite's locking at
http://www.sqlite.org
At the moment, I suspect your two best options are:
(1) Find some old hardware, or buy a low end Mac Mini, have both
machines connect to the server over AFP
(2) Write a simple back end daemon process. Have all connections go
through it, and have the daemon be the only process interacting
directly with the database. Depending on how well factored your use
of Core Data is, that will either be easy or infeasible (i.e. #1
would be much cheaper). You could file a feature request with
bugreport.apple.com about that too.
--
-Ben
_______________________________________________
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