Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2011 07:32:13 -0800
From:      Chip Camden <sterling@camdensoftware.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Date of a FreeBSD installation
Message-ID:  <20110114153212.GA21418@libertas.local.camdensoftware.com>
In-Reply-To: <AANLkTi=OQiL=r5ZxxfMtaf6DduPYM5B4Q4JVRsN466GK@mail.gmail.com>
References:  <4D2F606D.6090407@gmail.com> <20110113232321.5857ad0f@gumby.homeunix.com> <AANLkTi=OQiL=r5ZxxfMtaf6DduPYM5B4Q4JVRsN466GK@mail.gmail.com>

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

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

Quoth Carl Chave on Friday, 14 January 2011:
> > I'd suggest looking at the Btimes of top level directories
> >
> > stat -f "%SB %N" /*
>=20
> Or how about just / as this ~15 minutes earlier than most of the
> remaining top level directories
>=20
>=20
> sodserve# stat -f "%SB %N" /*
> Jan  9 04:54:21 2011 /COPYRIGHT
> Jan  9 04:54:21 2011 /bin
> Jan  9 04:54:21 2011 /boot
> Dec 31 18:59:59 1969 /dev
> Jan  9 04:54:21 2011 /etc
> Jan  9 04:54:21 2011 /lib
> Jan  9 04:54:21 2011 /libexec
> Jan  9 04:54:21 2011 /media
> Jan  9 04:54:21 2011 /mnt
> Jan  9 04:54:21 2011 /proc
> Jan  9 04:54:21 2011 /rescue
> Jan  9 04:54:21 2011 /root
> Jan  9 04:54:21 2011 /sbin
> Jan  9 04:54:21 2011 /sys
> Jan  9 04:48:39 2011 /tmp
> Jan  9 04:48:45 2011 /usr
> Jan  9 04:49:39 2011 /var
>=20
> sodserve# stat -f "%SB %N" /
> Jan  9 04:39:59 2011 /

For me, that gets the Nov 21 2009 date, which is earlier than my
install date.

So far, /etc/hostid and the /home symlink seem to be the winners.

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

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

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

iQEcBAEBAgAGBQJNMGx8AAoJEIpckszW26+R7toH/2glATlyNSGiXL8X+7aeIKCL
GpXZS0Q3SwVKD70tHQ0D7NXv/fLtbkCrZEiz6YG4OjowS3M/EISYLVHYSKF/rrbr
TnWOawJ/geYDTwIWv2Nwcg+T3+PsyVCcFlfoq0SJyByjWsMRi6WhFQMztVss06BL
zSlleVDq6G1mofcyS0/w/UCF2Jo70XnfsCqIsBbst0wgJ2OLlQ+8VbFvKYS/xIeG
lp6xRGONHC3U6m5rtwuiuGFHtf3mZm+eTrDQ7p+pln+GK22zDMeUv2aFc9GAvXCW
DZCYJ0/7waIjEIwcVuy8iXXEeF/ezcuCNGTzW/S/YU3N2sgRpM1PATdtvY4V3rI=
=0c3M
-----END PGP SIGNATURE-----

--sdtB3X0nJg68CQEu--



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