preserving device symlinks across reboots
David Newman
dnewman at networktest.com
Mon Dec 10 21:49:43 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
To use ntpd with an HP GPS receiver on RELENG-6.2, I have a symlink from
the first serial port to the HP GPS device:
somehost# ls -l /dev/hpgps0
lrwxr-xr-x 1 root wheel 10 Dec 1 21:06 /dev/hpgps0 -> /dev/cuad0
This works fine since the GPS receiver is attached to cuad0.
Problem is, this symlink disappears whenever a reboot is needed, for
example after patching the kernel.
How best to preserve the symlink across reboots? I created an rc.local
file making a new symlink, but maybe there's a better way.
thanks
dn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFHXiTvyPxGVjntI4IRAtEZAKDyOsiRL1ilB3yUwGGH79IeZ65l6QCgrc2V
OfqdzIvR9ua1kVtD+bdCzRc=
=pfFP
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list