From owner-freebsd-questions Thu Feb 24 9:34:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 77CD437BDBA for ; Thu, 24 Feb 2000 09:34:43 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12Nzh5-0008hZ-00; Thu, 24 Feb 2000 14:56:43 +0000 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12Nzh5-000BcN-00; Thu, 24 Feb 2000 14:56:43 +0000 Date: Thu, 24 Feb 2000 14:56:43 +0000 From: Ben Smithurst To: "Fred J. Lomas" Cc: freebsd-questions@freebsd.org Subject: Re: the real question Message-ID: <20000224145643.D26191@strontium.scientia.demon.co.uk> References: <38B472A2.1B93850@8hill.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38B472A2.1B93850@8hill.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Fred J. Lomas wrote: > Can anyone tell me the difference between the files dhcpd.leases and > dhcpd.leases~ I cant seem to find any. and is there a way to clear those > files so they can refresh ?? RTFM, man dhcpd.leases: In order to prevent the lease database from growing with- out bound, the file is rewritten from time to time. First, a temporary lease database is created and all known leases are dumped to it. Then, the old lease database is renamed /var/db/dhcpd.leases~. Finally, the newly writ- ten lease database is moved into place. I'm not sure why you want to "refresh" them. I guess you could kill dhcpd, delete them, and restart dhcpd. This is probably a bad idea, and AFAIK you shouldn't need to do that sort of thing. -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message