This is the mail archive of the cygwin@cygwin.com 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


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/


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