[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kipping remote directories in sinc
- To: linux-il@cs.huji.ac.il
- Subject: Re: kipping remote directories in sinc
- From: Shaul Karl <shaulk@israsrv.net.il>
- Date: Sun, 31 Oct 1999 23:58:47 +0200
- In-Reply-To: Message from Alex Shnitman <alexsh@hectic.net> of "Sat, 30 Oct 1999 17:49:21 +0200." <19991030174920.A19443@hectic.net>
- References: <Pine.SUN.3.95.991030011259.7956A-100000@libra.math.tau.ac.il> <19991030174920.A19443@hectic.net>
- Sender: linux-il-bounce@cs.huji.ac.il
>
> --lrZ03NoBR/3+SXJZ
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: quoted-printable
>
> On Sat, Oct 30, 1999 at 01:25:15AM +0200, Micha Feigin wrote:
>
> > I also might have a little problem with mirroring programs because
> > my local system clock is running to fast for some reson I didn't
> > have time to try and figure out, will this screw the process up? I
> > am supposed to buy a new computer though in the very near future, so
> > I am hoping it will solve the problem.
>
> Take a look at adjtimex if you want to solve this, you can use it to
> modify how fast your clock goes. It affects only the Linux kernel
> clock though. I don't know if your distribution does it but AFAIR
> Debian writes the Linux kernel clock to the CMOS clock on shutdown.
> You can add it to the scripts of your distro if it doesn't do it. Of
> course time will still go too fast when Linux isn't running, but if
> you run Linux on it all the time, that should solve the problem.
>
Isn't it is recommended to use adjtimex with hwclock (adjtimex for short time
errors, hwclock for fixing non random RTC clock drift) ?
If I got it right then The Clock Mini-HOWTO claims this method has good
results and is quite adequate for desk top machines. It should also help
correcting for the drift that was accumulating when the machine is off.
BTW: I believe /etc/init.d/hwclock.sh + /etc/rc[06].d/ shows that indeed
Debian writes the Linux kernel clock to the CMOS clock on shutdown.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il