home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sun / misc / 5391 < prev    next >
Encoding:
Internet Message Format  |  1992-11-22  |  1.6 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!sixgun.East.Sun.COM!sungy!stasys!alanya!lupe
  2. From: lupe@ukw.uucp (Lupe Christoph)
  3. Newsgroups: comp.sys.sun.misc
  4. Subject: Re: How to Change the TimeZone in a Sparc
  5. Message-ID: <1992Nov22.230001.1490@ukw.uucp>
  6. Date: 22 Nov 92 23:00:01 GMT
  7. References: <1992Nov21.233351.1@ttd.teradyne.com>
  8. Sender: uucp@stasys.sta.sub.org
  9. Organization: cic
  10. Lines: 31
  11.  
  12. rice@ttd.teradyne.com writes:
  13.  
  14. >   Does anyone know how I can go about changing the TimeZone on a SPARC, 
  15. >without re-loading from scratch ? We're moving a machine from Chicago to
  16. >Tampa and it seems silly to have to re-load the O.S. just to change the
  17. >timezone.
  18.  
  19. >   I spent a couple of hours with the Docs and couldn't find it. 
  20.  
  21. No wonder, it's not there.
  22.  
  23. Do this:
  24.  
  25.     cd /usr/lib/zoneinfo
  26.     ls -i localtime
  27. This gives you the inode number for localtime. That file is just a hard link.
  28.     ls -id * */* | grep <inode>
  29. Gives you the other names of that file (just to see what is currently set).
  30.     rm localtime
  31.     ln US/Eastern localtime
  32. (Or whatever you want.)
  33.  
  34. If you repeat the procedure of looking for the inode number, you will
  35. find US/Eastern linked with EST5EDT, Jamaica, and posixrules.
  36. Why posixrules? I can't guess. Maybe POSIX is only valid on the
  37. east coast?
  38. -- 
  39. | ...!unido!ukw!lupe  (German EUNet, "bang")     |  Disclaimer:            |
  40. | lupe@ukw.UUCP       (German EUNet, domain)     |  This is an unofficial  |
  41. | suninfo!alanya!lupe (Sun Germany)              |  opinion of Christoph & |
  42. | Res non sunt complicanda praeter necessitatem. |  Imschweiler Consulting |
  43.