Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2011 15:08:46 -0800
From:      Chip Camden <sterling@camdensoftware.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Date of a FreeBSD installation
Message-ID:  <20110113230846.GJ3646@libertas.local.camdensoftware.com>
In-Reply-To: <87hbdc4ddd.fsf@oak.localnet>
References:  <4D2F606D.6090407@gmail.com> <BF2F84C5-AB13-4FE1-AB43-AD965E21980E@mac.com> <20110113204525.GB3646@libertas.local.camdensoftware.com> <579FC70C-5B5B-43B4-9E71-D765887FAF6F@mac.com> <20110113210319.GD3646@libertas.local.camdensoftware.com> <1294955182.10908.14.camel@localhost.localdomain> <2062F50F-5D14-496C-A97A-FC4CDB3FDD3F@mac.com> <20110113233016.5de7b7b8.freebsd@edvax.de> <87hbdc4ddd.fsf@oak.localnet>

next in thread | previous in thread | raw e-mail | index | archive | help

--Xssso5lpTBgMxDfe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Quoth Carl Johnson on Thursday, 13 January 2011:
> Polytropon <freebsd@edvax.de> writes:
>=20
> > On Thu, 13 Jan 2011 13:50:27 -0800, Chuck Swiger <cswiger@mac.com> wrot=
e:
> >> On Jan 13, 2011, at 1:46 PM, Devin Teske wrote:
> >> > This is nearly always accurate on any FreeBSD system (when wanting to
> >> > query the date the machine was built):
> >> >=20
> >> > 	ls -l /etc/defaults/rc.conf
> >>=20
> >> I gather that you don't ever run mergemaster, which would update this =
file?
> >> My machine installed in 2001 has a Dec 2010 date for that file:
> >>=20
> >> -r--r--r--  1 root  wheel  36037 Dec  1 14:13 /etc/defaults/rc.conf
> >
> > Exactly that was my thought. Maybe a file that is NOT subject
> > to one of the system upgrade procedures would be better? Maybe
> > something in /boot?
> >
> > % ls -l /etc/defaults/rc.conf
> > -r--r--r--  1 root  wheel  34300 Aug 24  2008 /etc/defaults/rc.conf
> > % ls -l /boot/defaults/loader.conf
> > -r--r--r--  1 root  wheel  19426 Aug 24  2008 /boot/defaults/loader.conf
> >
> > No, forget about that, also nonsense, looks to new...
>=20
> How about /var/empty:
>=20
> % ls -ldo /var/empty/
> dr-xr-xr-x  2 root  wheel  schg 512 Jul 18 19:16 /var/empty/
>=20
> It can be changed, but doesn't look likely.
>=20
> --=20
> Carl Johnson		carlj@peak.org
>=20
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"

On my system, it gives a date several months in advance of my install
date (Nov 21 2009).

--=20
Sterling (Chip) Camden    | sterling@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipsquips.com       | http://chipstips.=
com

--Xssso5lpTBgMxDfe
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iQEcBAEBAgAGBQJNL4X+AAoJEIpckszW26+RT6wIALQAaGZ4K7xKgGkJIPnZGE5a
AuYzV8U0vsh/kwR5RD0JXr76bMHucuju4ZeVF8uvVflVBwXYxDVFSLO+fN1Yq1Kd
2shcrnJxXUkN5KRPzdGegxrbkx8Q4813xpdO8uH+JuLDegtyZRUpLkwd1J7e96eD
AvaapPZB1tyFw/NCDspHivrV4HytcMnfl4hfZdHIJLxK5SpZDKoM/4psnoCJku8s
RMqPtTmE9BW2Ktq4Y6mEBriq5N/Hipg+3PDiaT4Yvb4xgYYBqOglgtGXsoqlxmnP
M/h6kRVjMRCVf1FNAFJ9yDXZZ+VB4J7T3fIH6jZrLnWUR/DeW4y9pwqBAi8wxQU=
=k5AV
-----END PGP SIGNATURE-----

--Xssso5lpTBgMxDfe--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110113230846.GJ3646>