[ntp:questions] Re: Suppressing IP6; Keeping /dev/ppsX; simple MSF clocks and monitors

Chris Hastie chris at nospam.oak-wood.co.uk
Fri Nov 21 18:25:00 UTC 2003

In message <bpjjug$ojq$1 at hedeland.org>, Per Hedeland <per at hedeland.org>
>In article <iojTDbCm8Hv$EwLf at nospam.oak-wood.co.uk> Chris Hastie
><chris at nospam.oak-wood.co.uk> writes:
>>Maybe this is an OS / resolver config problem rather than ntpd. I'm
>>using 4.2.0 on FreeBSD 5.1
>>I'd soft linked /dev/pps1 to /dev/ttyd0, but this link didn't survive
>>the reboot, resulting in ntpd complaining about the lack of /dev/pps1.
>>Should it have survived the reboot? If not is there a way to ensure it
>>does? If not, what's the sensible way around this - edit
>>/usr/local/rc.d/ntpd.sh to create it just before ntpd starts?
>FreeBSD 5.x uses devfs (man 5 devfs; man 8 devfs) which among many other
>things means that /dev is "created" afresh on each boot. /etc/rc.devfs
>is probably the "proper" place to create that link. (At least unless
>some more "sophisticated" support via /etc/rc.conf has been added in 5.1
>- I'm still at 5.0.)

Thanks. I've had a look at this and it seems the following line added to
/etc/devfs.conf should do the trick in 5.1:

link ttyd0 pps1
Chris Hastie

More information about the questions mailing list