mount: //10.52.0.102/Jim/dpc is not a valid block device
When I try to mount this XP share:
sudo mount -t cifs //$n.102/Jim/dpc mnt/mp2 -o username=user,password=pass I get this error: mount: //10.52.0.102/Jim/dpc is not a valid block device When I mount its parent: sudo mount -t cifs //$n.102/Jim mnt/mp2 -o username=user,password=pass The mount is successful and I can view the 'dpc' folder I tried to mount before. I shared the directory in XP even though its parent is shared, but that didn't help. The username and password are correct for the XP machine because I am able to mount the parent. I am using Ubuntu 10. Any ideas? |
Hi, I would assume that you need to modify the XP share to point to the
Jim/dpc, not only dpc. (or add a 2nd share for the Jim/dpc). I believe you can only directly mount what is shared, but not any contents of that share. Cheers, Tom. |
Thanks Tom.
I created a new share and it is now working fine. |
I know the thread is old, but it showed high on google, so for future reference:
Installing cifs-utils allows you to mount directories inside a share (tested on debian wheezy). |
All times are GMT -5. The time now is 06:15 AM. |