On Sunday 06 April 2008 12:06:27 pelibali wrote:
Hi,
I have several computers, mainly older SUSE 9.x and 10.x releases to administer and I simply forgot when any of these systems has been installed. On a Hungarian list I received a reply to do 'ls -ld /' to see the age of the file-system (installation date if fresh install), others suggested to go for 'ls -l /etc/SuSE-release', but none of these really works and gives me that particular date. Further idea would be to ship this date from the rpm database via 'rpm -qa --last | tail', which in fact works and looks OK on a single machine, but I'm not sure if the date would be still OK, if in the meantime the very first rpms would have been removed/updated/etc.
Any idea please to do such analysis for a existing system's age?! (Please do not answer asking why the above systems are not updated; most of the systems have no internet connection or work via 56k mo- dem line and so outdated machines ~p2 would not work properly with the new shiny and mega-large openSUSE releases.)
If the file system on / is ext2 or 3 you can do dumpe2fs -h on it and see when it was created Filesystem created: Wed Oct 10 18:27:53 2007 for example, is what it says on my machine. Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org