Mounting directory problems

2005-09-21 Thread Christophe Sauthier
Hi, I've create an network drive on srv1 that map \\srv2\test to k: using Windows2003 GUI. But now I want to access that from cygwin, and I can't. I've tryed to mount it using mount, but it is not working. Here is what I've done : $ mount x: /srv2_test mount: warning - /srv2_test does not

Re: Mounting directory problems

2005-09-21 Thread Larry Hall
At 12:08 PM 9/21/2005, you wrote: Hi, I've create an network drive on srv1 that map \\srv2\test to k: using Windows2003 GUI. But now I want to access that from cygwin, and I can't. I've tryed to mount it using mount, but it is not working. Here is what I've done : $ mount x: /srv2_test mount:

Re: Mounting directory problems

2005-09-21 Thread Yitzchak Scott-Thoennes
On Wed, Sep 21, 2005 at 12:29:04PM -0400, Larry Hall wrote: At 12:08 PM 9/21/2005, you wrote: (no I didn't, you must be thinking of someone else :) $ mount x: /srv2_test mount: warning - /srv2_test does not exist. $ mount x: on /srv2_test type system (binmode) $ ls

Re: Mounting directory problems

2005-09-21 Thread Christopher Faylor
On Wed, Sep 21, 2005 at 11:58:30AM -0700, Yitzchak Scott-Thoennes (aka, 'you') wrote: On Wed, Sep 21, 2005 at 12:29:04PM -0400, Larry Hall wrote: You really should create '/srv2_test' first. Why? What difference does it make? If nothing else, when you do a ls / you'll see a srv2_test

Re: Mounting directory problems

2005-09-21 Thread Eric Blake
mount //srv2/test /srv2_test You really should create '/srv2_test' first. Why? What difference does it make? A directory must exist prior to the mount point if you want readdir() to see it (used by ls, find, ...). Yes, you can use mount -f to circumvent the requirement that the

Re: Mounting directory problems

2005-09-21 Thread Christophe Sauthier
On 9/21/05, Larry Hall [EMAIL PROTECTED] wrote: At 12:08 PM 9/21/2005, you wrote: Hi, You mounted the wrong drive. Replace 'x:' with 'k:' and it will work. Of course that was a mispelling... it didn't seems to work here... Or just mount the share directly: mount //srv2/test /srv2_test