From owner-freebsd-current Wed Apr 3 06:30:48 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA24838 for current-outgoing; Wed, 3 Apr 1996 06:30:48 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [144.206.136.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA24824 for ; Wed, 3 Apr 1996 06:30:36 -0800 (PST) Received: by sovcom.kiae.su id AA06724 (5.65.kiae-1 ); Wed, 3 Apr 1996 17:22:04 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Wed, 3 Apr 96 17:22:04 +0300 Received: (from ache@localhost) by astral.msk.su (8.7.5/8.7.3) id SAA04539; Wed, 3 Apr 1996 18:06:30 +0400 (MSD) Message-Id: <199604031406.SAA04539@astral.msk.su> Subject: Re: adjkerntz (was: cvs commit: src/usr.sbin/tzsetup ...) To: j@uriah.heep.sax.de (J Wunsch) Date: Wed, 3 Apr 1996 18:06:30 +0400 (MSD) Cc: freebsd-current@FreeBSD.org In-Reply-To: <199604021755.TAA10217@uriah.heep.sax.de> from "J Wunsch" at "Apr 2, 96 07:55:56 pm" From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL14 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > As =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote: > > msdosfs? MSDOS' idea of a timezone is broken by design (i.e., it > doesn't have an idea about it at all). Someone in Australia could It have an idea: local time zone. Win3*/Win95 have the similar idea. > send a file with a DOS timestamp to somebody in California across the > Internet, and the recipient will see a file that appears to be written > ``in the future''. It fixed in some communication packages like DOS Zmodem from Omen. They use timezone offset variable. > I don't see how adjkerntz should fix it. Since DOS files don't have > an explicit timezone, you can imply any time zone you want, so > applying the kernel's idea (UTC) seems to be most logical. (Note that > this might conflict with the idea of your local DOS, but applying the msdosfs use adjkerntz kernel variable to calculate local timezone for DOS files, check msdosfs sources. adjkerntz kernel variable maintained by adjkerntz uility. I plan to run adjkerntz utility in any case, i.e. for UTC clock too without touching RTC or kernel time but maintain adjkerntz kernel variable only for msdosfs and similar filesystems with local timezone. > localtime does as well conflict with the idea of any other DOS not > running in *your* localtime zone.) Proper DOS/Windows software sends timezone offset of your DOS with any file times. > To be honest, even in cases where i run DOS every now and then, i > simply don't care for its broken idea of a timezone. I live with it > running in UTC then. Your choice. If you'll run Win95 on the same computer (like I do) and use Internet connection to ouside world, you don't think so. -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849