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 show line number in vi / vim editor
How to split compressed file into smaller files in Linux / Mac
Mac: How to create recent applications shortcut in Dock?
How to connect Creative Zen V Plus in Mac OS X
Debian: "There is no public key available for the following key IDs"
How to split large file into several smaller files - Linux
How to install LAMP (Apache, PHP and MySQL in Linux) using Yum
How to move cursor to end of file in vi editor
Share this with your friends:-