From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,a4058c37c8deaaa3 X-Google-Attributes: gid111c93,public From: joe@js.ne.mediaone.net (Joseph Sarkes) Subject: Re: How can I change year 2018 to 1998 Date: 1998/10/16 Message-ID: <7084h5$3h1$1@wbnws01.ne.highway1.com>#1/1 X-Deja-AN: 401885741 References: <6vvjk0$t70$1@news.kjist.ac.kr> Organization: MediaOne -=- Northeast Region Newsgroups: comp.os.linux.alpha G. Hugh SONG (ghsong@\"Spamspoiler\"kjist.ac.kr) wrote: : Hi, : I installed the RedHat 5.1 on a fresh hard. : Oh, no! All the links and the directories are dated at year 2018. : How can I fix this? The month and day are all right. My system is a multia, but probably is similar to what you are running into. If you are booting linux from the ARC firmware, you need to specify that the clock is in the ARC format. That is where your 20 year offset is coming from. Another problem that occurs is that there is a bug in clock (at least with arc/multia) where it doesn't set the time properly on boot, and i was losing something like 4 years every boot. By removing a flag from the clock command in the startup script i fixed that. You probably need a ARC=true in your /etc/sysconfig/clock file. As far as fixing the dates on all your directories, you can probably do a find . -type d -exec touch --time=whatever {} \; or similar incantation. -- Joseph Sarkes mailto:joe@mediaone.net