www.fromthevalley.com.au

Samba Mounting

YOU MUST do a MKDIR on the /mnt/<TARGET MOUNT>

 

 

mount -t cifs -o username=<USERNAME>,password=<PASSWORD> //<IP ADDRESS OR DOMAIN NAME>/<FILESHARE> /mn/<TARGET MOUNT>

 

Note that you can only mount a share. ie if you want to access a subdirectory of the share you should reference it off /mnt/ms_sql_server/..... rather than try to mount it.

 

To check the mount

 

cat /etc/mtab

 

 

to unmount

 

umount /mnt/ms_sql_server

 

check /etc/mtab to see it's gone.

 

 

HOME |  AJAX |  APACHE |  Bizphone |  CSS |  DNS |  General |  Graphics |  HTML |  Hardware |  Javascript |  Linux |  MAC |  MS SQL |  Mail |  Microsoft |  OFFICE 365 |  Perl |  Postgres |  SEO |  Social Media |  VMware |  Windows 10