This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: nfs server

On Tue, 13 May 2003 wrote:

> Mount shows:
> d:\cygwin\bin on /usr/bin type user (binmode)
> So this is a "just me" installation, correct?

Yes.  That's not the only mount, though, is it? ;-)

> All three CYGWIN services have the "Path to executable" as d:\cygwin\bin\cygrunsrv.exe.  This is incorrect?

No, this is fine.

> You're saying I need to add something to cygrunsrv.exe so that it will send
> the -F option to nfsd?  Do I add this
> to the CYGWIN portmap service or the CYGWIN nfsd service...or both?
> Something like this for the nfsd service:
> cygrunsrv -S nfsd -a -F

No.  You'll need to add this when you install the service, i.e., when you
give cygrunsrv the -I option initially.

> And just leave the CYGWIN portmap and mountd services as d:\cygwin\bin\cygrunsrv.exe?
> Still don't understand why portmap will start from the Cygwin shell, but
> won't start through Services.

Because the service tries to start /usr/sbin/portmap, and, since it runs
as SYSTEM, it doesn't know where /usr/sbin/ *is* (because there are no
mounts for that user).

Your choices are

1) change your mounts to global mounts, by running something like

   eval "`mount -m | sed -e 's/ -u / -s /g' -e 's/$/;/'`"

or 2) add mounts for the SYSTEM user.

Choice #1 is usually preferable.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]