From owner-freebsd-arch Thu Mar 28 10:35:44 2002 Delivered-To: freebsd-arch@freebsd.org Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by hub.freebsd.org (Postfix) with ESMTP id 492C237B417 for ; Thu, 28 Mar 2002 10:35:41 -0800 (PST) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.12.2/8.12.2) with ESMTP id g2SIZ1kf000681; Thu, 28 Mar 2002 13:35:05 -0500 (EST) (envelope-from mi@aldan.algebra.com) Message-Id: <200203281835.g2SIZ1kf000681@aldan.algebra.com> Date: Thu, 28 Mar 2002 13:35:01 -0500 (EST) From: Mikhail Teterin Subject: Re: review request for bin/11294 To: des@ofug.org Cc: arch@FreeBSD.org In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 24 Mar, Dag-Erling Smorgrav wrote: > Mikhail Teterin writes: >> But this implementation has drawbacks, that mine does not, IMHO: >> >> . the configuration is system wide -- which is not neccessarily >> desirable; >> [...] > > This and all your other objections can be fixed using a global > variable that overrides the symlink (or an API function that sets the > target host). My primary objection is that the problem you are solving -- logging to some other host by default -- is different from mine -- logging to some other host at the caller's discretion. Yes, the caller can call the new API function you suggest (or set a global variable itself, which is uglier, IMHO). But the only drawback of my idea, that was pointed out so far is that it _adds a new API call_. If such an addition _can_ be tolerated -- and it looks from your response like it can -- I think, solving my problem your way is inferior to my proposed solution. Which is not to say, the solution you provided is inferior over all -- it is just for a different problem. -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message