I've been handed a mac and I'm having issues. I had an ubuntu setup where I would type:
sudo mount -t cifs //fs/CakeRecipes /mnt/fs/CakeRecipes -o username=fegur,domain=KitchenLord,iocharset=utf8,file_mode=0777,dir_mode=0777
to get access to the CakeRecipes folder. Sadly this does not work on OSX. If I type in this command directly, I get
mount: exec /Library/Filesystems/cifs.fs/Contents/Resources/mount_cifs for /mnt/fs/KitchenLord: No such file or directory
I have created /mnt/fs/KitchenLord on my local machine, so I'm not sure what this error is talking about.
Any hints would be appreciated. Googling is not helping much.
Best Answer
On OS X, the filesystem plugin for CIFS/SMB is named smbfs, and its options are a bit different. I think it should be something like this:
...but in my quick test it doesn't seem to be obeying the -
f
and-d
options. Anyway, check the man page formount_smbfs
for more info.