Date: Tue, 11 Dec 2007 07:13:12 +0100 From: Tino Engel <elrap@web.de> To: David Newman <dnewman@networktest.com> Cc: freebsd-questions@freebsd.org Subject: Re: preserving device symlinks across reboots Message-ID: <475E2A78.8000800@web.de> In-Reply-To: <475E24EF.7040601@networktest.com> References: <475E24EF.7040601@networktest.com>
next in thread | previous in thread | raw e-mail | index | archive | help
David Newman schrieb: > -----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----- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > Check out 'man devfs.conf' Greez, Tino
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?475E2A78.8000800>