Just learned how to mount samba for my backup. Before any backup operation, i need to mount my samba network drive from my Mac book. Here’s the command line version of how to mount samba in Mac OS.
To mount samba in Mac OS X, you can use the command below:-
Advertisements
$ mount -t smbfs //user@your.samba.server/sharedirectory /Volumes/local_mount_dir
* You can replace /Volumes/local_mount_dir to your choice. (ex: /Volumes/sambashare)
Once you mount the samba network drive, you can start accessing your samba drive files thru /Volumes/local_mount_dir.
In case you want to unmount the samba network drive, you can use the command below:-
$ umount /Volumes/local_mount_dir
Happy mounting.
Related posts:
How to change system date in Linux
How to disable spotlight index for specific folder in Mac OS X?
How to force quit program in Mac OS X
How to disable notification center in Mac OS X
How to loop thru directory files in bash shell
Word cannot start the spelling checker - Word 2011
How to send email using different profile in Apple Mail
How to restart dock when dock hang in Mac OS X
Share this with your friends:-