From owner-freebsd-arch Thu Oct 25 17:20:31 2001 Delivered-To: freebsd-arch@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 1840137B406 for ; Thu, 25 Oct 2001 17:20:29 -0700 (PDT) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.4) id f9Q0KQR63759; Thu, 25 Oct 2001 20:20:26 -0400 (EDT) (envelope-from wollman) Date: Thu, 25 Oct 2001 20:20:26 -0400 (EDT) From: Garrett Wollman Message-Id: <200110260020.f9Q0KQR63759@khavrinen.lcs.mit.edu> To: peter@wemm.org Cc: arch@FreeBSD.org Subject: Re: 64 bit times revisited.. In-Reply-To: <20011025233602.587C63808@overcee.netplex.com.au> Organization: MIT Laboratory for Computer Science Cc: Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20011025233602.587C63808@overcee.netplex.com.au> you write: >Possible solutions: >1) Do nothing. (This worked well for Y2K consultants between 1995-2000) >2) Use 64 bit time_t on new 64 bit platforms. >2) Switch to 64 bit time_t on 64 bit platforms. >3) Switch to 64 bit time_t on everything including i386. V) Do what the Large File Summit did for off_t: define 32- and 64-bit versions of every interface that uses a time_t, and let a preprocessor macro switch between them. Allow five years for migration, at which point the 32-bit option is removed. On new platforms (regardless of native word size), use the 64-bit versions. Meanwhile, start deploying a new inode format with 64-bit times. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message