Date: Thu, 24 Feb 2000 14:56:43 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: "Fred J. Lomas" <aj@8hill.com> Cc: freebsd-questions@freebsd.org Subject: Re: the real question Message-ID: <20000224145643.D26191@strontium.scientia.demon.co.uk> In-Reply-To: <38B472A2.1B93850@8hill.com> References: <38B472A2.1B93850@8hill.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000224145643.D26191>
