From owner-freebsd-current Thu Feb 6 3:10:55 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67E0D37B401; Thu, 6 Feb 2003 03:10:53 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA53243F3F; Thu, 6 Feb 2003 03:10:51 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id WAA29753; Thu, 6 Feb 2003 22:10:44 +1100 Date: Thu, 6 Feb 2003 22:10:43 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: "Andrey A. Chernov" Cc: phk@freebsd.org, Subject: Re: Wrong date for DEVFS entries In-Reply-To: <20030206103144.GB12538@nagual.pp.ru> Message-ID: <20030206215533.T511-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 6 Feb 2003, Andrey A. Chernov wrote: > On Thu, Feb 06, 2003 at 11:27:36 +0100, phk@freebsd.org wrote: > > In message <20030206193118.T72545-100000@gamplex.bde.org>, Bruce Evans writes: > > >On Thu, 6 Feb 2003, Andrey A. Chernov wrote: > > > > > >> On Wed, Feb 05, 2003 at 23:44:08 +0100, phk@freebsd.org wrote: > > >> > > > >> > >2) Feb 6 01:36 (boot time) > > >> > >3) Feb 6 04:36 (+3 TZ future jump) > > >> > > > >> > These timestamps have been touched, and the clock has made a 3 hour > > >> > jump either forward or backward at some point. > > >> > > > >> > The problem is the clock jump, not DEVFS. > > >> > > >> Clock jump happens as it supposed when adjkerntz(8) corrects machine clock > > >> back to GMT via various CPU_* sysctl's. Could touched DEVFS stamps be > > >> fixed back to something useful in the same sysctl code too? > > > > > >This should be well known to devfs users. > > > > > >devfs sets at least some of the times before adjkerntz can run, and nothing > > >fixes them, so these times are wrong by the timezone difference. > > > > This is not any different from any other filesystem. > > No, it IS different - no real filesystems mounted at this point yet, so no > real timestamps damaged. More precisely: some are mounted, but they are mounted read-only (modulo the bug that adjkerntz is run a little after mounting filesystems read-write). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message