PDA

View Full Version : trying to mount Windows share with mount -t cifs


worldttle
2007-03-04, 09:29 PM CST
Under FC6 terminal, issue command

mount -t cifs //192.168.0.104/MYCOMPUTER/C /local/mount -o username=me

Get password prompt, enter password, and then receive message:

'mount error 5 = Input/output error'

Any suggest source of error message?

Thanks.

fc6xfce
2007-03-11, 10:22 AM CDT
Under FC6 terminal, issue command
mount -t cifs //192.168.0.104/MYCOMPUTER/C /local/mount -o username=me
.

Your windows share looks a bit longwinded and the syntax is wrong. If you've shared a folder called, say, "My Documents"on the Windows host and used a share name of, say, "MyDocs", then mount it at, say, directory /home/me/WinDocs/ thus:

sudo mount -t cifs //192.168.0.104/MyDocs /home/me/WinDocs -o username=<mywinusername> , password=<mywinpassword>