From owner-freebsd-questions@FreeBSD.ORG Fri Jun 8 06:27:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A80EB1065672 for ; Fri, 8 Jun 2012 06:27:33 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 3260E8FC1D for ; Fri, 8 Jun 2012 06:27:33 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q586RPpa042082 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 8 Jun 2012 07:27:25 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q586RPpa042082 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1339136845; bh=AkL6AmpsgHgCOOD390J++Nz+P5pSSYnofmIouG8uOj0=; h=Date:From:To:CC:Subject:References:In-Reply-To:Content-Type: Message-ID:Mime-Version; b=ltaAgYyB7H0EkHrjfSHeY9jfl2NLh23qIdMcTP1upU0FAzVdoRtudRoVx4gSKA4zw Oz5SPrZ2a+juryKBi8ousfQq6nOmVQMPL6PGqQD70c/8/xX7+L0gngG1yLqwH8WlS9 anW05GF+GbU7d8U+l1GjLLd6ARFTt9ihJEYnt/Es= Message-ID: <4FD19B4D.8070508@infracaninophile.co.uk> Date: Fri, 08 Jun 2012 07:27:25 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120601 Thunderbird/13.0 MIME-Version: 1.0 To: Chris Knipe References: <4FD1360D.1060208@a1poweruser.com> <4FD15461.6090109@makeworld.com> <86obou7fly.fsf@red.stonehenge.com> <5E0240CD-6B6C-4221-A656-0006254132F9@mac.com> <86ipf276g7.fsf@red.stonehenge.com> <4FD19973.5040802@infracaninophile.co.uk> In-Reply-To: X-Enigmail-Version: 1.4.2 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3013D58552728A34BE5A078E" X-Virus-Scanned: clamav-milter 0.97.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_ADSP_ALL,DKIM_SIGNED,T_DKIM_INVALID autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: FreeBSD - , "Randal L. Schwartz" Subject: Re: find date of last boot 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: Fri, 08 Jun 2012 06:27:33 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3013D58552728A34BE5A078E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 08/06/2012 07:23, Chris Knipe wrote: >> It's not that. 'last reboot' seems to be broken at the moment, at lea= st >> on stable/9: >=20 >> but last(1) isn't coming up with the goods: >> >> lucid-nonsense:~:% last reboot >> >> wtmp begins Fri Jun 1 06:14:46 BST 2012 >=20 > last reads from /var/log/wtmp - which more than likely got rotated > since your last reboot. No. Please read more carefully. last(1) used to use /var/log/wtmp, but not on 9.x or above, which uses /var/log/utx.log -- a different binary format, but basically the same idea as wtmp. And, no: as I showed, that file was not rotated since my last reboot. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig3013D58552728A34BE5A078E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/Rm00ACgkQ8Mjk52CukIymqQCeILfAKM+P79lW/x0x1RtX8Gpu L+EAn1/WjtuOwv4EKc4vHr4o3w5ctDao =QoCW -----END PGP SIGNATURE----- --------------enig3013D58552728A34BE5A078E--