From owner-freebsd-current@FreeBSD.ORG Thu Jan 14 21:07:30 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAC251065787 for ; Thu, 14 Jan 2010 21:07:30 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 6F9C48FC20 for ; Thu, 14 Jan 2010 21:07:30 +0000 (UTC) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 64C681CDE3; Thu, 14 Jan 2010 22:07:29 +0100 (CET) Date: Thu, 14 Jan 2010 22:07:29 +0100 From: Ed Schouten To: Andrzej Tobola Message-ID: <20100114210729.GN64905@hoeg.nl> References: <20100113194254.GR64905@hoeg.nl> <20100113220010.GC32376@volt.iem.pw.edu.pl> <20100113220238.GV64905@hoeg.nl> <20100113225057.GA55325@amp2.iem.pw.edu.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ulYX2yhpjtvapoxU" Content-Disposition: inline In-Reply-To: <20100113225057.GA55325@amp2.iem.pw.edu.pl> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Current Subject: Re: utmp/utmpx conversion tool X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2010 21:07:30 -0000 --ulYX2yhpjtvapoxU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Andrzej, I'm sending this back to the lists, because I think it is an interesting question. * Andrzej Tobola wrote: > If I need to preserve datbases - do You have any tool to convert > /var/run/utmp, /var/log/lastlog and /var/log/wtmp to the new format ? I see little use in converting utmp and lastlog to the new format. The utmp file normally shouldn't survive a reboot, while the data provided by lastlog is just `value added'. I can imagine people do want to be able to convert their wtmp files. This is why I just committed a tool called wtmpcvt(1) (also mentioned in UPDATING now). This tool allows you to convert the log files to the new format and view them using last(1) and ac(8). There is no procedure to do this automatically. I also don't want to do this, because if things go wrong, I don't want to be responsible for corrupting everyone's log files. --=20 Ed Schouten WWW: http://80386.nl/ --ulYX2yhpjtvapoxU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAktPh5EACgkQ52SDGA2eCwU8ywCfQXl3JLMd1LCQzJoQdELzUhcK J+QAnAr1hPdvjW3VvjjMBidEt35851GW =vTMq -----END PGP SIGNATURE----- --ulYX2yhpjtvapoxU--