PDA

View Full Version : Help With mount_afp


Michael Lizak
07-05-2005, 04:29 PM
I cannot got this dang thing to work! I had the separate cammands working as of last week, but now it does not. Why am I getting the error...

mount_afp: The mountpoint: afptemp does not exist, stat returns 2

I can see the mountpoint on Krista. What's the deal? The commands I used are below. Any help would be greatly appreciated. Thanks!

ssh krista@krista.local 'mkdir /afptemp ; exit'

mount_afp afp://krista:imagebase@krista.local/Krista /afptemp

toppledwagon
07-06-2005, 01:17 AM
from what you've said:

ssh krista@krista.local 'mkdir /afptemp ; exit'
mount_afp afp://krista:imagebase@krista.local/Krista /afptemp

well, I'd expect the mount_afp command to be:
mount_afp afp://krista:imagebase@krista.local/afptemp /afptemp

Your last argument to mount_afp should be the mount point on the local system; therefore, I'd expect to see:
mkdir /afptemp
mount_afp afp://user: pass@host/dir /afptemp

as your example.

You might need to create the directory locally (on the client.)

-Dave

Michael Lizak
07-06-2005, 08:32 PM
Dave,

Like the forum title states, I'm just getting started with UNIX. As you thought, I was creating the mountpoint on the wrong computer. Thanks for taking the time to post. It saved me much time & frustration. -Michael