mount.cifs Example please?

Tom Horsley tom.horsley at att.net
Thu Mar 27 23:09:00 UTC 2008


On Thu, 27 Mar 2008 16:01:28 -0700
Sean Bruno <sean.bruno at dsl-only.net> wrote:

> The google search you suggest is exactly what I did to find my answer.
> I don't really think that is my point, but I do understand that I did
> find my answer so, "What am I complaining about?"

Always remember: Without google, linux itself would be impossible :-)

Back on cifs mounts, I discovered that the man page claims // or \\
works equally well for share names, but in fact I couldn't get it
to work at all with //. The script I use at work to mount windows
shares on my linux box has this line:

mount -t cifs -o credentials=/dev/fd/4 -o domain=iccur -o ro -o uid=$unix_me -o gid=$unix_me \\\\intranet\\public /intranet/public

Lots of escaped backslashes to wind up with the right number for whoever
cares down inside the cifs mount code.




More information about the users mailing list