Mounting a local Volume via AFP

Steve Steinitz steinitz at bigpond.net.au
Sun Jul 29 01:35:38 PDT 2007


Hello,

The combination of Agustin Diez Castillo's mention of SharePoints
(a nice little application) and Stéphane Serra's mention of smb led
me to a prototype solution.

I used SharePoints to share a directory over smb (remembering to
enable Windows Sharing in the Sharing Preference Pane).  Once I got
all the permissions right I was able to read from and save to a Core
Data database via smb -- thus fooling the operating system.  And, I
seemed to be getting the same speed as direct local hard disk access. 

I then connected via smb from a second machine and lo and behold they
can both read and write the database simultaneously (for better or
worse...)

Note that my Core Data app is connecting to the database file via an
aliase in the hopes of automounting the smb share.  That worked with
afp but isn't yet working with smb.  Also, smb seems a little more
troublesome than afp -- for example, it sometimes won't mount on the
first try...  Those minor issues aside I'm relieved to have any sort
of solution.

I wouldn't want to rely on this solution under heavy use from more
than one computer but its a great breakthrough and will be useful to
us in the short-term in our special situation.

Thank you to all of you who chipped in with your specialized
networking knowledge.  I had expected a solution along with a stern
word or two from Mr Shoop but its nice that we can occasionally get by
on our own :)

Steve




Original question:

> The Finder's Connect to Server command dis-allows connection to a
> local disk.  Do any of you know how to circumvent that?


More information about the MacOSX-admin mailing list