username=...username..
password=..password..
Edit /etc/fstab, and append the line:
//netbiosname/sharename /media/sharename cifs credentials=/root/smbcredentials,iocharset=utf8,file_mode=0775,dir_mode=0775 0 0Mount the new drive with: mount -a
Popular Entries | ||
Saturday, 12 June 2010Mounting CIFS Directories in Linux
As Root, create /root/smbcredentials, with the lines:
username= Edit /etc/fstab, and append the line: //netbiosname/sharename /media/sharename cifs credentials=/root/smbcredentials,iocharset=utf8,file_mode=0775,dir_mode=0775 0 0Mount the new drive with: mount -a | ||
Blog Archive
| ||