Can't get mount_afp to work
sh-3.2# ./mount.sh
/Volumes/bbb hd not mounted
/bin/mkdir "/Volumes/bbb hd"
total 16
drwxrwxrwt@ 6 root admin 204 3 Oct 12:44 .
drwxrwxr-t 37 root admin 1326 29 Sep 22:02 ..
drwx------ 13 mmm staff 918 3 Oct 07:25 aaa
drwxr-xr-x 2 root admin 68 3 Oct 12:44 bbb hd
lrwxr-xr-x 1 root admin 1 3 Oct 07:24 drago hd -> /
lrwxr-xr-x 1 mmm admin 15 3 Oct 07:24 iDisk -> /Volumes/aaa
/sbin/mount_afp "afp://root:xxx@xxx.xxx.xxx.xxx/bbb hd" "/Volumes/bbb hd"
mount_afp: AFPMountURL returned error 1, errno is 2
Refreshing Disk Arbitration ...
As you can see the mount point is there but no matter what I try I get this error 1.
Looking on the INternet I found a few postings, mainly to do with Apple TV, and I can confirm that everything is in place:
sh-3.2# ls -al /System/Library/Filesystems
total 24
drwxr-xr-x 19 root wheel 646 12 Sep 12:09 .
drwxr-xr-x 63 root wheel 2142 28 Sep 14:46 ..
-rw-r--r--@ 1 mmm staff 6148 6 Mar 2008 .DS_Store
drwxr-xr-x 7 root wheel 238 23 Jul 05:56 AppleShare
drwxr-xr-x 7 root wheel 238 23 Jul 05:39 URLMount
lrwxr-xr-x 1 root wheel 49 23 Jul 05:36 afpfs.fs -> /System/Library/Filesystems/AppleShare/afpfs.kext
drwxr-xr-x 6 root wheel 204 24 Sep 07:12 cd9660.fs
drwxr-xr-x 3 root wheel 102 10 Jun 03:41 cddafs.fs
drwxr-xr-x 5 root wheel 170 5 Mar 2008 ftp.fs
drwxr-xr-x 5 root wheel 170 23 Jul 05:36 hfs.fs
drwxr-xr-x 4 root wheel 136 10 Jun 03:43 msdos.fs
drwxr-xr-x 3 root wheel 102 29 Nov 2007 nfs.fs
drwxr-xr-x 4 root wheel 136 10 Jun 14:29 ntfs.fs
drwxr-xr-x@ 8 root wheel 272 12 Sep 12:09 retrospectcd.fs
drwxr-xr-x 3 root wheel 102 10 Jun 14:37 smbfs.fs
drwxr-xr-x 4 root wheel 136 10 Jun 04:42 udf.fs
drwxr-xr-x 4 root wheel 136 7 Mar 2008 ufs.fs
drwxr-xr-x 4 root wheel 136 10 Jun 14:35 webdav.fs
drwxr-xr-x 4 root wheel 136 10 Jun 16:17 zfs.fs
sh-3.2# ls -al /System/Library/Filesystems/AppleShare
total 160
drwxr-xr-x 7 root wheel 238 23 Jul 05:56 .
drwxr-xr-x 19 root wheel 646 12 Sep 12:09 ..
-rwsr-xr-x 1 root wheel 38704 5 Mar 2008 afpLoad
drwxr-xr-x 3 root wheel 102 10 Jun 03:43 afpfs.kext
drwxr-xr-x 3 root wheel 102 10 Jun 04:49 asp_tcp.kext
drwxr-xr-x 3 root wheel 102 23 Jul 05:56 check_afp.app
-rwxr-xr-x 1 root wheel 38144 5 Mar 2008 sshHelper
sh-3.2# ls -al /sbin/mount_afp
-r-xr-xr-x 1 root wheel 46928 5 Mar 2008 /sbin/mount_afp
I just don't know what's wrong.
Any suggestions welcome.
Cheers
Michael
iMac 2.8 GHz Core 2 Duo, 4GB RAM, ATI Radeon HD 2600 Pro, Mac OS X (10.5.5)