From owner-freebsd-hackers Wed Dec 12 14:57:22 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from winston.freebsd.org (adsl-64-173-15-98.dsl.sntc01.pacbell.net [64.173.15.98]) by hub.freebsd.org (Postfix) with ESMTP id 3FE1F37B41B for ; Wed, 12 Dec 2001 14:57:20 -0800 (PST) Received: from winston.freebsd.org (jkh@localhost [127.0.0.1]) by winston.freebsd.org (8.11.6/8.11.6) with ESMTP id fBCMumq89112; Wed, 12 Dec 2001 14:56:48 -0800 (PST) (envelope-from jkh@winston.freebsd.org) To: Poul-Henning Kamp Cc: hackers@FreeBSD.ORG Subject: Re: NFS: How to make FreeBSD fall on its face in one easy step In-Reply-To: Message from Poul-Henning Kamp of "Wed, 12 Dec 2001 21:39:11 +0100." <63529.1008189551@critter.freebsd.dk> Date: Wed, 12 Dec 2001 14:56:48 -0800 Message-ID: <89102.1008197808@winston.freebsd.org> From: Jordan Hubbard Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > The only thing I get is a math exception because "closeprob" is zero > since no -c option was given. > > Can you provide some sample parameters please ? Hmmm, how strange, now that I look at the code it's obvious that a divide by zero will occur with a zero closeprob and the docs state the default to be "infinity", which is obviously not the case. The strange part is that I ran this on freebsd.apple.com, which is running 4.4-stable, with one parameter (the filename) exactly as I pasted in the usage instructions before. Perhaps all this time spent living next to the Macintosh in my office has induced that copy of FreeBSD to be more "friendly" and mask simple math errors. :-) In any case, -c 1 appears to work just fine. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message