Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2004 14:30:44 -0700
From:      kent <kstewart@owt.com>
To:        freebsd-questions@freebsd.org
Cc:        Markie <mark.cullen@dsl.pipex.com>
Subject:   Re: installworld touch: not found
Message-ID:  <200409291430.44231.kstewart@owt.com>
In-Reply-To: <001901c4a669$68cd5300$f700000a@ape>
References:  <000b01c4a663$d40a8990$f700000a@ape> <200409291348.33092.kstewart@owt.com> <001901c4a669$68cd5300$f700000a@ape>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 29 September 2004 02:15 pm, Markie wrote:
> ----- Original Message -----
> From: "kent" <kstewart@owt.com>
> To: <freebsd-questions@freebsd.org>
> Cc: "Markie" <mark.cullen@dsl.pipex.com>
> Sent: Wednesday, September 29, 2004 9:48 PM
> Subject: Re: installworld touch: not found
>
> | On Wednesday 29 September 2004 01:35 pm, Markie wrote:
> | > Hi,
> | >
> | > I just got this error when I went to installworld on my laptop. Google
>
> came
>
> | > up with an incorrect time/date and unmounted NFS, but my date and time
>
> are
>
> | > correct and I am not using NFS. I changed newvers.sh to /usr/bin/touch
> | > instead and it's working, is this safe to do? Will I encounter any
>
> weird
>
> | > problems? Never had this problem before...
> |
> | I won't comment on what you did as a fix.
>
> Oops! I guess it wasn't the greatest idea in the world then? You can call
> me stupid, I don't mind :) It seems to be running fine... but if I really
> shouldn't have done that can I just do another buildworld?

Touch is important to the system and you really don't want to run newver.sh 
instead of it.

>
> | Another possibility is that you are running a cmos clock with local time.
>
> You
>
> | need to run "adjkerntz -i" before you do anything. See /usr/src/UPDATING
>
> What am I looking at in UPDATING? I don't see anything recent related to
> adjkerntz... but I just ran it anyway. Should it have changed my time or
> date? It didn't seem to do much?

If you are running wall clock time, it sets your timezone so that the system 
knows the UTC creation time of the src. The touch problem usually occurs 
because something you have created appears to be older than code you imported 
using cvsup. When you set the timezone, the imported source code is now older 
than the created file and make is happy.

Look at UPDATING and do a search on adjkerntz. You will find it in 1 or 2 
attempts.

Kent

>
> | Kent
> |
> | --
> | Kent Stewart
> | Richland, WA
> |
> | http://users.owt.com/kstewart/index.html
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



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