I want to setup some automatic backup scripts so I was trying to make sure the drive gets mounted before running rsync. When I try something like “mount -t afp //user:pass@NAS/share /mnt/somewhere” I get:
mount_afp: AFPMountURL returned error 22, errno is 0
But when I try: “mount -t smbfs //user:pass@NAS/share /mnt/somewhere” it works fine!
I have AFP enabled and I can mount from finder using “afp://…”.
So any idea why the command line mount doesn’t work?
Perf tests indicate AFP is faster than SMB so I’d really prefer to always mount as AFP.
Cheers!