From owner-freebsd-questions@FreeBSD.ORG Wed Jun 10 17:04:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC0A51065670 for ; Wed, 10 Jun 2009 17:04:25 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 758EE8FC08 for ; Wed, 10 Jun 2009 17:04:25 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 8E65E7E837; Wed, 10 Jun 2009 09:04:24 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Wed, 10 Jun 2009 09:04:23 -0800 User-Agent: KMail/1.11.3 (FreeBSD/8.0-CURRENT; KDE/4.2.3; i386; ; ) References: <200906101628.n5AGSEOF031566@dc.cis.okstate.edu> In-Reply-To: <200906101628.n5AGSEOF031566@dc.cis.okstate.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906100904.23590.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Martin McCormick Subject: Re: Control-Z the Sleep Signal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2009 17:04:26 -0000 On Wednesday 10 June 2009 08:28:14 Martin McCormick wrote: > Mel Flynn writes: > > Agreed. You're solving the wrong problem by mapping CTRL-Z to CTRL-C. The > > questions you should be asking are: > > 1) Why are stale locks bad for the app? > > Because if there is one, nobody else in our group can use the > app to assign IP addresses. I made it back in 1993 so that only > one person could use it at a time because it adds and or deletes > records from the DNS and DHCP servers. If this is the sole purpose of the program, I would retire it if you're using ISC provided software for these services. rndc and omshell can do all of this using atomic operations. Information is gathered first, then sent in one block to the server, so even if two people try to modify/delete the same record, the one that comes first makes the change, and the second one is handled according to the new information. -- Mel