* Hmmm ES40 and RH ?[Was:Re: Digital ES40 installation date 2019]
1999-09-21 4:00 ` Alex Rhomberg
@ 1999-09-21 4:00 ` Andrei A. Dergatchev
0 siblings, 0 replies; 5+ messages in thread
From: Andrei A. Dergatchev @ 1999-09-21 4:00 UTC (permalink / raw)
Nothing with time here :-)
Folks, I recall a lot of people have (had?) an opinion that
the person who can afford the ES40 can spend a bit more
for Tru64 and good compilers as well. Now I see that
quite a few people do run Linux on DS20's and ES40's.
Could some one please explain me what has been changed
lately ? Does ES40 become *so* affordable :-) ?
Could some kind soul draw a rough figure for the price
of ES40 - is it $20K-$30K, $40K-$50K or what it is (in reality
also, not only in price-list) ?
Regards,
Andrei
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Digital ES40 installation date 2019
1999-09-21 4:00 Digital ES40 installation date 2019 Thorsten Schlueter
@ 1999-09-21 4:00 ` Addy
1999-09-22 4:00 ` Jan Doornaert
1999-09-21 4:00 ` Alex Rhomberg
1 sibling, 1 reply; 5+ messages in thread
From: Addy @ 1999-09-21 4:00 UTC (permalink / raw)
My RH6.0 installation did much the same, expect all my system files
are dated 2047!
I've now set the date correctly using the date command, but it does
seem to be a major bug in the Alpha Linux installation process.
Anyway, you can reset the time of the files by using the touch
command. Perhaps you can combine this with find and the mtime option
to reset all files to sensible dates ?
Addy.
On Tue, 21 Sep 1999 15:06:51 +0200, Thorsten Schlueter
<thorsten.s@spans.de> wrote:
>
>Hi !
>
>
>I have to set up Redhat 6.0 on a Digital Alpha ES40. I set the CMOS time
>to 1999, but the system config files are still dated 2019, which makes
>my license server think that I'm trying to cheat it. I played around
>with several timezone settings and even with the 'Startup through ARC
>console' setting, but the config files are still at 2019.
>
>Can anybody please help me out of this nightmare ?
>
>Thanks
>
> Thorsten
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Digital ES40 installation date 2019
@ 1999-09-21 4:00 Thorsten Schlueter
1999-09-21 4:00 ` Addy
1999-09-21 4:00 ` Alex Rhomberg
0 siblings, 2 replies; 5+ messages in thread
From: Thorsten Schlueter @ 1999-09-21 4:00 UTC (permalink / raw)
Hi !
I have to set up Redhat 6.0 on a Digital Alpha ES40. I set the CMOS time
to 1999, but the system config files are still dated 2019, which makes
my license server think that I'm trying to cheat it. I played around
with several timezone settings and even with the 'Startup through ARC
console' setting, but the config files are still at 2019.
Can anybody please help me out of this nightmare ?
Thanks
Thorsten
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Digital ES40 installation date 2019
1999-09-21 4:00 Digital ES40 installation date 2019 Thorsten Schlueter
1999-09-21 4:00 ` Addy
@ 1999-09-21 4:00 ` Alex Rhomberg
1999-09-21 4:00 ` Hmmm ES40 and RH ?[Was:Re: Digital ES40 installation date 2019] Andrei A. Dergatchev
1 sibling, 1 reply; 5+ messages in thread
From: Alex Rhomberg @ 1999-09-21 4:00 UTC (permalink / raw)
To: Thorsten Schlueter
Thorsten Schlueter wrote:
>
> Hi !
>
> I have to set up Redhat 6.0 on a Digital Alpha ES40. I set the CMOS time
> to 1999, but the system config files are still dated 2019, which makes
> my license server think that I'm trying to cheat it. I played around
> with several timezone settings and even with the 'Startup through ARC
> console' setting, but the config files are still at 2019.
Hi Thorsten
I though with RH6.0 the problem was solved.
Is it the system time or only the date stamps of the files?
the RH 6.0 clock (clock-1.1-6) automagically gets the correct clock.
You can change the date of the files by using the following script.
the date of symlinks can only be changed by removing and relinking,
but I think their date is not relevant. I still have some 100 symlinks
from
2018 :-)
***********BEGIN SCRIPT****************
#!/usr/bin/perl -w
#OUCH! no use strict... seems to come from my earlier Perl days...
# chyear
# changes access or modification year of a file
# based on a program by Robert Harley
# Author: Alex Rhomberg <rhomberg@ife.ee.ethz.ch>
#usage: first come the options (-a to modify access, -m to modify modify
time)
#then comes fromyear, then toyear, then the filenames
#filenames can also be supplied through stdin
#examples:
#touch /tmp/now; find / -newer /tmp/now |chyear 2038 1998; rm /tmp/now
#touch /tmp/now; chyear 2038 1998 `find / -newer /tmp/now`; rm /tmp/now
my $usage =
"Usage: $0 [-m] [-a] <fromyear> <toyear> [<file1> [<file2> [...]]]\n".
"\t-m modifies modify time, -a the access time\n".
"if no option is given, both times are modified\n".
"if no filename is given, they are taken from stdin\n";
use POSIX; # needed for mktime
die $usage if $#ARGV < 1;
my ($modacc, $modmod) = (0,0);
while ($ARGV[0] =~ /^-(.*)$/) {
shift;
$modacc = 1 if $1 eq 'a';
$modmod = 1 if $1 eq 'm';
die $usage unless $1 =~ /^[am]$/;
}
$modacc = $modmod = 1 unless $modacc||$modmod;
die $usage if $#ARGV < 1;
my $fromyear = shift;
my $toyear = shift;
die "$0: years are strange\n" if (($fromyear < 1970) || ($fromyear >
2037) ||
($toyear < 1970) || ($toyear >
2037));
if (@ARGV) {
while(@ARGV) {
$_ = shift;
chyear($fromyear, $toyear, $_) unless -l $_;
}
} else {
while (<>) {
chyear($fromyear, $toyear, $_) unless -l $_;
}
}
sub chyear {
my $fy = shift() - 1900;
my $ty = shift() - 1900;
my $file = shift;
my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks)
= lstat($file);
my @time = localtime ($atime);
my $mod = 0;
if($modacc) {
if ($time[5] == $fy) {
$time[5] = $ty;
$atime = mktime(@time);
$mod = 1;
}
}
@time = localtime($mtime);
if($modmod) {
if ($time[5] == $fy) {
$time[5] = $ty;
$mtime = mktime(@time);
$mod = 1;
}
}
if ($mod) {
print "changing $file\n";
utime $atime, $mtime, $file if $mod;
}
}
************** END SCRIPT *******************
- Alex
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Digital ES40 installation date 2019
1999-09-21 4:00 ` Addy
@ 1999-09-22 4:00 ` Jan Doornaert
0 siblings, 0 replies; 5+ messages in thread
From: Jan Doornaert @ 1999-09-22 4:00 UTC (permalink / raw)
Hi,
It has been my experience lately that all PWS and XP1000 which
are shipped from CompaQ have their BIOS dates set somewhere in
the next millennium (2047 seems to be a favorite), presumably
to test for Y2K compliancy. Just set it right in the BIOS when
powering up the machine for the first time...
BTW : this "feature" also causes problems when installing NT...
CU, JDO
addy@TINOFSPAMaddy.freeserve.co.uk (Addy) wrote in
<37e7931f.6132728@reading.news.pipex.net>:
>My RH6.0 installation did much the same, expect all my system files
>are dated 2047!
>I've now set the date correctly using the date command, but it does
>seem to be a major bug in the Alpha Linux installation process.
>
>Anyway, you can reset the time of the files by using the touch
>command. Perhaps you can combine this with find and the mtime option
>to reset all files to sensible dates ?
>
>
>Addy.
>
>On Tue, 21 Sep 1999 15:06:51 +0200, Thorsten Schlueter
><thorsten.s@spans.de> wrote:
>
>>
>>Hi !
>>
>>
>>I have to set up Redhat 6.0 on a Digital Alpha ES40. I set the CMOS time
>>to 1999, but the system config files are still dated 2019, which makes
>>my license server think that I'm trying to cheat it. I played around
>>with several timezone settings and even with the 'Startup through ARC
>>console' setting, but the config files are still at 2019.
>>
>>Can anybody please help me out of this nightmare ?
>>
>>Thanks
>>
>> Thorsten
--
-----------------------------------------------------------------------
Jan Doornaert (BlackAdder) +32 9 216 9446 Jan.Doornaert@barco.comNOSPAM
Software Engineer @ Barco Tramstraat 69 B-9052 Zwijnaarde BELGIUM
------------------------ http://www.barco.com/ ------------------------
Anti-Spam : Remove NOSPAM to reply.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1999-09-22 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-21 4:00 Digital ES40 installation date 2019 Thorsten Schlueter
1999-09-21 4:00 ` Addy
1999-09-22 4:00 ` Jan Doornaert
1999-09-21 4:00 ` Alex Rhomberg
1999-09-21 4:00 ` Hmmm ES40 and RH ?[Was:Re: Digital ES40 installation date 2019] Andrei A. Dergatchev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox