This is the mail archive of the
mailing list for the Cygwin project.
RE: nfs server
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Daniel_Casey at jbhunt dot com
- Cc: cygwin at cygwin dot com
- Date: Tue, 13 May 2003 19:49:18 -0400 (EDT)
- Subject: RE: nfs server
- Reply-to: cygwin at cygwin dot com
On Tue, 13 May 2003 Daniel_Casey@jbhunt.com 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.
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,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: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html