Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <01ea01c41685$024f4f30$07a51e97@lan> From: "Angelo Turetta" To: "Nerijus Baliunas" , "Brian Ford" Cc: References: <3D848382FB72E249812901444C6BDB1D022F4647 AT exchange DOT timesys DOT com> <3FBA5314 DOT 6050502 AT users DOT sourceforge DOT net> <3FBA5C8C DOT 2000202 AT users DOT sourceforge DOT net> Subject: Re: nfs-server 2.2.47-2 Date: Tue, 30 Mar 2004 20:29:56 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Authenticated-Sender: aturetta AT rainbownet DOT com X-Spam-Processed: rainbownet.com, Tue, 30 Mar 2004 20:32:35 +0200 (not processed: message from valid local sender) X-MDRemoteIP: 151.30.174.203 X-Return-Path: aturetta AT commit DOT it X-MDaemon-Deliver-To: cygwin AT cygwin DOT com ----- Original Message ----- From: "Nerijus Baliunas" Sent: Tuesday, November 18, 2003 7:53 PM > Brian Ford wrote: > > >>After selecting sunrpc manually and installing it, nfs-server-config > >>installed all 3 services succesfully, but I cannot mount from > >>neither Sun nor HP box, both give me for the first time: > >> > >># mount -F nfs 172.31.1.38:/tmp /c > >>nfs mount: mount: /c: No such file or directory > > > > Well, did /c exist before you tried to mount on it. AFAIK, most OSs > > require that. > > Of course. > > Nerijus Don't know if someone else have seen this problem. I did, and found this message from a Google search, but no answer. After some tests, I came to a base rule: file systems mounted without a 'real' directory behind, cannot be nfs-exported. So, to correctly export /c containing the root of the C: windows drive, you need to actually create the directory hidden behind the mountpoint. Easier to do than to say: Execute a 'mount' command without any parameter, you should get an output like this: C:\cygwin on / type system (binmode) c: on /c type system (binmode,noumount) d: on /d type system (binmode,noumount) This means that your cygwin root is actually c:\cygwin. To be able to nfs-export any directory from the windows drives, you just need to create 'c' and 'd' directories under C:\cygwin from DOS Command Prompt: md c:\cygwin\c md c:\cygwin\d from cygwin shell mkdir /c/cygwin/c mkdir /c/cygwin/d Hope this helps someone. Ciao, Angelo Turetta -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/