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.

 

 

HOMEAJAXAPACHEBizphoneCSSDNSGeneralGraphicsHTMLHardwareJavascriptLinuxMACMS SQLMailMicrosoftOFFICE 365PerlPostgresSEOSocial MediaVMwareWindows 10