EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: VxWorks TIMEZONE hack, anyone?
From: "Rees, NP \(Nick\)" <[email protected]>
To: <[email protected]>
Date: Thu, 29 Sep 2005 09:49:29 +0100
Steve,

/usr/sbin/zdump -v /etc/localtime

... on my Linux box seems to produce some data that a hacker could
easily use to produce the string you want.

Cheers,

Nick Rees
Principal Software Engineer           Phone: +44 (0)1235-778430
Diamond Light Source                  Fax:   +44 (0)1235-446713

-----Original Message-----
From: Steve Lewis [mailto:[email protected]] 
Sent: 28 September 2005 21:40
To: [email protected]
Subject: VxWorks TIMEZONE hack, anyone?


Does anyone have a convenient way to construct the value for the 
VxWorks TIMEZONE environment variable?  It looks something like this

"TIMEZONE=PDT::480:040305:103005"

Sun's have this information embedded into their timezone files in 
/usr/share/lib/zoneinfo.  However, it's in binary form...does anyone 
have a whizbang utility for extracting this and formatting a string?

A Linux variant would also be useful...

-- 
______________________________________________________________
Stephen A. Lewis                        |
Linac Coherent Light Source             | [email protected]
Lawrence Livermore National Laboratory  | Tel: 925.423.4751
7000 East Ave, L-210                    | FAX: 925.423.1488
Livermore, CA 94550                     | http://www.llnl.gov


Navigate by Date:
Prev: Re: VxWorks5.5 on MVME230x doesn't reestablish broken N/W link Andreas Isenegger
Next: Re: VxWorks TIMEZONE hack, anyone? Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: VxWorks TIMEZONE hack, anyone? Andrew Johnson
Next: Channel access problem on cygwin IOC Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·