Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 13 May 2003 19:49:18 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Daniel_Casey AT jbhunt DOT com cc: cygwin AT cygwin DOT com Subject: RE: nfs server In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 13 May 2003 Daniel_Casey AT jbhunt DOT 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. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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 Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/