Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 09:54:22 +0100
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Nils Holland <nils@tisys.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Back to the future...
Message-ID:  <20020116095422.C19145@pcwin002.win.tue.nl>
In-Reply-To: <20020116094936.A1942@tisys.org>; from nils@tisys.org on Wed, Jan 16, 2002 at 09:49:36AM %2B0100
References:  <20020116094936.A1942@tisys.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--yNb1oOkm5a9FJOVX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

On Wed, Jan 16, 2002 at 09:49:36AM +0100, Nils Holland wrote:
> whenever I make world, I seem to have a "time problem" which is a little
> disturbing. Here's what happens:
>=20
> When I CVSup the latest sources, build them, then build & install a new
> kernel, reboot with the new kernel to single user mode, and once I am in
> signle user mode, run "make installworld", all the files that get install=
ed
> are dated one hour in the future. So, if I did this right now, at 9:42, a=
nd
> would then do, for exaple "ls -l /bin/ls", then I would see that ls was
> installed at 10:42.

IIRC, the filesystem uses the standard time_t to store the modified
time in. The time displayed by ls(1) depends on your timezone settings.

Try this:

env TZ=3DGMT+4 ls -l

and watch how the timestamp is 'updated'...

So, I think your problem is that your timezone isn't set correctly.
Do you have an /etc/localtime? If not, run tzsetup(8).

Of course, it's also possible that your clock is incorrect. See if you
can run ntpdate(8) or ntpd(8) to fix that.

HTH,

--Stijn

--=20
I really hate this damned machine
I wish that they would sell it.
It never does quite what I want
But only what I tell it.

--yNb1oOkm5a9FJOVX
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8RT++Y3r/tLQmfWcRAs6oAKCYzyi0KYiHzXNKitdOm03uA4ESTQCcCmvi
+YoX+vwV2bcureP5KUvtW+A=
=3CXt
-----END PGP SIGNATURE-----

--yNb1oOkm5a9FJOVX--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020116095422.C19145>