Networker

Re: [Networker] Setting SSID browse/retention to forever ?

2009-06-19 12:50:54
Subject: Re: [Networker] Setting SSID browse/retention to forever ?
From: A Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 19 Jun 2009 16:43:47 +0000
On Fri, Jun 19, 2009 at 11:01:58AM -0500, Len Philpot wrote:
> If not, what's the best approach to get the longest possible browse/retent 
> value on an existing saveset? The time values described in the nsr_getdate 
> man page are a bit strange if I'm reading it correctly. That is :
> 
> "If  a year is specified as a number in
> the range 70 and 99, 1900 is added.  If a  year  is  in
> the  range  00 and 30, 2000 is added.  The treatment of
> other years less than 100 is undefined."
> 
> How can I eg., just append 50 years to the current browse/retent dates of 
> an existing saveset? From that description, it looks like it's a max of 
> 30.

I assume they are storing dates a standard 32-bit timestamps, and that
will prevent you from passing the 2038 date.

$ perl -le 'print scalar gmtime 2**31-1'
Tue Jan 19 03:14:07 2038

If they're using 64-bit timestamps (or unsigned 32-bit ones), I missed
it.

-- 
Darren

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>