13

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.

2 Answers 2

11

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:

sudo mount -t smbfs -o -f=0777,-d=0777 '//KitchenLord;fegur@fs/CakeRecipes' /mnt/fs/CakeRecipes

...but in my quick test it doesn't seem to be obeying the -f and -d options. Anyway, check the man page for mount_smbfs for more info.

1
8

To mount

mount_smbfs //[email protected]/share_name share_name/

To unmount

umount share_name

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .