Re: Date of a FreeBSD installation

2011-01-27 Thread Chad Perrin
I tried responding to an off-list message. Delivery failed for some reason. I just don't want the sender of the message to which I tried to reply to think I'm ignoring him, so I elected to send this to the list. Thanks for your patience. -- Chad Perrin [ original content licensed OWL: http://o

Re: Date of a FreeBSD installation

2011-01-27 Thread Chad Perrin
On Thu, Jan 27, 2011 at 09:09:52PM +, Devin Teske wrote: > On Thu, 2011-01-27 at 13:39 -0700, Chad Perrin wrote: > > > On Thu, Jan 13, 2011 at 01:57:38PM -0800, Devin Teske wrote: > > > > > > You're going to have to resort to things that aren't touched during a > > > system upgrade if you wan

Re: Date of a FreeBSD installation

2011-01-27 Thread Devin Teske
On Thu, 2011-01-27 at 13:39 -0700, Chad Perrin wrote: > On Thu, Jan 13, 2011 at 01:57:38PM -0800, Devin Teske wrote: > > > > You're going to have to resort to things that aren't touched during a > > system upgrade if you want to find out the `true' answer as to when the > > box was first ... what

Re: Date of a FreeBSD installation

2011-01-27 Thread Chad Perrin
On Thu, Jan 13, 2011 at 01:57:38PM -0800, Devin Teske wrote: > > You're going to have to resort to things that aren't touched during a > system upgrade if you want to find out the `true' answer as to when the > box was first ... what? partitioned? newfs'd? clue me in here. > > What _is_ the defin

Re: Date of a FreeBSD installation

2011-01-27 Thread Chris Brennan
On Thu, Jan 27, 2011 at 3:56 AM, Alexandr Sushko wrote: > Try to use not ls -l, but ls -lc. It will show you file creation time. > > > ls -lcd /bin/, for example > > drwxr-xr-x 2 root wheel 1024 Dec 10 00:31 /bin/ > > I ran this and the earliest date I found was Oct 12, 2008 which seems to be a

Re: Date of a FreeBSD installation

2011-01-27 Thread Alexandr Sushko
On 01/13/2011 11:28 PM, David Demelier wrote: Hello folks, I'm just guessing if there is a way to know a FreeBSD installation date. We can't look after the uname -a ident since an update of the FreeBSD kernel is possible. I think searching a file absolutely not touched ever in the system can

Re: Date of a FreeBSD installation

2011-01-26 Thread David Demelier
On 14/01/2011 19:46, Carl Johnson wrote: Chip Camden writes: Quoth Carl Chave on Friday, 14 January 2011: I'd suggest looking at the Btimes of top level directories stat -f "%SB %N" /* Or how about just / as this ~15 minutes earlier than most of the remaining top level directories sodser

Re: Date of a FreeBSD installation

2011-01-14 Thread Carl Johnson
Chip Camden writes: > Quoth Carl Chave on Friday, 14 January 2011: >> > I'd suggest looking at the Btimes of top level directories >> > >> > stat -f "%SB %N" /* >> >> Or how about just / as this ~15 minutes earlier than most of the >> remaining top level directories >> >> >> sodserve# stat -f

Re: Date of a FreeBSD installation

2011-01-14 Thread RW
On Fri, 14 Jan 2011 07:32:13 -0800 Chip Camden wrote: > > 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 20

Re: Date of a FreeBSD installation

2011-01-14 Thread krad
On 14 January 2011 15:37, Chip Camden wrote: > Quoth n j on Friday, 14 January 2011: > > >>> I'm just guessing if there is a way to know a FreeBSD installation > date. > > >>> We can't look after the uname -a ident since an update of the FreeBSD > > >>> kernel is possible. > > > > How about looki

Re: Date of a FreeBSD installation

2011-01-14 Thread Chip Camden
Quoth n j on Friday, 14 January 2011: > >>> I'm just guessing if there is a way to know a FreeBSD installation date. > >>> We can't look after the uname -a ident since an update of the FreeBSD > >>> kernel is possible. > > How about looking at /proc or /mnt? > > On a couple of my boxes that I che

Re: Date of a FreeBSD installation

2011-01-14 Thread Chris Brennan
On Thu, Jan 13, 2011 at 6:01 PM, Carl Johnson wrote: > 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. > > Ivan's e-mail I think might be a little more accurate ch...@ziggy.xaerolimit.

Re: Date of a FreeBSD installation

2011-01-14 Thread Chip Camden
Quoth David DEMELIER on Friday, 14 January 2011: > 2011/1/13 Chip Camden : > > > > The date on the /home symlink reflects my install date.  I don't think > > anything would touch that. > > > > -- > > Sterling (Chip) Camden    | sterl...@camdensoftware.com | 2048D/3A978E4F > > http://camdensoftware.

Re: Date of a FreeBSD installation

2011-01-14 Thread Chip Camden
Quoth Carl Chave on Friday, 14 January 2011: > > I'd suggest looking at the Btimes of top level directories > > > > stat -f "%SB %N" /* > > Or how about just / as this ~15 minutes earlier than most of the > remaining top level directories > > > sodserve# stat -f "%SB %N" /* > Jan 9 04:54:21 201

Re: Date of a FreeBSD installation

2011-01-14 Thread krad
On 13 January 2011 20:34, Matthias Apitz wrote: > El día Thursday, January 13, 2011 a las 09:28:29PM +0100, David Demelier > escribió: > > > Hello folks, > > > > I'm just guessing if there is a way to know a FreeBSD installation date. > > We can't look after the uname -a ident since an update of

Re: Date of a FreeBSD installation

2011-01-14 Thread n j
>>> I'm just guessing if there is a way to know a FreeBSD installation date. >>> We can't look after the uname -a ident since an update of the FreeBSD >>> kernel is possible. How about looking at /proc or /mnt? On a couple of my boxes that I checked, those files came up being the oldest and proba

Re: Date of a FreeBSD installation

2011-01-14 Thread David DEMELIER
2011/1/13 Chip Camden : > Quoth David Demelier on Thursday, 13 January 2011: >> Hello folks, >> >> I'm just guessing if there is a way to know a FreeBSD installation date. >> We can't look after the uname -a ident since an update of the FreeBSD >> kernel is possible. >> >> I think searching a file

Re: Date of a FreeBSD installation

2011-01-13 Thread Carl Chave
> I'd suggest looking at the Btimes of top level directories > > stat -f "%SB %N" /* Or how about just / as this ~15 minutes earlier than most of the remaining top level directories 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

Re: Date of a FreeBSD installation

2011-01-13 Thread Carl Johnson
Chip Camden writes: > Quoth Carl Johnson on Thursday, 13 January 2011: >> Polytropon writes: >> >> > On Thu, 13 Jan 2011 13:50:27 -0800, Chuck Swiger wrote: >> >> On Jan 13, 2011, at 1:46 PM, Devin Teske wrote: >> >> > This is nearly always accurate on any FreeBSD system (when wanting to >> >>

Re: Date of a FreeBSD installation

2011-01-13 Thread RW
On Thu, 13 Jan 2011 21:28:29 +0100 David Demelier wrote: > Hello folks, > > I'm just guessing if there is a way to know a FreeBSD installation > date. We can't look after the uname -a ident since an update of the > FreeBSD kernel is possible. > > I think searching a file absolutely not touched

Re: Date of a FreeBSD installation

2011-01-13 Thread Chip Camden
Quoth Carl Johnson on Thursday, 13 January 2011: > Polytropon writes: > > > On Thu, 13 Jan 2011 13:50:27 -0800, Chuck Swiger 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

Re: Date of a FreeBSD installation

2011-01-13 Thread Chip Camden
Quoth Ivan Voras on Friday, 14 January 2011: > On 13/01/2011 21:28, David Demelier wrote: > >Hello folks, > > > >I'm just guessing if there is a way to know a FreeBSD installation date. > >We can't look after the uname -a ident since an update of the FreeBSD > >kernel is possible. > > If you haven

Re: Date of a FreeBSD installation

2011-01-13 Thread Carl Johnson
Polytropon writes: > On Thu, 13 Jan 2011 13:50:27 -0800, Chuck Swiger 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 >> >>

Re: Date of a FreeBSD installation

2011-01-13 Thread Ivan Voras
On 13/01/2011 21:28, David Demelier wrote: Hello folks, I'm just guessing if there is a way to know a FreeBSD installation date. We can't look after the uname -a ident since an update of the FreeBSD kernel is possible. If you haven't removed it, a line in /etc/rc.conf should be written by sys

Re: Date of a FreeBSD installation

2011-01-13 Thread Polytropon
On Thu, 13 Jan 2011 13:50:27 -0800, Chuck Swiger 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

Re: Date of a FreeBSD installation

2011-01-13 Thread Devin Teske
On Thu, 2011-01-13 at 13:50 -0800, Chuck Swiger 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 ru

Re: Date of a FreeBSD installation

2011-01-13 Thread Chuck Swiger
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 i

Re: Date of a FreeBSD installation

2011-01-13 Thread Devin Teske
On Thu, 2011-01-13 at 13:03 -0800, Chip Camden wrote: > Quoth Chuck Swiger on Thursday, 13 January 2011: > > On Jan 13, 2011, at 12:45 PM, Chip Camden wrote: > > > On my system, /etc/termcap has the date well after my installation > > > (Jun 28 2010) and /etc/rmt dates to well before (Nov 21 2009).

Re: Date of a FreeBSD installation

2011-01-13 Thread Chip Camden
Quoth Chuck Swiger on Thursday, 13 January 2011: > On Jan 13, 2011, at 12:45 PM, Chip Camden wrote: > > On my system, /etc/termcap has the date well after my installation > > (Jun 28 2010) and /etc/rmt dates to well before (Nov 21 2009). I first > > installed FreeBSD on this system on Apr 1 2010.

Re: Date of a FreeBSD installation

2011-01-13 Thread Chuck Swiger
On Jan 13, 2011, at 12:45 PM, Chip Camden wrote: > On my system, /etc/termcap has the date well after my installation > (Jun 28 2010) and /etc/rmt dates to well before (Nov 21 2009). I first > installed FreeBSD on this system on Apr 1 2010. Certainly the target of the link would change; my /etc/t

Re: Date of a FreeBSD installation

2011-01-13 Thread David DEMELIER
2011/1/13 Chuck Swiger : > On Jan 13, 2011, at 12:28 PM, David Demelier wrote: >> I'm just guessing if there is a way to know a FreeBSD installation date. We >> can't look after the uname -a ident since an update of the FreeBSD kernel is >> possible. >> >> I think searching a file absolutely not

Re: Date of a FreeBSD installation

2011-01-13 Thread Chip Camden
Quoth Chuck Swiger on Thursday, 13 January 2011: > On Jan 13, 2011, at 12:28 PM, David Demelier wrote: > > I'm just guessing if there is a way to know a FreeBSD installation date. We > > can't look after the uname -a ident since an update of the FreeBSD kernel > > is possible. > > > > I think se

Re: Date of a FreeBSD installation

2011-01-13 Thread Chip Camden
Quoth David Demelier on Thursday, 13 January 2011: > Hello folks, > > I'm just guessing if there is a way to know a FreeBSD installation date. > We can't look after the uname -a ident since an update of the FreeBSD > kernel is possible. > > I think searching a file absolutely not touched ever i

Re: Date of a FreeBSD installation

2011-01-13 Thread Chuck Swiger
On Jan 13, 2011, at 12:28 PM, David Demelier wrote: > I'm just guessing if there is a way to know a FreeBSD installation date. We > can't look after the uname -a ident since an update of the FreeBSD kernel is > possible. > > I think searching a file absolutely not touched ever in the system can

Re: Date of a FreeBSD installation

2011-01-13 Thread Matthias Apitz
El día Thursday, January 13, 2011 a las 09:28:29PM +0100, David Demelier escribió: > Hello folks, > > I'm just guessing if there is a way to know a FreeBSD installation date. > We can't look after the uname -a ident since an update of the FreeBSD > kernel is possible. > > I think searching

Date of a FreeBSD installation

2011-01-13 Thread David Demelier
Hello folks, I'm just guessing if there is a way to know a FreeBSD installation date. We can't look after the uname -a ident since an update of the FreeBSD kernel is possible. I think searching a file absolutely not touched ever in the system can helps but which one? markand@Melon ~ $ ls -