From owner-freebsd-questions@FreeBSD.ORG Tue Dec 11 05:49:43 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 D8E3C16A421 for ; Tue, 11 Dec 2007 05:49:43 +0000 (UTC) (envelope-from dnewman@networktest.com) Received: from mail.networktest.com (mail.networktest.com [207.181.8.134]) by mx1.freebsd.org (Postfix) with ESMTP id BA9A113C47E for ; Tue, 11 Dec 2007 05:49:43 +0000 (UTC) (envelope-from dnewman@networktest.com) Received: by mail.networktest.com (Postfix, from userid 1002) id EDFC178C57; Mon, 10 Dec 2007 21:49:42 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on mail.networktest.com X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.3 Received: from lion.local (cpe-75-82-195-55.socal.res.rr.com [75.82.195.55]) by mail.networktest.com (Postfix) with ESMTP id 29BC578C54 for ; Mon, 10 Dec 2007 21:49:36 -0800 (PST) Message-ID: <475E24EF.7040601@networktest.com> Date: Mon, 10 Dec 2007 21:49:35 -0800 From: David Newman Organization: Network Test Inc. User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: 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 05:49:43 -0000 -----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-----