delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/13/18:25:41

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
Subject: RE: nfs server
To: cygwin AT cygwin DOT com
Message-ID: <OF2AC9D0B7.78C6782A-ON86256D25.007AB3BC-86256D25.007B0550@jbhunt.com>
From: Daniel_Casey AT jbhunt DOT com
Date: Tue, 13 May 2003 17:23:42 -0500
MIME-Version: 1.0

This is how the nfs-server-config script does it:

# Install portmap service
echo "Installing portmap as '$PMAP_D'"
cygrunsrv.exe -I "portmap" -d "$PMAP_D" -f "$PMAP_F" -p /usr/sbin/portmap
-e CYGWIN=ntsec -a "-F"

# Install mountd service
echo "Installing mountd as '$MNTD_D'"
cygrunsrv.exe -I "mountd" -d "$MNTD_D" -f "$MNTD_F" -p /usr/sbin/rpc.mountd
-e CYGWIN=ntsec --dep po
rtmap -a "-F"

# Install nfsd service
echo "Installing nfsd as '$NFSD_D'"
cygrunsrv.exe -I "nfsd" -d "$NFSD_D" -f "$NFSD_F" -p /usr/sbin/rpc.nfsd -e
CYGWIN=ntsec --dep portma
p -a "-F"

So, I should have those options already in there?

Something else I noticed is that the paths to the executable's in this
script are

/usr/sbin/rpc.nfsd, /usr/sbin/rpc.mountd and /usr/sbin/portmap

But they are actually:

/usr/sbin/rpc.nfsd.exe, /usr/sbin/rpc.mountd.exe and /usr/sbin/portmap.exe

Does this matter?  I would think so, but just wanted to double check.



--
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