Re: preserving device symlinks across reboots

2007-12-10 Thread Peter Boosten
On Tue, December 11, 2007 06:49, David Newman wrote:


 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.


Have a look at /etc/devfs.conf

man 5 devfs.conf

Peter

-- 
http://www.boosten.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: preserving device symlinks across reboots

2007-12-10 Thread Tino Engel

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 [EMAIL PROTECTED]

  

Check out 'man devfs.conf'

Greez, Tino
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]