Hi there --
I am trying to mount a Windows share using the /etc/fstab file. The Windows share can be mounted manually using the following command syntax:
Code:
mount -t cifs //<windows server>/Photon-CMS -o username=<username>,password=<password> /FOCUS/tmp/network/import
The command syntax that I used in the /etc/fstab file to automate the process shown above is the following:
/
Code:
/<windows server>/Photon-CMS$ /FOCUS/tmp/network/import cifs user=<username>,password=<password> 0 0
However, when I ran the mount -a command, I got the following error:
Quote:
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
|
What is the correct syntax for the fstab file? Thanks.