delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/30/13:33:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <aturetta AT commit DOT it>
To: "Nerijus Baliunas" <nerijus AT users DOT sourceforge DOT net>,
"Brian Ford" <ford AT vss DOT fsi DOT com>
Cc: <cygwin AT cygwin DOT com>
References: <3D848382FB72E249812901444C6BDB1D022F4647 AT exchange DOT timesys DOT com> <3FBA5314 DOT 6050502 AT users DOT sourceforge DOT net> <Pine DOT GSO DOT 4 DOT 56 DOT 0311181146370 DOT 922 AT eos> <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
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" <nerijus DOT at DOT users DOT dot DOT sourceforge DOT dot DOT net AT pvi DOT it>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019