[PATCH 2/2] NTPD: Allow stratum 1 behavior

Denys Vlasenko vda.linux at googlemail.com
Mon Oct 4 22:44:56 UTC 2010


On Monday 04 October 2010 08:25, Jean-Christophe Dubois wrote:
> le lundi 4 octobre 2010 Denys Vlasenko a écrit
> > On Sunday 03 October 2010 18:24, Jean-Christophe DUBOIS wrote:
> > > Allow busybox to act as a stratum 1 server if no peer is
> > > specified on the command line.
> > > 
> > > This allow busybox to act as a time reference in an isolated
> > > network where it is not possible to reach a real stratum
> > > server through the IP network.
> > > 
> > > For this feature to work correctly the busybox system needs
> > > to be synchronized to a real time source through other means
> > > like for example a GPS device.
> > 
> > Why do you want this to be a config option? It can be just
> > a permanently enabled feature, right?
> 
> Well I was not sure everybody would:
> - agree with the feature (is it right to claim by default you are a stratum 
> 1?)

No one forces them to run ntpd witl -l but without -p PEER.
If someone wants different default stratum, they will say so on ml,
and maybe an option to set it will be added.

> - need the feature
> - happy with the small code it is adding
> 
> So making it optional was allowing people to add the feature only if they 
> needed it.

Since the amount of code is really small - 26 bytes,
I think config option for it is not necessary.

-- 
vda


More information about the busybox mailing list