From owner-freebsd-questions@FreeBSD.ORG Tue Dec 11 06:12:17 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4DC716A46C for ; Tue, 11 Dec 2007 06:12:17 +0000 (UTC) (envelope-from elrap@web.de) Received: from fmmailgate02.web.de (fmmailgate02.web.de [217.72.192.227]) by mx1.freebsd.org (Postfix) with ESMTP id 92FD513C45A for ; Tue, 11 Dec 2007 06:12:17 +0000 (UTC) (envelope-from elrap@web.de) Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate02.web.de (Postfix) with ESMTP id 28E3DB91D1A3; Tue, 11 Dec 2007 07:12:16 +0100 (CET) Received: from [84.152.177.205] (helo=freebsdangel.de) by smtp07.web.de with asmtp (WEB.DE 4.108 #208) id 1J1yLn-0000ql-00; Tue, 11 Dec 2007 07:12:16 +0100 Message-ID: <475E2A78.8000800@web.de> Date: Tue, 11 Dec 2007 07:13:12 +0100 From: Tino Engel User-Agent: Thunderbird 2.0.0.6 (X11/20071110) MIME-Version: 1.0 To: David Newman References: <475E24EF.7040601@networktest.com> In-Reply-To: <475E24EF.7040601@networktest.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: elrap@web.de X-Sender: elrap@web.de X-Provags-ID: V01U2FsdGVkX1/BCaDF/GkLG9YY0rzxBdQL8YD1WDR2u+3DVPlJ 31ohuyS7D0an93znHMEaaUQGnldEw5m/6qu2em9EqNCVSzVPz4 CwVpWcdWs= Cc: freebsd-questions@freebsd.org Subject: Re: preserving device symlinks across reboots X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2007 06:12:17 -0000 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