[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ntp
From: |
James Morrison |
Subject: |
Re: ntp |
Date: |
Fri, 9 Aug 2002 16:56:13 -0700 (PDT) |
--- Roland McGrath <roland@frob.com> wrote:
> We have adjtime, but not adjtimex. Anything that thinks it needs nlist for
> anything is definitely wrong. Look into what that's about.
>
>
Here is what I should have sent to begin with:
/*
* tickadj - read, and possibly modify, the kernel `tick' and
* `tickadj' variables, as well as `dosynctodr'. Note that
* this operates on the running kernel only. I'd like to be
* able to read and write the binary as well, but haven't
* mastered this yet.
*/
Here is the usage:
fprintf(stderr, "Usage: %s [tick_value]\n", argv[0]);
When it can't use adjtimex it tries to open /dev/kmem and alter it using
an nlist. There seems to be another way, but it looks to be even more hackish
than using the nlist.
=====
James Morrison
University of Waterloo
Computer Science - Digital Hardware
2A co-op
http://hurd.dyndns.org
Anyone referring to this as 'Open Source' shall be eaten by a GNU
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
- ntp, James Morrison, 2002/08/09
- Re: ntp, Roland McGrath, 2002/08/09
- Re: ntp,
James Morrison <=
- Re: ntp, Roland McGrath, 2002/08/09
- Re: ntp, James Morrison, 2002/08/09
- Re: ntp, Niels Möller, 2002/08/11
- Re: ntp, Thomas Bushnell, BSG, 2002/08/11
- Re: ntp, Roland McGrath, 2002/08/11