Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Determining age of a Gentoo Installation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
upnix
n00b
n00b


Joined: 02 Jan 2003
Posts: 63
Location: Canada

PostPosted: Sat Oct 18, 2003 7:24 pm    Post subject: Determining age of a Gentoo Installation Reply with quote

Anyone know of a sure way to figure out when a Gentoo system was first booted (install date)?

I'm pretty good at breaking OS installations, making reinstalls a 6 month ritual. But I think I may be on a role with Gentoo here.

My only idea was to look at file-mod times, but they're all over the board and some of them I'm pretty sure are too old.


Ideas?


Chris
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sat Oct 18, 2003 7:54 pm    Post subject: Reply with quote

upnix,

If the hostname has not been changed since install, look at the date on /etc/hostname

Regards,

NeddySeagoon
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
upnix
n00b
n00b


Joined: 02 Jan 2003
Posts: 63
Location: Canada

PostPosted: Sat Oct 18, 2003 7:59 pm    Post subject: Reply with quote

Hmm, that seems like it could be right; Oct. 4th 2002. Just missed the 1 year anniversary.


Excellent, thanks NeddySeagoon.
Back to top
View user's profile Send private message
Gibberx
Apprentice
Apprentice


Joined: 20 Oct 2002
Posts: 217
Location: UMBC

PostPosted: Mon Oct 20, 2003 12:40 am    Post subject: Reply with quote

I also installed Gentoo about a year ago, but I redid it in the summer because I was really bored, haha :lol:
Back to top
View user's profile Send private message
M104
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jan 2003
Posts: 132
Location: Riverside, CA

PostPosted: Mon Oct 27, 2003 7:33 pm    Post subject: Reply with quote

Check your first entry in /var/log/emerge.log. It should say something like "Started emerge on: Nov 06, 2002"

That's how old my one of my systems is!
_________________
"Pulling together is the aim of despotism and tyranny. Free men pull in all kinds of directions."
Terry Pratchett, The Truth
Back to top
View user's profile Send private message
AlyM
n00b
n00b


Joined: 02 Sep 2003
Posts: 62
Location: Edinburgh, Scotland

PostPosted: Mon Oct 27, 2003 7:53 pm    Post subject: Reply with quote

My /etc/chostname is dated the 9th December 2003 :D.

Yeah, I screwed up the date setting when first installing.... so I guess teh exact date is lost forever (it was about 6 weeks ago).
Back to top
View user's profile Send private message
sgaap
l33t
l33t


Joined: 16 Aug 2002
Posts: 754
Location: Enschede, The Netherlands

PostPosted: Mon Oct 27, 2003 10:27 pm    Post subject: Reply with quote

Started emerge on: Oct 30, 2002

:P only a few days to go, didnt knew I was using my last gentoo install for this long
_________________
In "old" Europe we already have a word for "pre-emptive strikes" mr Bush: its called "war"
Back to top
View user's profile Send private message
snakattak3
Guru
Guru


Joined: 11 Dec 2002
Posts: 468
Location: Seattle

PostPosted: Tue Oct 28, 2003 1:59 am    Post subject: Reply with quote

Code:
1055380094: Started emerge on: Jun 12, 2003 01:08:14
1055380094:  *** emerge  sync

This is a long time for me. And the only reason I did that in June was becasue I got a new P4 and mobo (had to recompile with new CFLAGS!), and my install before that was probably just as old if not older. Gentoo is awesome :)
_________________
Ban Reality TV!
Adopt an Unanswered Post
Back to top
View user's profile Send private message
beejay
Retired Dev
Retired Dev


Joined: 03 Oct 2002
Posts: 924
Location: Flensungen (das liegt neben Merlau)

PostPosted: Wed Oct 29, 2003 9:12 am    Post subject: Reply with quote

But how old is an Installation if you updated from Gentoo 1.2 -> 1.4rc1 which is the case for me? - I'm sure that I changed my hostname. A better idea would be to look at the creation date of a directory like "/lib" or "/boot" IMHO.
_________________
Dort wo schwarzer Rauch aufsteigt, sich alsbald ein Fehler zeigt.
www.paludis-sucks.org | www.gentoo.de | www.gentoo-ev.org | www.gentoo.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum