Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 14 Jun 2001 13:58:03 +0200
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: /etc/services
Message-ID: <20010614135803.U1144@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <F98l6byoxxSQWBLYu7A00001384@hotmail.com> <20010417204828.B4075511@MELON> <20010418101327.L15962@cygbert.vinschen.de> <7379-Thu14Jun2001122311+0100-starksb@ebi.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <7379-Thu14Jun2001122311+0100-starksb@ebi.ac.uk>; from starksb@ebi.ac.uk on Thu, Jun 14, 2001 at 12:23:11PM +0100

On Thu, Jun 14, 2001 at 12:23:11PM +0100, David Starks-Browning wrote:
> (Apologies for this "blast from the past", and if my message is
> redundant given subsequent threads that I haven't seen yet.  I'm still
> catching up.)
> 
> On Wednesday 18 Apr 01, Corinna Vinschen writes:
> > > On Tue, Apr 17, 2001 at 05:15:14PM -0800, Curious Mind wrote:
> > > > 
> > > > 
> > > >   Does anyone know what creates the /etc/services file. I think this may be 
> > > > a source of some troubles im having with inetd because its calling on that 
> > > > file and it doesnt exist.
> >
> > ... If you want a link in /etc (I'm doing that at home for
> > easier access) start the following script:
> > 
> > #!/bin/sh
> > cd /etc
> > rm -f services
> > _sys="`uname -a`"
> > _nt=`expr "$_sys" : "CYGWIN_NT"`
> > if [ $_nt -gt 0 ]
> > then
> >   _wservices="${SYSTEMROOT}\\system32\\drivers\\etc\\services"
> > else
> >   _wservices="${WINDIR}\\SERVICES"
> > fi
> > _services=`cygpath -u "${_wservices}"`
> > ln -s ${_services}
> 
> I believe this should be covered in the FAQ.  Not Corinna's script per
> se, but a description of the situation, where to find it for various
> versions of Windows, and advice not to copy it to /etc/services.

The important message is, it's pretty useless to create or copy
it. There's no application which rely's on the fact that services
(or host, protocols,...) is in /etc. As I stated in my above mail,
I created a symlink just for convenience.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

