From owner-cvs-sbin Sat Apr 13 13:40:25 1996 Return-Path: owner-cvs-sbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA26582 for cvs-sbin-outgoing; Sat, 13 Apr 1996 13:40:25 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA26378 Sat, 13 Apr 1996 13:39:04 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id WAA04611; Sat, 13 Apr 1996 22:38:48 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id WAA20976; Sat, 13 Apr 1996 22:38:48 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id WAA00440; Sat, 13 Apr 1996 22:29:28 +0200 (MET DST) From: J Wunsch Message-Id: <199604132029.WAA00440@uriah.heep.sax.de> Subject: Re: cvs commit: src/sbin/nfsd nfsd.c To: bde@zeta.org.au (Bruce Evans) Date: Sat, 13 Apr 1996 22:29:27 +0200 (MET DST) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org In-Reply-To: <199604132013.GAA17624@godzilla.zeta.org.au> from "Bruce Evans" at Apr 14, 96 06:13:53 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Bruce Evans wrote: > > >Wouldn't this be more explanatory: > > >- if(argc) udpflag = 1; > >+ if (!tcpflag && !udpflag) > >+ udpflag = 1; /* Default to UDP instead of do nothing. */ > > What about ISO support? :-). That's out of question (NFS is IP). The only question were whether somebody would implement an ICMP transport layer for NFS. :-)) > I think defaulting to usage() would be better. However, the usage message > says that args are optional. I don't mind either (we could change the usage message and the man page), though i think defaulting to -u4 (or was it -u8?) is historical practice also for the Sun implementation. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)