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

Re: Date of a FreeBSD installation

2011-01-27 Thread Chris Brennan
On Thu, Jan 27, 2011 at 3:56 AM, Alexandr Sushko alexandrsus...@gmail.comwrote: 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

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 definition

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 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 want to find

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:

Re: Date of a FreeBSD installation

2011-01-26 Thread David Demelier
On 14/01/2011 19:46, Carl Johnson wrote: Chip Camdensterl...@camdensoftware.com 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

Re: Date of a FreeBSD installation

2011-01-14 Thread David DEMELIER
2011/1/13 Chip Camden sterl...@camdensoftware.com: 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

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 probably

Re: Date of a FreeBSD installation

2011-01-14 Thread krad
On 13 January 2011 20:34, Matthias Apitz g...@unixarea.de 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

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 2011 /COPYRIGHT

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 sterl...@camdensoftware.com: 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

Re: Date of a FreeBSD installation

2011-01-14 Thread Chris Brennan
On Thu, Jan 13, 2011 at 6:01 PM, Carl Johnson ca...@peak.org 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

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 checked, those

Re: Date of a FreeBSD installation

2011-01-14 Thread krad
On 14 January 2011 15:37, Chip Camden sterl...@camdensoftware.com 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

Re: Date of a FreeBSD installation

2011-01-14 Thread RW
On Fri, 14 Jan 2011 07:32:13 -0800 Chip Camden sterl...@camdensoftware.com 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

Re: Date of a FreeBSD installation

2011-01-14 Thread Carl Johnson
Chip Camden sterl...@camdensoftware.com 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

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

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 a file

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 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

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 searching

Re: Date of a FreeBSD installation

2011-01-13 Thread David DEMELIER
2011/1/13 Chuck Swiger cswi...@mac.com: 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

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

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 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). I

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 in

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 run

Re: Date of a FreeBSD installation

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

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

Re: Date of a FreeBSD installation

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

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't removed

Re: Date of a FreeBSD installation

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

Re: Date of a FreeBSD installation

2011-01-13 Thread RW
On Thu, 13 Jan 2011 21:28:29 +0100 David Demelier demelier.da...@gmail.com 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

Re: Date of a FreeBSD installation

2011-01-13 Thread Carl Johnson
Chip Camden sterl...@camdensoftware.com writes: Quoth Carl Johnson on Thursday, 13 January 2011: Polytropon free...@edvax.de writes: On Thu, 13 Jan 2011 13:50:27 -0800, Chuck Swiger cswi...@mac.com wrote: On Jan 13, 2011, at 1:46 PM, Devin Teske wrote: This is nearly always accurate on

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 Dec