Date of a FreeBSD installation

Chip Camden sterling at camdensoftware.com
Thu Jan 13 23:08:51 UTC 2011


Quoth Carl Johnson on Thursday, 13 January 2011:
> Polytropon <freebsd at edvax.de> writes:
> 
> > On Thu, 13 Jan 2011 13:50:27 -0800, Chuck Swiger <cswiger at mac.com> wrote:
> >> 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):
> >> > 
> >> > 	ls -l /etc/defaults/rc.conf
> >> 
> >> 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:
> >> 
> >> -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...
> 
> How about /var/empty:
> 
> % ls -ldo /var/empty/
> dr-xr-xr-x  2 root  wheel  schg 512 Jul 18 19:16 /var/empty/
> 
> It can be changed, but doesn't look likely.
> 
> -- 
> Carl Johnson		carlj at peak.org
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

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

-- 
Sterling (Chip) Camden    | sterling at camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipsquips.com       | http://chipstips.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110113/886ff255/attachment.pgp


More information about the freebsd-questions mailing list