Jump to content


Jonathan524

Member Since 12 Apr 2013
Offline Last Active 02 Jul 2013 13:31
-----

#346338 Change CIFS Mount Point from root to media/

Posted by Jonathan524 on 26 April 2013 - 15:20

Edit your /etc/fstab file (vi or nano) and add the following line:

 

 

For Cifs Share without password protection

//server/share   /media/usb   cifs   guest,_netdev   0 0
 

 

For Password protected shares:

//192.168.1.100/share   /media/usb   cifs   username=USNERNAME,password=PASSWORD,_netdev   0 0
 

You can use hostnames or IPs. I recommend using IPs because you avoid DNS problems.

 

You must create the folder /media/usb in advance. After you edited your fstab file use "mount -a" or restart your box.