From owner-freebsd-stable Fri Jan 21 8: 3:34 2000 Delivered-To: freebsd-stable@freebsd.org Received: from martens.math.ntnu.no (martens.math.ntnu.no [129.241.15.250]) by hub.freebsd.org (Postfix) with SMTP id 4D18414D14 for ; Fri, 21 Jan 2000 08:03:29 -0800 (PST) (envelope-from perhov@math.ntnu.no) Received: (qmail 25941 invoked by uid 29119); 21 Jan 2000 16:03:26 -0000 Date: Fri, 21 Jan 2000 17:03:25 +0100 (MET) From: Per Kristian Hove X-Sender: perhov@martens.math.ntnu.no To: Jim King Cc: Will Andrews , Marcin Cieslak , freebsd-stable@FreeBSD.ORG Subject: Re: Y2K wierdness?? In-Reply-To: <4.2.0.58.20000121093608.00a8b130@mail.sstar.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Jim King] | DOS epoch == UNIX epoch from the point of view of a C program using the C | RTL, but DOS's "native" epoch is 1/1/1980, and that's how you have to | interpret dates in msdosfs directory entries. Which directory entry? :-) The root directory entry for a msdosfs does not have a ".", so when stat()ing a msdosfs, the result is faked by the kernel. See msdosfs_lookup() in sys/msdosfs/msdosfs_lookup.c. Sorry, this doesn't belong in freebsd-stable. I'll shut up now. -- Per Kristian Hove Dept. of Mathematical Sciences, NTNU N-7491 Trondheim, Norway To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message