[ntp:questions] ntpd -n?

Tom Smith smith at cag.zko.hp.com
Thu Jan 17 02:39:46 UTC 2008

Danny Mayer wrote:
> Tom Smith wrote:
>> Tom Smith wrote:
>>> I'm wondering about the function/purpose of the "-n" option
>>> for ntpd. I've found it in some Linux ntpd startup scripts
>>> and I'm wondering if it is really intended to be there.
>>> My recollection is that both "-n" and "-N" first appeared
>>> in the late runup to 4.1 and that "-n [prio]" originally set
>>> the priority of ntpd. I also recall that this was later changed
>>> to "-N [prio]" and then just "-N", but my recollection is
>>> a little fuzzy.
>>> "-n" is now documented as "Don't fork". I'm not sure I know
>>> exactly what that means, but more importantly, I'm wondering
>>> if the startup scripts that are using it are actually intending
>>> to raise the priority of ntpd and should now be using "-N".
>>> -Tom
>> Never mind. Mystery solved. Cockpit error.
> Perhaps what it should have said is "don't daemonize".
> Danny

Yes, that might be more self-explanatory.

Tom Smith                       smith at alum.mit.edu,smith at cag.zko.hp.com
Hewlett-Packard Company                          Tel: +1 (603) 884-6329
110 Spit Brook Road ZKO1-3/D40                   FAX: +1 (603) 884-6484
Nashua, New Hampshire 03062-2698, USA           Mobile: +1 978 397 3411

More information about the questions mailing list