From owner-freebsd-questions@FreeBSD.ORG Fri Mar 26 10:24:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0C921065675 for ; Fri, 26 Mar 2010 10:24:49 +0000 (UTC) (envelope-from glimp@live.com) Received: from blu0-omc4-s19.blu0.hotmail.com (blu0-omc4-s19.blu0.hotmail.com [65.55.111.158]) by mx1.freebsd.org (Postfix) with ESMTP id B47278FC1B for ; Fri, 26 Mar 2010 10:24:49 +0000 (UTC) Received: from BLU0-SMTP92 ([65.55.111.136]) by blu0-omc4-s19.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 26 Mar 2010 03:24:48 -0700 X-Originating-IP: [151.49.231.39] X-Originating-Email: [glimp@live.com] Message-ID: Received: from aodai.collidiamo.net ([151.49.231.39]) by BLU0-SMTP92.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Fri, 26 Mar 2010 03:24:47 -0700 Date: Fri, 26 Mar 2010 11:24:14 +0100 From: daniele User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.8) Gecko/20100302 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201003260137.o2Q1bXBr094059@banyan.cs.ait.ac.th> In-Reply-To: <201003260137.o2Q1bXBr094059@banyan.cs.ait.ac.th> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Mar 2010 10:24:47.0979 (UTC) FILETIME=[8FB4A3B0:01CACCCE] Subject: Re: ooops ! 'ls' & "last modified" column X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2010 10:24:50 -0000 On 03/26/10 02:37, Olivier Nicole wrote: > Hi, > >> I just finished installing FreeBSD on a "machine" whose CMOS time is not >> set to UTC. >> >> The System time is reported correctly (using 'date') but, suprisingly >> (?), 'ls -la' reports that, among others, the files belonging to "the >> skeleton" in the user home have been modified... in the future (1 hour >> later) ! > > Wait one hour :) > > I had a stange behaviour with some release of FreeBSD (around 7). > > We are 7 hours ahead of UTC; after a fresh install I usually do a > system upgrade to be sure to be up with every patches. > > It occured to me a couple of times that the installworld would not > work, even though I adjkerntz before. The only way I had was to change > the CMOS clock to the local time and change it back to UTC aftergive > installing world. > > Of course, after 7 hours the problem would disappear. > > Bests, > > Olivier Hi, Thank you for your interest in my question and related answer :-) I did not have any problem during the installation or the following start-up. I just noticed those "strange" timestamps. But I think that now I understand the behaviour of the installation process (at least in FreeBSD 8.0-Release) as for the timestamps. Basically it is simple: when booting for installation, the system silently (?) thinks the CMOS time is set to UTC and uses the user input for setting _a_ local time. Then it "happens" this local time is the timestamp for _some_ newly created files. After all files have been copied the actual configuration of the clock occurs so that the newly created system will report the correct local time. Later, when the new system boots up, in some cases one can find timestamps in the future for _some_ files and a correct local time. :-) If something (but the local time :-)) is not correct , feel free to send a feedback d