Path: utzoo!utgpu!watmath!uunet!lll-winken!csd4.milw.wisc.edu!bbn!apple!bloom-beacon!mit-eddie!andante!ulysses!att!cbnews!mvadh From: mvadh@cbnews.ATT.COM (andrew.d.hay) Newsgroups: unix-pc.general Subject: Re: Daylight savings time problem Message-ID: <5414@cbnews.ATT.COM> Date: 5 Apr 89 13:15:08 GMT References: <9139@alice.UUCP> <16663@cup.portal.com> Reply-To: mvadh@cbnews.ATT.COM (andrew.d.hay) Organization: AT&T Bell Laboratories Lines: 41 In article <16663@cup.portal.com> thad@cup.portal.com (Thad P Floryan) writes: [] "Note, also, that one should patch, per Lenny's comments, at least /lib/shlib "and /etc/smgr. On my systems I was unable to directly alter /etc/smgr since "it had some file(s) open, so I had to resort to the following: " " # cd /etc " # dstconvert smgr smgr-new " " shutdown the system (still powered-up), then: " " reboot from the Floppy Boot Disk (and Floppy Filesystem, being sure " to abort (using shift-ESC when asked the question about clobbering " the hard disk)), then: " " # cd /mnt/etc # which goes to the HD's /etc " # rm smgr # delete the old smgr having pre-1988 DST rules " # mv smgr-new smgr # rename the new smgr having new 1988 DST rules " # sync;sync;sync # assure disk buffers are flushed " # cd / # return to the floppy filesystem " " then remove the floppy disk and press the reset button (at the back of " the system) to reboot from HD. you can't rm the smgr, but you can mv it, even when it has open files! so the above condenses into: # dstconvert /etc/smgr /etc/smgr-new # mv /etc/smgr /tmp # mv /etc/smgr-new /etc/smgr (repeat for /lib/shlib and other files to be converted) # shutdown voila`! -- Andrew Hay +------------------------------------------------------+ Null Fu-Tze | LEARN HOW TO AVOID RIPOFFS! | AT&T-BL Ward Hill MA | SEND $5... | mvuxq.att.com!adh +------------------------------------------------------+