From owner-freebsd-hackers Wed Feb 14 09:59:07 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA03535 for hackers-outgoing; Wed, 14 Feb 1996 09:59:07 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA03529 for ; Wed, 14 Feb 1996 09:59:03 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id KAA25488; Wed, 14 Feb 1996 10:52:44 -0700 From: Terry Lambert Message-Id: <199602141752.KAA25488@phaeton.artisoft.com> Subject: Re: More 2.1 Fixit disk PROBLEM (fwd) To: aledm@pavilion.co.uk (Aled Morris) Date: Wed, 14 Feb 1996 10:52:44 -0700 (MST) Cc: steve@news.netdtw.com, hackers@FreeBSD.org In-Reply-To: <199602140945.JAA16156@deputy.pavilion.co.uk> from "Aled Morris" at Feb 14, 96 09:09:52 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org Precedence: bulk > At 21:06 11/02/96 -0500, Steve Corso wrote: > >Ok...Well, I was on the right track. You do need the /etc/services and > >/etc/protocols files, but AH!!, you need to put links up to them since > >the fixit gets moved to /mnt2. > > I would prefer it if the versions of Ping, Telnet etc. on the fixit floppy > were more robust in the absence of these "informational" files. > > i.e. if the getservbyname fails, use a hardwired service port. > > Is there a good reason why the *standard* versions of Ping, Telnet etc. > don't do this? Good defaults makes robust software. Shouldn't these "hacks" go into "getservbyname" instead of each and every program seperately? In case of failure, you could relookup in a small internal table. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.