error mounting CIFS: missing UNC name for mount support
I have problem with mounting the window share directory using CIFS system. I am doing an embedded linux project, compile everything from scratch. now i supposed to mount a window directory from another computer in the net for putting logging files.
i am using the kernel 2.4.32 patched with the CIFS fs support. I also installed the mount.cifs from samba 3.0.23d package. it works when i do:
but i have problem using normal mount command
mount.cifs //192.168.1.5/Documents /mnt/winshare
the reason i want to use the normal mount command is that, i want to mount the windows directory during the embedded system startup. if i use the mount.cifs, i have to put the root password everytime i want to do mount.
mount -t cifs //192.168.1.5/Documents /mnt/winshare
CIFS: Missing UNC name for mount target
mount: Mounting //192.168.1.5/Documents on /mnt/winshare failed: Invalid argument
how can i solve the problem?